合上笔记本盖不进入休眠。在Ubuntu的电源管理没有找到相应设置,可以手动修改配置文件完成。
vi /etc/systemd/logind.conf
打开logind.conf配置文件,找到:
HandleLidSwitch=suspend
HandleLidSwitchExternalPower=suspend
修改为:
HandleLidSwitch=ignore
HandleLidSwitchExternalPower=ignore
重启生效!
合上笔记本盖不进入休眠。在Ubuntu的电源管理没有找到相应设置,可以手动修改配置文件完成。
vi /etc/systemd/logind.conf
打开logind.conf配置文件,找到:
HandleLidSwitch=suspend
HandleLidSwitchExternalPower=suspend
修改为:
HandleLidSwitch=ignore
HandleLidSwitchExternalPower=ignore
重启生效!