.. RST source for unsaver(1) man page. Convert with: .. rst2man.py unsaver.rst > unsaver.1 .. |version| replace:: 0.3.0 .. |date| date:: ======= unsaver ======= ------------------------------------------- deactivate screensaver on joystick activity ------------------------------------------- :Manual section: 1 :Manual group: Urchlay :Date: |date| :Version: |version| SYNOPSIS ======== unsaver [**-i interval[s|ms]**] [**-m** | **-k keycode** | **-b button** | **-c command** | **-x** ] [**-d dir**] [**-j name**] [**-f**] [**-F**] [**-D**] [**joydev [joydev ...]**] DESCRIPTION =========== unsaver lets you play games with your joysticks/gamepads without the screen saver activating due to lack of keyboard/mouse input. It can also prevent the screensaver from activating when a fullscreen window is in use (e.g. while watching a movie). Multiple joystick devices can be monitored. By default, unsaver monitors up to 16 devices, named /dev/input/js0 through js15. These devices don't have to actually exist: they can come and go as joysticks are plugged in and unplugged. Every *interval* milliseconds (250, or whatever **-i** is set to), unsaver checks to see if there's been any activity on any of the devices it's monitoring. If so, it sends a fake mouse movement, keystroke, or mouse button click, which the screen saver will see as activity. It's recommended to let unsaver find the joysticks itself. However, you can pass one or more device names (or just numbers) if the default doesn't do the right thing for you. In this case, only these devices will be monitored (no search is done). unsaver should be started from your **.xinitrc** or whatever X startup script your window manager or desktop environment uses. By default, it will exit when the X server does. There's no PID file: use "pkill unsaver" if you need to kill the daemon. OPTIONS ======= --help Print usage summary -i Interval to check for activity. Can be given in seconds with *s* suffix (e.g. **1s**), or milliseconds with *m* (e.g. **200m**). If just a number is given, it's assumed to be in seconds if it's under 100, otherwise it's treated as milliseconds. Default: 250m. -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 *doesn't* map to a keysym in your usual keymapping (use "xmodmap -pk" to find one). -b