Prev | Current Page 175 | Next

Chris Tyler

"X Power Tools"

org Impress, MagicPoint, and Xine).
xset can adjust screensaver and DPMS settings. The dpms subcommand can turn
DPMS on or off:
$ xset +dpms # dpms on
$ xset -dpms # dpms off
You can also immediately go to one of the four DPMS states:
$ xset dpms force state
Where state is on, standby, suspend, or off.
To set the DPMS times, supply three numeric arguments, representing the number of
seconds of inactivity before the standby, suspend, and off states are entered. For
example, to set the server to switch to DPMS standby mode after 10 minutes of inactivity,
suspend after 15 minutes, and off after 20 minutes, enter the following:
$ xset dpms 600 900 1200
The dpms timeouts are configured in minutes in the xorg.conf file, but
in seconds when using the xset command.
xset can likewise turn the X server??™s built-in screensaver on or off using the s subcommand
(this is separate from the xscreensaver program; see Section 6.13):
$ xset s on # screensaver on
$ xset s off # screensaver off
6.13
6.13 Eye Candy: xscreensaver 109
$ xset s default # screensaver back to default rules
$ xset s time chg # screensaver times
The screensaver time arguments, time and chg, set the time before the screensaver
kicks in and the time before the screensaver image changes, respectively.


Pages:
163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187