Skip to content

Ubuntu 設定で蓋を閉じてもスリープしない

作者:Lee 等
最后更新:

ファイルの編集 ​

bash
sudo nano /etc/systemd/logind.conf

#HandleLidSwitch=suspend を見つけて、 HandleLidSwitch=ignore に変更する

サービスを再起動する ​

bash
service systemd-logind restart

Changelog