On Xubuntu 16.04 after editing the power settings to do nothing when the lid closes, my laptop would still suspend. I want it to just turn the off the display. The fix for this is easy, to change it open the /etc/systemd/logind.conf file in a text editor as root using:
sudo nano /etc/systemd/logind.conf
Look for this line, and remove the comment # and save the file
#HandleLidSwitch=ignore
So it should look like this:
HandleLidSwitch=ignore
If the line is not present, add it and save the file. Then restart the systemd daemon with this command:
sudo service systemd-logind restart
Close the lid, and the laptop shouldn't suspend.
No comments:
Post a Comment