Ubuntu 18.04 ノートPCを閉じてもサスペンドしないようにする
/etc/systemd/logind.conf の
#HandleLidSwitch=suspend
のコメントを外して
HandleLidSwitch=ignore
にする。
その後
$ sudo systemctl restart systemd-logind
/etc/systemd/logind.conf の
#HandleLidSwitch=suspend
のコメントを外して
HandleLidSwitch=ignore
にする。
その後
$ sudo systemctl restart systemd-logind