vim /etc/systemd/logind.conf HandleLidSwitch=lock #锁屏不休眠 #HandleLidSwitch=ignore #不锁屏 #生效 systemctl restart systemd-logind
Comments | 0 条评论