Bug#718267: ITP: xidle -- run a program on X inactivity
Package: wnpp
Severity: wishlist
Owner: Thorsten Glaser <tg@mirbsd.de>
* Package name : xidle
Version : CVS HEAD
Upstream Author : Federico G. Schwindt <fgsch@cvs.openbsd.org>
* URL : https://www.mirbsd.org/man1/xidle
* License : 2-clause UCB
Programming Lang: C
Description : run a program on X inactivity
xidle uses the XScreenSaver(3) extension to receive inactivity events
when a timeout is specified, running a specific program after the
elapsed time. xidle also monitors the very corner of the given position
for pointer activity and runs a program if the pointer sits there for
more than the specified number of seconds. This behavior is always
present, whether -timeout is specified or not.
For example, I’ve got this in my ~/.xinitrc for use with evilwm:
# run xlock on moving to the upper-right corner
xidle -ne -program '/usr/bin/xlock -mode life' &
Reply to: