Linux Commands Examples

A great documentation place for Linux commands

syndaemon

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


see also : Xorg - synclient

Synopsis

syndaemon [-i idle-time] [-m poll-inverval] [-d] [-p pid-file] [-t] [-k] [-K] [-R]


add an example, a script, a trick and tips

: email address (won't be displayed)
: name

Step 2

Thanks for this example ! - It will be moderated and published shortly.

Feel free to post other examples
Oops ! There is a tiny cockup. A damn 404 cockup. Please contact the loosy team who maintains and develops this wonderful site by clicking in the mighty feedback button on the side of the page. Say what happened. Thanks!

examples


no example yet ...

... Feel free to add your own example above to help other Linux-lovers !

description

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

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.

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.

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.
Exit code 1

Invalid commandline argument.

Exit code 2

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

Exit code 3

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

Exit code 4

XRECORD requested but not available or usable on the server.


see also

Xorg , synclient , synaptics


authors

Peter Osterlund <petero2[:at:]telia[:dot:]com>.
This man page was written by Mattia Dongili <malattia[:at:]debian[:dot:]org>

How can this site be more helpful to YOU ?


give  feedback