如何在Ubuntu18.04系統(tǒng)中禁用系統(tǒng)休眠
如何在Ubuntu18.04系統(tǒng)中禁用系統(tǒng)休眠
在ubuntu18.04系統(tǒng)中如何禁用系統(tǒng)休眠呢?本文給出詳細(xì)說(shuō)明。
1.用vi打開(kāi)/etc/systemd/logind.conf
vi /etc/systemd/logind.conf
2.找到#HandleLidSwitch=suspend
3.查修改成HandleLidSwitch=ignore 后保存退出