UBUNTU笔记本不休眠设置方法
sudo vim /etc/systemd/logind.conf
修改配置:
HandlePowerKey=ignore
HandleSuspendKey=ignore
HandleHibernateKey=ignore
HandleLidSwitch=ignore
HandleLidSwitchDocked=ignore
保存后输入:
systemctl restart systemd-logind
2021-07-26 00:04:16
UBUNTU笔记本不休眠设置方法
sudo vim /etc/systemd/logind.conf
修改配置:
HandlePowerKey=ignore
HandleSuspendKey=ignore
HandleHibernateKey=ignore
HandleLidSwitch=ignore
HandleLidSwitchDocked=ignore
保存后输入:
systemctl restart systemd-logind