🔍 See Original Answer on Ask Ubuntu ⧉ 🔗
How to put the laptop to sleep/hibernatation by closing the LCD lid?
October 22, 2018
September 20, 2023
Copy to clipboard: false
/assets/js/search.js will update text..
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:
Then save the file and reboot.
Note: This is the most common solution and if it doesn’t work we can explore other options.