.. RST source for unsaver(1) man page. Convert with: .. rst2man.py unsaver.rst > unsaver.1 .. |version| replace:: 0.4.1 .. |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**] [**joystick [joystick ...]**] 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 josticks, or if a fullscreen window exists. If so, it deactivates the screensaver by sending a keystroke, clicking a mouse button, moving the mouse, or executing a command (see "Monitoring Options", below). Multiple joystick devices can be monitored. By default, unsaver monitors up to 16 joysticks. 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 ======= With no options, the default interval is 250ms, the deactivation mode is to send an otherwise-unused keycode, and both joystick and fullscreen monitoring is enabled. A space is required between an option and its argument, as shown above. Use e.g. **-i 300**, not **-i300**. 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 **joysticks** 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 (with no **-k**/**-b**/**-m**/**-c**/**-x** options) 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