[ltp] Disabling moving/tapping touchpad but leave scrolling?

Teemu Nikkilä linux-thinkpad@linux-thinkpad.org
Fri, 21 Jul 2006 15:23:10 +0300


Hi, maybe synclient and syndaemon are what you are looking for:

On Thursday, 20. July 2006 00:53, Paul RIVIER wrote:
> Well, now what I would really like in a kind of smart driver for the
> touchpad doing :
> - If anything is happening on the keyboard or the trackpoint, deactivate
> touchpad (I have heard that already exist)

$ syndaemon -h
syndaemon: invalid option -- h
Usage: syndaemon [-i idle-time] [-d]
  -i How many seconds to wait after the last key press before
     enabling the touchpad. (default is 2.0s)
  -d Start as a daemon, ie in the background.
  -p Create a pid file with the specified name.
  -t Only disable tapping, not mouse movements.

> - Configurable movements / action bindings, typically : move from left
> to right go to workspace right; move up/down scrolls. And why not if
> possible, fancy gesture recognition, like 'Z' closes the windows,
> although I believe only straightforward moves can be really useful.

To disable all but scrolling:

$ synclient MinSpeed=0 MaxSpeed=0 TapButton1=0 TapButton2=0 TapButton3=0

To re-enable touchpad:

$ synclient MinSpeed=0.09 MaxSpeed=0.18 TapButton1=1 TapButton2=2 TapButton3=3

-Teemu