| XIDLE(1) | General Commands Manual | XIDLE(1) |
xidle — run a
program on X inactivity
xidle |
[-area pixels]
[-delay secs]
[-display display]
[-no | -nw |
-ne | -sw |
-se] [-program
path] [-timeout
secs] |
xidle uses the
XScreenSaver(3) extension to receive inactivity events
when a timeout is specified, running a specific program after the elapsed
time. xidle will also run the program if it is sent
a SIGUSR1 signal, or if the pointer sits in a corner
of the screen for an amount of time. Signal and corner locking are always
enabled, whether -timeout is specified or not.
The options are as follows:
-area
pixels-delay
secs-display
display-no |
-nw | -ne |
-sw | -se-program
path-program is not
specified, the default is xlock(1).-timeout
secs-timeout is not specified,
xidle won't run any program on inactivity.A few sets of application specific resources are supported and their values can be overridden by the command line options:
-area option.-delay option.-no, -nw,
-ne, -sw, and
-se options.-program option.-timeout option.The xidle program resource
class is XIdle.
Run xlock(1) using the flying bats mode if no activity is detected in 300 seconds or the pointer sits in the southwest corner for more than 5 seconds:
$ xidle -delay 5 -sw -program "/usr/X11R6/bin/xlock -mode bat" \ -timeout 300
The xidle program was written by
Federico Schwindt
<fgsch@openbsd.org>
as an xautolock replacement.
The maximum number of arguments for
-program, including the executable file, is
currently set to 9.
| August 2, 2020 | Debian |