🔍 See Original Answer on Ask Ubuntu ⧉ 🔗
Xubuntu 16.10 won't wake up correctly after opening lid
October 21, 2016
Edited: October 21, 2016
December 3, 2023
Copy to clipboard: false
/assets/js/search.js will update text..
From your file
/etc/systemd/logind.conf we see these lines:
On the first line you need to remove the
#, save the file and reboot.
You removed the
# from the second line which suspends the laptop when it is docked ie. plugged into a docking station or when there is a secondary HDMI monitor / TV plugged in.
The first line controls suspending when the laptop is not docked.
For others reading this answer keep in mind from the Launcher select
System Settings and click the
Power applet and make sure it is also be configured like this:
When lid is closed section. Have the options set to
Suspend. If either these Power settings or systemd’s settings above are set to ignore then suspend will not occur.
Please note the systemd change above may not fix everything. It is one thing that needs to change.