Views:
1,123β
Votes: 3β
Tags:
suspend
laptop
hibernate
lid
Link:
π See Original Answer on Ask Ubuntu β§ π
URL:
https://askubuntu.com/q/1086247
Title:
How to put the laptop to sleep/hibernatation by closing the LCD lid?
ID:
/2018/10/22/How-to-put-the-laptop-to-sleep_hibernatation-by-closing-the-LCD-lid_
Created:
October 22, 2018
Upload:
September 15, 2024
Layout: post
TOC:
false
Navigation: false
Copy to clipboard: false
When an HDMI monitor is plugged in, the system considers it βdockedβ as if it were plugged into a docking station. As such you need to use:
sudo -H gedit /etc/systemd/logind.conf
Change the line:
#HandleLidSwitchDocked=ignore
to read:
HandleLidSwitchDocked=suspend
Then save the file and reboot.
Note: This is the most common solution and if it doesnβt work we can explore other options.