.\" Man page generated from reStructuredText. . .TH UNSAVER 1 "2020-05-20" "0.3.0" "Urchlay" .SH NAME unsaver \- deactivate screensaver on joystick activity . .nr rst2man-indent-level 0 . .de1 rstReportMargin \\$1 \\n[an-margin] level \\n[rst2man-indent-level] level margin: \\n[rst2man-indent\\n[rst2man-indent-level]] - \\n[rst2man-indent0] \\n[rst2man-indent1] \\n[rst2man-indent2] .. .de1 INDENT .\" .rstReportMargin pre: . RS \\$1 . nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin] . nr rst2man-indent-level +1 .\" .rstReportMargin post: .. .de UNINDENT . RE .\" indent \\n[an-margin] .\" old: \\n[rst2man-indent\\n[rst2man-indent-level]] .nr rst2man-indent-level -1 .\" new: \\n[rst2man-indent\\n[rst2man-indent-level]] .in \\n[rst2man-indent\\n[rst2man-indent-level]]u .. .\" RST source for unsaver(1) man page. Convert with: . .\" rst2man.py unsaver.rst > unsaver.1 . .SH SYNOPSIS .sp unsaver [\fB\-i interval[s|ms]\fP] [\fB\-m\fP | \fB\-k keycode\fP | \fB\-b button\fP | \fB\-c command\fP | \fB\-x\fP ] [\fB\-j\fP | \fB\-f\fP] [\fB\-d\fP] [\fBjoydev [joydev ...]\fP] .SH DESCRIPTION .sp unsaver lets you play games with your joysticks/gamepads without the screen saver activating due to lack of keyboard/mouse input. It also prevents the screensaver from activating when a fullscreen window is in use (e.g. while watching a movie). .sp unsaver should be started from your \fB\&.xinitrc\fP or whatever X startup script your window manager or desktop environment uses. By default, it will exit when the X server does. There\(aqs no PID file: use "pkill unsaver" if you need to kill the daemon. .sp Every \fIinterval\fP milliseconds (250, or whatever \fB\-i\fP is set to), unsaver checks to see if there\(aqs been any activity on any of the devices it\(aqs monitoring. If so, it sends a fake mouse movement, keystroke, or mouse button click, which the screen saver will see as activity. .sp Multiple joystick devices can be monitored. By default, unsaver monitors up to 16 devices, named /dev/input/js0 through js15. These devices don\(aqt have to actually exist: they can come and go as joysticks are plugged in and unplugged. See JOYSTICK DEVICES if the defaults don\(aqt work for you. .SH OPTIONS .SS General options .INDENT 0.0 .TP .B \-\-help Print usage summary and exit. .TP .B \-d Debug mode: run in foreground and print verbose messages. .UNINDENT .SS Monitoring options .INDENT 0.0 .TP .BI \-i \ Interval to check for activity. Can be given in seconds with \fIs\fP suffix (e.g. \fB1s\fP), or milliseconds with \fIm\fP (e.g. \fB200m\fP). If just a number is given, it\(aqs assumed to be in seconds if it\(aqs under 100, otherwise it\(aqs treated as milliseconds. Default: 250m. .TP .B \-j Only monitor joysticks; don\(aqt try to detect fullscreen windows. \fB\-j\fP and \fB\-f\fP are mutually exclusive. .TP .B \-f Only detect fullscreen windows; don\(aqt monitor joysticks. \fB\-j\fP and \fB\-f\fP are mutually exclusive. Note that \fBjoydevs\fP are ignored with \fB\-f\fP\&. .UNINDENT .SS Deactivation mode options .sp Only one of \fB\-k\fP/\fB\-b\fP/\fB\-m\fP/\fB\-c\fP/\fB\-x\fP is accepted. .INDENT 0.0 .TP .BI \-k \ Send this keycode when activity is detected. Default is to search the keymap for an unused code. If you set this manually, it should be a keycode that \fIdoesn\(aqt\fP map to a keysym in your usual keymapping (use "xmodmap \-pk" to find one). .TP .BI \-b \