.. 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** ] [**-j** | **-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 also prevents the screensaver from activating when a fullscreen window is in use (e.g. while watching a movie). 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. 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. 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. See JOYSTICK DEVICES if the defaults don't work for you. OPTIONS ======= General options --------------- --help Print usage summary and exit. -d Debug mode: run in foreground and print verbose messages. Monitoring options ------------------ -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. -j Only monitor joysticks; don't try to detect fullscreen windows. **-j** and **-f** are mutually exclusive. -f Only detect fullscreen windows; don't monitor joysticks. **-j** and **-f** are mutually exclusive. Note that **joydevs** are ignored with **-f**. Deactivation mode options ------------------------- Only one of **-k**/**-b**/**-m**/**-c**/**-x** is accepted. -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