XのスクリーンセーバーをGUIなしで設定する
A. xorg.conf
ServerFlagsないしServerLayoutセクションにBlankTimeオプションを記述する。
Option "BlankTime" "time"
http://www.x.org/archive/X11R6.8.0/doc/xorg.conf.5.html#sect4
sets the inactivity timeout for the blanking phase of the screensaver. time is in minutes. This is equivalent to the Xorg server's `-s' flag, and the value can be changed at run-time with xset(1x) . Default: 10 minutes.
B. サーバー起動時のオプション
-s minutes
http://www.x.org/archive/X11R6.8.0/doc/Xserver.1.html
sets screen-saver timeout time in minutes.
C. xsetで今の設定を変更する
xset s ...
という形でスクリーンセーバーの設定を変更できる。
- s [timeout [cycle] ]
- timeout秒後に起動し、cycle秒後に切り替える。指定なしでリセット。
- s on/off
- スクリーンセーバーを有効/無効にする。タイマー止めるだけなのでoffにしたからといってresetされないし、activateすることはできる。
- s activate/reset
- スクリーンセーバーを起動/停止(タイマーリセット)する。
なんでこれだけ秒単位……。
http://www.x.org/archive/X11R6.8.0/doc/xset.1.html