LoginSignup
2
1

【メモ】ディスプレイをオン/オフするコマンド

Last updated at Posted at 2019-08-21

#ディスプレイをオン/オフするコマンド

> xset dpms force on
> xset dpms force off
> xset dpms force standby

リモートから行いたい場合、DISPLAYを明示。

> xset -display :0 dpms force on

または環境変数を書き換える。
> export DISPLAY=:0
(確認)
> env | grep DISPLAY
DISPLAY=:0
2
1
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
2
1