From 005fc7dcf69fc112b5ce3d2c4017769cd8e425e8 Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Mon, 18 May 2020 23:59:51 -0400 Subject: detect fullscreen windows (-f/-F) --- jsmond.html | 21 +++++++++++++-------- 1 file changed, 13 insertions(+), 8 deletions(-) (limited to 'jsmond.html') 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 {

SYNOPSIS

-

jsmond [-i interval[s|ms]] [-m | -k keycode | -b button] [-d dir] [-j name] [-D] [joydev [joydev ...]]

+

jsmond [-i interval[s|ms]] [-m | -k keycode | -b button | -c command | -x ] [-d dir] [-j name] [-f] [-F] [-D] [joydev [joydev ...]]

DESCRIPTION

-

jsmond lets you play games with your joysticks/gamepads without -the screen saver activating due to lack of keyboard/mouse input.

+

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.

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. -c <command> Run a command when activity is detected, rather than sending a fake keystroke/click/motion. It's recommended -to set interval to at least 1 second, when using this -option. +to set interval to at least 1 second when using this +option, to avoid excess process-spawning overhead. -x Same as -c "xscreensaver-command -deactivate" -i 1s. -f -Disable screensaver if a full-screen window is detected. -This isn't likely to be 100% reliable. +Deactivate screensaver if a fullscreen window is detected. +This isn't likely to be 100% reliable yet. -F -Same as -f, but also disables joystick monitoring entirely. +Same as -f, but also disables joystick monitoring entirely. +Note that -j, -d, and joydev are ignored +with this option.

These options are intended for developers and really shouldn't be @@ -504,6 +507,8 @@ password dialog, same as pressing a key or mouse button would.

jsmond depends on the XTest extension being present in the X server. If you get a "X server doesn't support XTest extension" error, see your X server documentation to find out how to enable XTest.

+

The fullscreen window monitoring has only been tested on a system with +a single monitor, and may not work properly in multi-head environments.

EXIT STATUS

-- cgit v1.2.3