Linux Commands Examples

A great documentation place for Linux commands

synclient

commandline utility to query and modify Synaptics driver options.


see also : Xorg - syndaemon

Synopsis

synclient [-m interval]
synclient [-hlV?] [var1=value1 [var2=value2] ...]


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

0

To disable EdgeMotionSpeed:

synclient EdgeMotionSpeed=0

To monitor touchpad events (requires SHM):

synclient -m 100


0
source
            
synclient TouchpadOff=1
0
source
            
synclient TouchpadOff=0
0
source
            
synclient touchpadoff=0

description

This program lets you change your Synaptics TouchPad driver for XOrg/XFree86 server parameters while X is running.

For the -m and -h options, SHM must be enabled by setting the option SHMConfig "on" in your XOrg/XFree86 configuration.

options

-m interval

monitor changes to the touchpad state. Interval specifies how often (in ms) to poll the touchpad state. Whenever a change in the touchpad state is detected, one line of output is generated that describes the current state of the touchpad. This option is only available in SHM mode. The following data is included in the output.

time

Time in seconds since the logging was started.

x,y

The x/y coordinates of the finger on the touchpad. The origin is in the upper left corner.

z

The "pressure" value. Pressing the finger harder on the touchpad typically produces a larger value. Note that most touchpads don’t measure the real pressure though. Instead, capacitance is usually measured, which is correlated to the contact area between the finger and the touchpad. Since more pressure usually means a larger contact area, the reported pressure value is at least indirectly related to the real pressure.

f

The number of fingers currently touching the touchpad. Note that only some touchpads can report more than one finger. Generally, synaptics touchpads can, but ALPS touchpads can’t.

w

The w value is a measurement of the finger width. This is only supported by some synaptics touchpads. Touchpads that can’t measure the finger width typically report a faked constant value when a finger is touching the touchpad.

l,r,u,d,m,multi

The state of the left, right, up, down, middle and multi buttons. Zero means not pressed, one means pressed. Not all touchpads have all these buttons. If a button doesn’t exist, the value is always reported as 0.

-l

List current user settings. This is the default if no option is given.

-V

Print version number and exit.

-?

Show the help message.

var=value

Set user parameter var to value.

files

/etc/X11/xorg.conf

/etc/X11/XF86Config-4


see also

Xorg , syndaemon , synaptics


authors

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

How can this site be more helpful to YOU ?


give  feedback