screenblank disables the framebuffer if the keyboard and mouse are idle for a period of time, and re-enables the framebuffer when keyboard or mouse activity resumes.
When killed with a SIGINT, SIGHUP, or SIGTERM,
screenblank will re-enable the framebuffer. The pid can be found in the file
/var/run/screenblank.pid.
The options are as follows:
-b
Overriding the other options, simply try (once) to blank the framebuffer, then exit.
-d inactivity-timeout
Wait the number of seconds specified by inactivity-timeout, expressed in the format “xxx.xxx”, before disabling the framebuffer due to inactivity. The default is 600 seconds (10 minutes).
-e wakeup-delay
Wait the number of seconds specified by wakeup-delay, expressed in the format “xxx.xxx”, before re-enabling the framebuffer once activity resumes. The default is .25 seconds.
-f framebuffer
Use the framebuffer device framebuffer instead of the default /dev/fb.
-i input-device
Add input-device to the list of devices to monitor for activity.
-k
Do not check the keyboard for activity.
-m
Do not check the mouse for activity.
-u
Overriding the other options, simply try (once) to unblank the framebuffer, then exit.
Note that the
-k and
-m flags are mutually exclusive.