Skip to content

Ubuntu 设置合盖不休眠

作者:Lee 等
最后更新:

修改文件

bash
sudo nano /etc/systemd/logind.conf

找到 #HandleLidSwitch=suspend ,改为 HandleLidSwitch=ignore

重启服务

bash
service systemd-logind restart

页面历史