XIDLE(1)
β¨ XIDLE(1) β¨
okay bestie, pull up a chair because we're talking about xidle β a manual page from the General Commands Manual section, and the whole vibe is "run a program on X inactivity". Yes queen, it watches your screen so you don't have to. π¦
πΈ SYNOPSIS πΈ
xidle [-area pixels] [-delay secs] [-display display] [-no | -nw | -ne |
-sw | -se] [-program path] [-timeout secs]
π DESCRIPTION π
so xidle uses the XScreenSaver(3) extension to receive inactivity events when a timeout is specified, and then it runs a specific program after the elapsed time. periodt.
but wait, there's more, because she's multitalented: xidle will also run the program if it gets sent a SIGUSR1 signal π, or if the pointer justβ¦ sits in a corner of the screen for an amount of time. like, go off pointer, take a nap.
Signal and corner locking are always enabled, whether -timeout is specified or not. like, always always. no cap.
The options are as follows:
-area pixelsβ tell her the size, in pixels, of the corner area. the default is2pixels. tiny corner, big energy.-delay secsβ how many seconds the pointer has to be parked in the given position before the program runs. default is2seconds.-display displayβ lets you specify the server to connect to; go peek atX(7)for the deets.-no | -nw | -ne | -sw | -seβ set the position to one of none, northwest, northeast, southwest, or southeast, respectively. if you specify no position at all, the default is northwest.-program pathβ the full pathname of the program to run on any of the aforementioned events. arguments to the program may also be specified, separated by whitespace. if-programisn't specified, the default isxlock(1). π-timeout secsβ set the timeout to that many seconds. and listen: if-timeoutis not specified,xidlewon't run any program on inactivity. she'll just be chilling. π
π RESOURCES π
a few sets of application specific resources are supported, and their values can be overridden by the command line options. slay.
area(classArea) β the size, in pixels, of the corner area; see the-areaoption.delay(classDelay) β the number of seconds to wait before running the program; see the-delayoption.position(classPosition) β set the position to one of:"no","nw","ne","sw", or"se"; see the descriptions of the-no,-nw,-ne,-sw, and-seoptions.program(classProgram) β the full pathname of the program to run; see the-programoption.timeout(classTimeout) β set the timeout to the specified number of seconds; see the-timeoutoption.
The xidle program resource class is XIdle. π
π EXAMPLES π
Run xlock(1) using the flying bats mode if no activity is detected in 300 seconds, or if 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
bats. flying. in your terminal's honor. iconic. π¦β¨
π₯ SEE ALSO π₯
xlock(1), XScreenSaver(3), X(7)
π AUTHORS π
the xidle program was written by Federico Schwindt <fgsch@openbsd.org> as an xautolock replacement. king behavior, honestly.
π BUGS π
the maximum number of arguments for -program, including the executable file, is currently set to 9. so don't get cute and pass her ten things, bestie, she will simply not. π
that's the whole page, babes β this came from the Debian build, dated August 2, 2020. go forth and let your screen go idle responsibly. π«ΆπΈ
π¦ where this page comes from
- debian bookworm: xidle 20200802
- debian trixie: xidle 20200802
- ubuntu jammy: xidle 20200802
- ubuntu noble: xidle 20200802
- ubuntu questing: xidle 20200802
- ubuntu resolute: xidle 20200802build1
- ubuntu stonking: xidle 20200802build1
- Copyright (c) 2005 Federico G. Schwindt
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms