当我使用外部监视器时,当我关闭盖子时,笔记本电脑不会自动挂起。相反,外部监视器仍在使用中。
我想以这样的方式配置ubuntu,当我关闭盖子时,笔记本总是挂起。不管我是否使用外部监视器。
我在logind.conf上读到:如果系统被插入到一个对接站中,或者如果连接了多个显示器,则会发生由HandleLidSwitchDocked=指定的操作。
但让它暂停对我没用。
发布于 2022-11-11 20:25:17
打开dconf编辑器,并修改设置:
/org/gnome/settings-daemon/plugins/power/lid-close-suspend-with-external-monitor转到yes
修改/etc/systemd/logind.conf并将HandleLidSwitchDocked的值与suspend放在一起,其结尾如下:
HandleLidSwitchDocked=suspend按照以下方式修改/etc/UPower/UPower.conf中的行(是的,这个步骤听起来很奇怪):
IgnoreLid=true重新启动,享受您的笔记本电脑更多!
https://askubuntu.com/questions/1266408
复制相似问题