【转载】ubuntu笔记本设置关闭盖子不休眠(实测20.04可以)

转自

  1. ubuntu笔记本设置关闭盖子不休眠

步骤

  1. sudo vi /etc/systemd/logind.conf 将其中的 #HandleLidSwitch=suspend 去掉 # 号,并改成 HandleLidSwitch=ignore

  2. 重启服务 service systemd-logind restart

posted @ 2021-10-07 15:59  夏秋初  阅读(1883)  评论(0)    收藏  举报