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.

The "lid" of a laptop or clamshell style computer is the top portion of the device, typically housing the display and camera.

This tag is for questions regarding what Ubuntu does or does not do upon opening or closing the "lid" of the computer.

169 questions
55
votes
3 answers

Ubuntu 17.10 and later: Don't suspend when lid is closed, just lock screen

Since my upgrade to Ubuntu 17.10 there's no option in the settings about what to do when the notebook-lid is closed any more. Before this function had the options "do nothing" and "suspend" and maybe "shutdown". The "do nothing" function did…
user755218
15
votes
4 answers

Python program starts running again after pc wakes up?

I am running a python program that takes a few hours to complete. If I close the lid of my laptop (ie I put it to sleep), will the program start again when I reopen my laptop? It's been a few hours already and I have to leave soon (so I need to…
BourbonCreams
  • 313
  • 3
  • 12
14
votes
5 answers

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 having the same exact issue) on my Toshiba Satellite…
12
votes
3 answers

Unable to wake with external keyboard while lid is closed

I have Ubuntu 16.04 on my Acer Aspire 7750G laptop connected to an external monitor with the built-in screen disabled. I also have an external keyboard and mouse connected to the laptop. When I suspend the laptop with the laptop lid open I am able…
darksmurf
  • 272
  • 3
  • 11
11
votes
1 answer

Lid Closed Suspend then Hibernate

I would love for the lid closing behavior to "suspend" for a certain amount of time (1 or 2 hours) and then "hibernate" to save battery. Is there a way to change the settings of "suspend" so that it go into "hibernate" after some time? Thank you!
10
votes
1 answer

Catch lid close and open events

I tried to write a script like this suggestion: How do I configure the screen to lock when I close the lid? I created a directory and a new script file: mkdir /etc/acpi/local gksudo gedit /etc/acpi/local/lid.sh.post The file…
rubo77
  • 34,024
  • 52
  • 172
  • 299
9
votes
0 answers

Logind.conf HandleLidSwitchDocked

I've been trying to do a clamshell mode setup for my computer and I've seen many suggestions to use HandleLidSwitch=ignore. However this is not really what I want to do since I only want to keep the computer on if it is connected to a monitor. …
vosmith
  • 191
9
votes
1 answer

How can I tell Ubuntu 18.04 to do nothing when I close my laptop lid?

Power Change options in dconf-editor I want my laptop to do nothing when I close the laptop lid. I found these options in dconf-editor for the laptop to do 'nothing'. However, the laptop still goes to suspended mode after I close the lid. What did…
8
votes
1 answer

Closing lid problem

When I close lid and then I open it black screen appears (display seems to be turned off). I have tried all options in power management (screen turn off, suspend, block screen). Screen turn off and suspend options don't work completly but block…
7
votes
0 answers

Disable touchscreen on closing laptop lid

I configured my laptop so the display screen stays on and unlocked when I close the lid, because I want to do sleep and lock manually when I need it to. This works fine so far with only one drawback, because I have a touchscreen: When the…
rubo77
  • 34,024
  • 52
  • 172
  • 299
7
votes
1 answer

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 goes into a very rapid full functional suspend.…
Maarten
  • 764
7
votes
0 answers

Ubuntu 17.10.1 doesn't suspend on lid close with 2 displays

I run Ubuntu 17.10.1 on Acer Aspire V17 Nitro (VN7-791G). I am booting from a secondary hard drive that is installed instead of a DVD drive, I also have a secondary display connected using a VGA (monitor) to HDMI (laptop) converter. Originally when…
6
votes
4 answers

When I close the lid of my laptop, the Wifi should not disconnect automatically

I am running Ubuntu 16.04 and when the lid of my laptop is closed the wifi disconnects and needs to be turned on manually when the lid is opened. I have tried the following without any success: sudo -H gedit /etc/systemd/logind.conf, Add a…
6
votes
0 answers

Restrict waking up from suspend to specific buttons only

I have an Acer Aspire notebook with 16.04 installed on it. Currently when I suspend, it wakes up on basically everything, including: opening the lid pressing the Power button pressing any keyboard key touching the touchpad I do not like this…
Byte Commander
  • 110,243
6
votes
2 answers

Laptop doesn't hibernate when I close the lid in Ubuntu 14.04

Ok, I know there already are several questions related to this. I tried many solutions to no avail. I'm going to detail here what I did and how are my config files in the hope that a good soul will point out what I missed. Some initial…
Gabriel
  • 246
  • 2
  • 8
1
2 3
11 12