如何在Ubuntu18.04系统中禁用系统休眠
在ubuntu18.04系统中如何禁用系统休眠呢?本文给出详细说明。
1.用vi打开/etc/systemd/logind.conf
vi /etc/systemd/logind.conf
![]()
2.找到#HandleLidSwitch=suspend

3.查修改成HandleLidSwitch=ignore 后保存退出

1.用vi打开/etc/systemd/logind.conf
vi /etc/systemd/logind.conf
![]()
2.找到#HandleLidSwitch=suspend

3.查修改成HandleLidSwitch=ignore 后保存退出
