Help us understand the problem. What is going on with this article?

systemdで画面を閉じてもスリープに入らないようにする

More than 5 years have passed since last update.

systemd-logindの管理下にあるようなので、/etc/systemd/logind.confを編集:

HandleLidSwitch=ignore

man logind.confで各オプションの説明が読める。親切。

http://d.hatena.ne.jp/yamidori98/20131014/1381766244
upowerは効かないようなので注意。

makisyu
Give me a cup of coffee or tea, not beer. Mainly Ph.D student learning bioinformatics, sometimes infrastructure and cloud engineer
Why not register and get more from Qiita?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away