Questions tagged [lid]

For questions regarding what Ubuntu does when you physically open or close a laptop or clamshell style computer. Common subjects are suspending/hibernation, and locking.

Filter by
Sorted by
Tagged with
0 votes
0 answers
11 views

Keep Bluetooth Turned on while laptop goes on Sleep Mode

I just want my laptop to go in Sleep mode while keeping the Bluetooth turned on. Keeping the whole system on while the lid is closed, it drains battery pretty fast!! Is there any way to do so???
user avatar
  • 81
0 votes
0 answers
23 views

Power Off Prompt when starting to close the Lid

At work, I just got the laptop from a colleague (more powerful than the one I used before). I installed Ubuntu 22.04 on it. Everything is fine, excepted than as soon as I move the screen towards me, I ...
user avatar
  • 101
0 votes
1 answer
73 views

Inspiron 15 3525 w/new Ubuntu install won't turn on after closing lid

A dear friend, disabled Vietnam vet, had to replace his old computer, and bought a Dell Inspiron 15 (3525) and asked me to put Ubuntu on it. After a somewhat fraught install process (BIOS in this ...
user avatar
1 vote
0 answers
209 views

Any Ubuntu 22.04 software freezes every time the laptop lid opens

I have a Toshiba Satellite A305-S6905 whose previous software was Ubuntu 22.04 and is currently running on Ubuntu Budgie 22.04 and every time I try to open the laptop lid, It freezes no matter what. I ...
user avatar
0 votes
0 answers
48 views

Black screen after shutting lid on Ubuntu

When I close the lid on my HP computer and re-open it then screen remains black and no matter what button I press - I always have to resort to holding the powerbutton down for 10 seconds to shutdown ...
user avatar
0 votes
0 answers
52 views

Mi Notebook Pro (Ubuntu 20.04) does not turn back on after lid open

Installed Ubuntu 20.04 (LTS) on my new Mi Notebook Pro (14", Core-i5, 16/512GB, Iris Xe graphics). It does suspend when the lid is closed but not turning back on once the lid is opened. I tried ...
user avatar
0 votes
0 answers
59 views

Use pm-suspend instead of suspend on lid close

From testing on my Ubuntu 20.04 Thinkpad P51 laptop (Quadro M1200 running proprietary driver 510.39.01), systemctl suspend will only suspend for a few seconds then wake again, while sudo pm-suspend ...
user avatar
  • 2,393
0 votes
0 answers
39 views

Dell Latitude 5289 wakes-up from suspend on volume keypress, despite lid is closed

I've just installed Ubuntu 21.10 on a convertible laptop Dell Latitude 5289. Moreover, I've switched to TLP, which helps a lot in saving battery life. Everything works fine, except for an annoying ...
user avatar
  • 99
0 votes
0 answers
47 views

Laptop Lid Behaviour

I want my laptop running Ubuntu Server 20.04.3 LTS to not shut off when closing the lid. All the answers I've found involve the GUI which I do not have. Is there a command to change this?
user avatar
0 votes
0 answers
54 views

My laptop doesn't power off after shutdown

I used to have ubuntu installed alongside Windows 10 in dual-boot, but after Windows stopped working, I re-installed Ubuntu 20.04.3 LTS from scratch, erasing Windows. The problem I have been facing is ...
user avatar
  • 1
0 votes
1 answer
330 views

Ubuntu 20.04.3 with issues in Acer Nitro 5 with Ryzen 7 (Lagging/freezing UI response to I/O, lid closing behavior)

I've recently bought an Acer Nitro 5 laptop with AMD Ryzen 7 4800H and GTX 1650Ti,that came with Windows 10 as its operating system, and installed Ubuntu 20.04.3 to it, in a dual boot configuration. ...
user avatar
0 votes
1 answer
158 views

Can't ping or remote connect to Ubuntu 18.04 when I close computer lid

I've set up an old laptop (dell e6330) with Ubuntu 18.04 Desktop. I want to be able to stash the machine in a closet but be able to have it continue to run as a server and also be able to remote ...
user avatar
0 votes
1 answer
99 views

Laptop randomly thinks lid is closed

I have an issue whereby my laptop randomly turns my screen off or logs me out. From /var/log/auth.log it seems that the system thinks the lid is closed: Sep 15 09:36:44 michael-Latitude-7280 systemd-...
user avatar
  • 33
0 votes
0 answers
36 views

Screen does not go blank when lid is closed

I've recently installed Ubuntu 20.04.3 on a new Dell Vostro 3500 (11th gen processor). I was previously using 20.04.2 on an older Inspiron. On my old laptop, when I shut the lid, the screen would ...
user avatar
0 votes
0 answers
50 views

Black screen with unblinking cursor on sleep [duplicate]

I have a Lenovo Ideapad 310 wit an NVIDIA 920M graphics card. I recently dual booted Ubuntu and I didn't have any problems. I've never put my laptop to sleep nor closed the lid without shutting it ...
user avatar
  • 1
5 votes
1 answer
988 views

How do you disable the Laptop Lid Switch in Ubuntu 20.04? [duplicate]

Is there a way to just stop the OS from using the Laptop Lid Switch all together, regardless of what you want to happen? If not, I want to close the lid and open it with out having to log back in.
user avatar
  • 61
1 vote
0 answers
127 views

Refresh rate slows to 1 FPS/ unusable when I close the lid on my laptop Dell Precision 7530 and use external monitors after upgrade to Ubuntu 21.04

After upgrade from Linux Ubuntu 20.10 to Ubuntu 21.04 on a Dell Precision 7530, with Nvidia drivers correctly installed and reporting correctly using recommended nvidia-driver-470. With a laptop lid ...
user avatar
0 votes
0 answers
54 views

Lid switch bouncing for ThinkPad laptop Ubuntu 18.04

I have a Lenovo Thinkpad T540p with Ubuntu 18.04 and when I manually suspend the laptop & then close the lid, the laptop actually resumes. Looking through the side of the lid, I can see the screen ...
user avatar
  • 101
0 votes
1 answer
154 views

Dell XPS 9310 2 in 1 will not suspend on lid close

I'm running Ubuntu 20.04.2, kernel 5.8.0-59-generic on an XPS 9310. I've come across a number of questions related to the inability to wake from a suspended state, but I'm having the exact opposite ...
user avatar
1 vote
0 answers
1k views

How to configure lid close action as hibernate in Ubuntu 20.04?

I want to configure my laptop (ASUS UX461UN) to go to hibernate when I close the lid. I tried 3 basic suggestions that I saw as a result of my research. Run command sudo -H gedit /etc/systemd/logind....
user avatar
1 vote
0 answers
80 views

Ubuntu won't completely ignore lid closing

TLDR: I've tried changing both logind and upower configuration files to ignore lid closing action and it still keeps detecting it and acting on it. I'm trying to use an old laptop as a local Plex ...
user avatar
  • 11
0 votes
1 answer
242 views

Cannot disable airplane mode on laptop with faulty lid sensor

Problem : Unable to disable airplane mode. It says use hardware switch to turn off. OS : Ubuntu 20.04.1 LTS Laptop Model : HP 15 r074tu Description : The lid sensor of of laptop is not working. In ...
user avatar
1 vote
0 answers
117 views

WoL while laptop lid is closed

Hope you can help me with this problem. Namely, I have an old Asus laptop that I use as my home server. It's runnung Ubuntu Server LTS 20.04. I'm able to suspend it and wake it up by using $systemctl ...
user avatar
  • 11
1 vote
0 answers
48 views

MacBook Air Locks up After Closing Lid: 20.04

Details: Power button must be depressed for 10 seconds to recover (reboot) Unsaved data is lost Lockup happens after several minutes of closure The battery drains during this lockup and the laptop ...
user avatar
0 votes
1 answer
83 views

Lenovo S1 Yoga Lid Switch Disables Keybord and Trackpad

Just installed LTS 20.04 on my Lenovo S1 Yoga. I have found though that the keyboard and mouse suspend when in laptop mode, and activate when in tablet mode. Is there a way to reverse the effect of ...
user avatar
0 votes
1 answer
679 views

Ubuntu 20.04. laptop closed lid issue

I am solving a minor issue with my Ubuntu 20.04. Focal fossa. This might be relevant for all users using a laptop closed aside with an external display. Whenever I shutdown or reboot the computer (...
user avatar
3 votes
3 answers
1k views

Dell Laptop Won't Suspend When Lid Closed (Ubuntu 20.04.1 LTS)

So here are the things related with my problem: I uncommented these lines $ grep -v '^#' /etc/systemd/logind.conf [Login] HandleLidSwitch=suspend HandleLidSwitchExternalPower=suspend ...
user avatar
  • 29
0 votes
0 answers
65 views

My laptop turns ON when I close the lid

I have a really strange problem that my laptop turns on automatically when I close the lid after being shutdown. I use 20.04.1 LTS on DELL Latitude-7310. Does anyone know the solution?
user avatar
0 votes
1 answer
325 views

Ubuntu 20.04.1 - Laptop - suspension stops music

I have a Samsung laptop that I maintain plugged and charging all night, and at the same time, I use VLC to listen some relaxing music to sleep. If I close the lid, the music stops after a minute. If I ...
user avatar
2 votes
0 answers
146 views

Laptop not suspending on lid close

I have a Dell Inspiron 5570 with Ubuntu 20.04.1 and an external monitor and I have followed many articles, used gnome tweaks and more but my laptop will not suspend on the closing of the lid but it ...
user avatar
  • 33
2 votes
0 answers
377 views

Airplane mode turns on automatically after closing the lid

I am using an HP 15-da1058TU laptop with Ubuntu 20.04 LTS. Now whenever I close the lid, the airplane mode turns on automatically, and wifi and all services stop working. But I don't want this and ...
user avatar
3 votes
2 answers
2k views

How turn off External Display, on closing lid in Ubuntu 20.04

I believe that there are a lot of questions asking the other way around. However for me, on closing my laptop's lid the external monitor is still running which I would like it to stop continuing to ...
user avatar
1 vote
0 answers
746 views

Configure closing the lid to suspend the laptop when an external monitor is used

When I use an external monitor the laptop does not automatically suspend when I close the lid. Instead the external monitor is then still in use. I want to configure ubuntu in such a way that the ...
user avatar
  • 361
4 votes
2 answers
4k views

Ubuntu thinkpad e15 gen2 lid and fn keys not working

I just got the thinkpad e15 gen2 (amd) and I installed ubuntu 20.04 lts on it and I can't seem to be able to get the fn keys working nor can I get the laptop to suspend when closing the lid. For the ...
user avatar
  • 43
0 votes
1 answer
63 views

JS script to inhibit sleep when lid is closed not working. File descriptor managing problem or else?

I'm trying to develop an extension for gnome, that allows me to inhibit system sleep when the lid is closed directly from the status bar without having to open tweaks. Till now, I have a basic js ...
user avatar
  • 61
0 votes
0 answers
108 views

Manufacture logo shown instead of the login screen when booted with an external monitor

Background: I have always been frustrated with the way Ubuntu handles laptop's lid behaviour while connected to an external monitor. This was also an issue with my previous installation of Ubuntu 16 (...
user avatar
  • 410
0 votes
1 answer
112 views

Disable mouse when lid is closed

How do I disable the mouse when the lid is closed? Sometimes my mouse gets moved around when carrying it, and it ends up clicking and moving around and creating a mess.
user avatar
1 vote
2 answers
1k views

Ubuntu 20.04 LTS Screen Lock not working randomly

I recently updated to 20.04 LTS and I've been having some trouble with lock screen. When I close the lid it is configured to suspend and lock and the suspend part is ok but when I open the lid, most ...
user avatar
1 vote
0 answers
154 views

lm_lid doesn't run when lid closed

I have an xps 15 7590 laptop with ubuntu 20.4 and I'm using a displaylink driver that has a problem that when the laptop lid is closed the computer become so laggy it's unusable: https://github.com/...
user avatar
7 votes
1 answer
6k views

20.04 LTS Since upgrade from 19.10 laptop doesn't suspend anymore after lid close

My Lenovo P50 laptop used to suspend nicely when I closed the lid on Ubuntu 19.10. After the upgrade this doesn't work anymore. When I execute the command sudo systemctl suspend then the laptop still ...
user avatar
  • 581
2 votes
2 answers
4k views

Close lid without suspend

How can you make it so when the laptop lid is closed, the PC doesn't suspend or lock but just turn off the display so that I don't have to log back in. I have tried changing the lid close action to ...
user avatar
  • 2,331
2 votes
0 answers
654 views

Ubuntu lag second monitor after laptop lid closed

I just have upgraded from Ubuntu 19.10 to 20.04 and everything works so far. Only problem that I have now is, when my laptop (Lenovo P50 with Quadro M1000M) is connected to an external monitor in ...
user avatar
  • 121
2 votes
0 answers
230 views

18.04 can only resume from suspend by pressing power button

I'm having issues resuming my laptop from suspend running Ubuntu 18.04. I can put the laptop into suspend in 3 ways: by pressing the power button, by running the "suspend" command from search, or by ...
user avatar
0 votes
1 answer
68 views

Closing the lid won't suspend my laptop

I have an ASUS TUF FX505GD, and when I close the lid it won't suspend. The catch is, the lid worked some days ago and now when I close the lid my computer just bugs, the screen maintains black, the ...
user avatar
0 votes
0 answers
43 views

Wake up a laptop that which has Lubuntu server installed

My samsung NC10 laptop has Lubuntu server installed, after its lid is colsed, I cant wake it up by anyway. That time, I cant control it over ssh, cant use Magic SysRq, or even cant shutdown by long ...
user avatar
  • 505
13 votes
4 answers
5k views

Ubuntu Studio 20.04 freezes everything but mouse after lid closes and opens

(¿Could anybody please bounty this? I have been having this issue since march) As title says; I recently installed Ubuntu Studio 19.10 Eoan (Now upgraded to Ubuntu Studio 20.04 Focal Fossa, still ...
user avatar
0 votes
2 answers
1k views

HP laptop goes into AIRPLANE mode after suspend.How to fix it?

I recently added Ubuntu 18.04 alongside Windows 10 to my laptop (HP pavilion 15 ab032tx). Everything works fine except: When I close the lid, then later reopen it, Ubuntu goes into airplane mode and ...
user avatar
1 vote
0 answers
143 views

Ubuntu 18.04 Suspends only after lock

it looks like my installation of Ubuntu is having some issues with the order of operations. Whenever I try to suspend the system using the systemctl suspend command or by closing the lid after ...
user avatar
  • 11
1 vote
2 answers
2k views

Closing lid doesn't suspend on 19.10 [duplicate]

Ever since I upgraded to 19.10, when I close the lid the laptop doesn't suspend anymore. It doesn't even lock the screen. It almost seems like the OS isn't picking up the close lid event. If I press ...
user avatar
2 votes
1 answer
716 views

Laptop -> Disable internal screen on lid close / docking station

I am an absolute noob on Linux/Ubuntu, so please excuse if this is a silly question... I am using a Lenovo ThinkPad T450 in a docking station with two external screens connected to displayport. The ...
user avatar