取消笔记本合盖后挂起
vim /etc/systemd/logind.conf
修改
# HandleLidSwitch=suspend
HandleLidSwitch=ignore
# HandlePowerKey=poweroff
HandlePowerKey=ignore
修改屏幕保护
取消笔记本合盖后挂起
vim /etc/systemd/logind.conf
修改
# HandleLidSwitch=suspend
HandleLidSwitch=ignore
# HandlePowerKey=poweroff
HandlePowerKey=ignore
修改屏幕保护