2017-06-04 20:35:34 +00:00
|
|
|
# xset
|
2020-03-05 21:22:48 +00:00
|
|
|
# User preference utility for X
|
2017-06-04 20:35:34 +00:00
|
|
|
|
2020-10-20 22:37:19 +00:00
|
|
|
# Disable screen saver blanking.
|
2017-06-04 20:35:34 +00:00
|
|
|
xset s off
|
|
|
|
|
2020-10-20 22:37:19 +00:00
|
|
|
# Change time before which the screen is blanked, to 3,600 seconds (1 hour).
|
2017-06-04 20:35:34 +00:00
|
|
|
xset s 3600 3600
|
|
|
|
|
2021-06-08 15:03:13 +00:00
|
|
|
# Turn off Display Power Management Signalling. To instead enable DPMS, the `-`
|
2020-10-20 22:37:19 +00:00
|
|
|
# character is simply changed to `+`.
|
2017-06-04 20:35:34 +00:00
|
|
|
xset -dpms
|
|
|
|
|
2020-10-20 22:37:19 +00:00
|
|
|
# Disable DPMS and prevent screen from blanking. This command also clearly
|
|
|
|
# demonstrations the ability to combine several xset(1) commands within the one
|
|
|
|
# process call.
|
2017-06-04 20:35:34 +00:00
|
|
|
xset s off -dpms
|
|
|
|
|
2020-10-20 22:37:19 +00:00
|
|
|
# Immediately force the provided DPMS state (off). Available states are
|
|
|
|
# 'off', 'on', 'standby', and 'suspend'.
|
2017-06-04 20:35:34 +00:00
|
|
|
xset dpms force off
|