Ubuntu close lid without suspension

Edit systemd file

1
sudo vi /etc/systemd/logind.conf

Find and set

1
HandleLidSwitch=ignore

Restart

1
systemctl restart systemd-logind.service

Or simply restart your entire system


Ubuntu close lid without suspension
https://rug.al/2017/2017-05-22-ubuntu-close-lid-without-suspension/
Author
Rugal Bernstein
Posted on
May 22, 2017
Licensed under