用闲置笔记本装了个飞牛,合盖会休眠 编辑/etc/systemd/logind.conf文件 nano /etc/systemd/logind.conf 找到#HandleLidSwitch=suspend 去掉#注释修改成ignore HandleLidSwitch=ignore 找到#LidSwitchIgnoreInhibited=yes去掉#注释即可 LidSwitchIgnoreInhibited=yes 保存退出,重启搞定 分享 复制链接