Rustdesk
此blog主要用于处理Linux在熄屏状态下无法唤起的问题。
通过命令行编辑systemd配置文件(可靠替代,无需Tweaks)这是一个更底层的配置,会覆盖GNOME设置,适用于所有情况。
打开终端,编辑配置文件:sudo nano /etc/systemd/logind.conf(或用gedit/vim)。
找到或添加以下行(如果有#注释,删除#):
[Login]
HandleLidSwitch=ignoreHandleLidSwitchExternalPower=ignore # 外接电源时忽略
HandleLidSwitchDocked=ignore # 连接外部显示器时忽略ignore 表示合盖时无操作(不悬挂)。
重启logind服务:sudo systemctl restart systemd-logind。ce5d753f43a42ad6f4f0efca
All articles on this blog are licensed under CC BY-NC-SA 4.0 unless otherwise stated.



