| SCREENBLANK(1) | General Commands Manual | SCREENBLANK(1) |
screenblank —
screen saver daemon for wscons and FBIO machines
screenblank |
[-k | -m]
[-d inactivity-timeout]
[-e wakeup-delay]
[-f framebuffer]
[-i input-device] |
screenblank |
{-b | -u} |
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-d
inactivity-timeout-e
wakeup-delay-f
framebuffer-i
input-device-k-m-uNote that the -k and
-m flags are mutually exclusive.
screenblank.screenblank checks the access and
modification times of the devices it is monitoring to determine activity. If
the devices are on a file system mounted with the
noatime and/or nodevmtime
options, it will not function as expected. A possible workaround is to use a
script as such:
#!/bin/sh /usr/sbin/screenblank -d 0 -e 0 && read /usr/bin/pkill screenblank
| April 8, 2019 | NetBSD 11.0 |