Skip to content

Ubuntu: Disable Sleep on Lid Close

作者:Lee 等
最后更新:

Modify File ​

bash
sudo nano /etc/systemd/logind.conf

Find #HandleLidSwitch=suspend and change it to HandleLidSwitch=ignore

Restart Service ​

bash
service systemd-logind restart

Changelog