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