aboutsummaryrefslogtreecommitdiff
path: root/jsmond.html
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2020-05-18 23:59:51 -0400
committerB. Watson <yalhcru@gmail.com>2020-05-18 23:59:51 -0400
commit005fc7dcf69fc112b5ce3d2c4017769cd8e425e8 (patch)
tree88b902b56f30ed80e4ffd0f7dbeeaf62da6cfcaf /jsmond.html
parent045f4601b352abc2955050bd273b46ad602f3bad (diff)
downloadunsaver-005fc7dcf69fc112b5ce3d2c4017769cd8e425e8.tar.gz
detect fullscreen windows (-f/-F)
Diffstat (limited to 'jsmond.html')
-rw-r--r--jsmond.html21
1 files changed, 13 insertions, 8 deletions
diff --git a/jsmond.html b/jsmond.html
index 4f5d91c..2874b25 100644
--- a/jsmond.html
+++ b/jsmond.html
@@ -382,12 +382,13 @@ ul.auto-toc {
<!-- rst2man.py jsmond.rst > jsmond.1 -->
<div class="section" id="synopsis">
<h1>SYNOPSIS</h1>
-<p>jsmond [<strong>-i interval[s|ms]</strong>] [<strong>-m</strong> | <strong>-k keycode</strong> | <strong>-b button</strong>] [<strong>-d dir</strong>] [<strong>-j name</strong>] [<strong>-D</strong>] [<strong>joydev [joydev ...]</strong>]</p>
+<p>jsmond [<strong>-i interval[s|ms]</strong>] [<strong>-m</strong> | <strong>-k keycode</strong> | <strong>-b button</strong> | <strong>-c command</strong> | <strong>-x</strong> ] [<strong>-d dir</strong>] [<strong>-j name</strong>] [<strong>-f</strong>] [<strong>-F</strong>] [<strong>-D</strong>] [<strong>joydev [joydev ...]</strong>]</p>
</div>
<div class="section" id="description">
<h1>DESCRIPTION</h1>
-<p>jsmond lets you play games with your joysticks/gamepads without
-the screen saver activating due to lack of keyboard/mouse input.</p>
+<p>jsmond 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.</p>
<p>Multiple joystick devices can be monitored. By default, jsmond
monitors up to 16 devices, named /dev/input/js0 through js15.
These devices don't have to actually exist: they can come and go
@@ -444,18 +445,20 @@ to its starting point.</td></tr>
<kbd><span class="option">-c <var>&lt;command&gt;</var></span></kbd></td>
<td>Run a command when activity is detected, rather than
sending a fake keystroke/click/motion. It's recommended
-to set <em>interval</em> to at least 1 second, when using this
-option.</td></tr>
+to set <em>interval</em> to at least 1 second when using this
+option, to avoid excess process-spawning overhead.</td></tr>
<tr><td class="option-group">
<kbd><span class="option">-x</span></kbd></td>
<td>Same as <strong>-c &quot;xscreensaver-command -deactivate&quot; -i 1s</strong>.</td></tr>
<tr><td class="option-group">
<kbd><span class="option">-f</span></kbd></td>
-<td>Disable screensaver if a full-screen window is detected.
-This isn't likely to be 100% reliable.</td></tr>
+<td>Deactivate screensaver if a fullscreen window is detected.
+This isn't likely to be 100% reliable yet.</td></tr>
<tr><td class="option-group">
<kbd><span class="option">-F</span></kbd></td>
-<td>Same as <strong>-f</strong>, but also disables joystick monitoring entirely.</td></tr>
+<td>Same as <strong>-f</strong>, but also disables joystick monitoring entirely.
+Note that <strong>-j</strong>, <strong>-d</strong>, and <strong>joydev</strong> are ignored
+with this option.</td></tr>
</tbody>
</table>
<p>These options are intended for developers and <em>really</em> shouldn't be
@@ -504,6 +507,8 @@ password dialog, same as pressing a key or mouse button would.</p>
<p>jsmond depends on the XTest extension being present in the X server. If
you get a &quot;X server doesn't support XTest extension&quot; error, see your X
server documentation to find out how to enable XTest.</p>
+<p>The fullscreen window monitoring has only been tested on a system with
+a single monitor, and may not work properly in multi-head environments.</p>
</div>
<div class="section" id="exit-status">
<h1>EXIT STATUS</h1>