logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

syndaemon - a program that monitors keyboard activity and disables the touchpad when the keyboard is

Authors

       Peter Osterlund <petero2@telia.com>.

       This man page was written by Mattia Dongili <malattia@debian.org>

Caveats

       It doesn't make much sense to connect to a remote X server, because the  daemon  will  then  monitor  the
       remote server for keyboard activity, but will disable the touchpad on the local machine.

Description

       Disabling the touchpad while typing avoids unwanted movements of the pointer that could  lead  to  giving
       focus to the wrong window.

Environment Variables

DISPLAY
              Specifies the X server to contact.

Exit Codes

       If syndaemon exists with a return code other than 0, the error encountered is as below.

       Exitcode1
              Invalid commandline argument.

       Exitcode2
              The connection to the X sever could not be established or no touchpad device could be found.

       Exitcode3
              The fork into daemon mode failed or the pid file could not be created.

       Exitcode4
              XRECORD requested but not available or usable on the server.

Name

       syndaemon  -  a  program  that  monitors keyboard activity and disables the touchpad when the keyboard is
       being used.

Options

-i <idle-time>
              How  many  seconds  to  wait  after  the last key press before enabling the touchpad.  (default is
              2.0s).

       -m <poll-interval>
              How many milliseconds to wait between two polling intervals. If this value is  too  low,  it  will
              cause  unnecessary wake-ups. If this value is too high, some key presses (press and release happen
              between two intervals) may not be noticed. This  switch  has  no  effect  when  running  with  -R.
              Default is 200ms.

       -d     Start as a daemon, ie in the background.

       -p <pid-file>
              Create  a pid file with the specified filename.  A pid file will only be created if the program is
              started in daemon mode.

       -t     Only disable tapping and scrolling, not mouse movements, in response to keyboard activity.

       -k     Ignore modifier keys when monitoring keyboard activity.

       -K     Like -k but also ignore Modifier+Key combos.

       -R     Use the XRecord extension for detecting keyboard activity instead of polling the keyboard state.

       -?     Show the help message.

See Also

Xorg(1), synclient(1), synaptics(4)

X Version 11                               xf86-input-synaptics 1.9.2                               syndaemon(1)

Synopsis

       syndaemon [-iidle-time] [-mpoll-inverval] [-d] [-ppid-file] [-t] [-k] [-K] [-R]

See Also