ubuntuノートPCで蓋閉めても停止しなくする


% sudo vi /etc/systemd/logind.conf
---
#HandleLidSwitch=suspend
HandleLidSwitch=ignore
---

% sudo systemctl restart systemd-logind