diff options
author | B. Watson <yalhcru@gmail.com> | 2020-05-23 01:51:39 -0400 |
---|---|---|
committer | B. Watson <yalhcru@gmail.com> | 2020-05-23 01:51:39 -0400 |
commit | e29c982243f4d1201e93ad3afcfafbf1ee7c3f25 (patch) | |
tree | 9b56ab2341edd869c1e321912f962c16db1dea7d /unsaver.1 | |
parent | cd63deefc626a24123d69d9e8a13798f269ff8a3 (diff) | |
download | unsaver-e29c982243f4d1201e93ad3afcfafbf1ee7c3f25.tar.gz |
use XKB extension instead of deprecated API0.4.0
Diffstat (limited to 'unsaver.1')
-rw-r--r-- | unsaver.1 | 10 |
1 files changed, 4 insertions, 6 deletions
@@ -1,6 +1,6 @@ .\" Man page generated from reStructuredText. . -.TH UNSAVER 1 "2020-05-20" "0.3.0" "Urchlay" +.TH UNSAVER 1 "2020-05-23" "0.4.0" "Urchlay" .SH NAME unsaver \- deactivate screensaver on joystick activity . @@ -102,6 +102,7 @@ Only one of \fB\-k\fP/\fB\-b\fP/\fB\-m\fP/\fB\-c\fP/\fB\-x\fP is accepted. .TP .BI \-k \ <keycode> Send this keycode when activity is detected. Default +(with no \fB\-k\fP/\fB\-b\fP/\fB\-m\fP/\fB\-c\fP/\fB\-x\fP options) is to search the keymap for an unused code. If you set this manually, it should be a keycode that \fIdoesn\(aqt\fP map to a keysym in your usual keymapping (use "xmodmap \-pk" to find one). @@ -202,15 +203,12 @@ numbers (it\(aqs better to autodetect). .sp Normally once daemonized, unsaver is very robust. However, if something does go wrong, there\(aqs no way to find out what. Probably there should -be a log file, or use syslog (or is that overkill?). +be a log file, or use syslog (or is that overkill?). The best you can +do for now is run it with \-d and maybe redirect stderr to a log file. .sp It should be (but currently isn\(aqt) possible to at least work in mouse\-motion mode even without the XTest extension, via XWarpPointer(). .sp -I \fIreally\fP need to use the XKB extension rather than the old & deprecated -Xlib keyboard API. This mainly affects the default "find an unused -keycode" mode. -.sp unsaver isn\(aqt portable. It only works on Linux, at least for now, for three reasons: .INDENT 0.0 |