93
82

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

モニターを閉じるとサスペンドされるのを防止

Last updated at Posted at 2014-04-07

ubuntu server 16.04をノートPCにインストールしてみた。
cui環境なのにモニターを閉じるとサスペンド(スリープ)になるため調査

Ubuntu Server 13.10 now goes to sleep when closing laptop lid - Ask Ubuntu

/etc/systemd/logind.conf
- #HandleLidSwitch=suspend
+ HandleLidSwitch=ignore

設定反映

sudo systemctl restart systemd-logind
93
82
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
93
82

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?