[H-GEN] Two finger scroll

Russell Stuart russell-humbug at stuart.id.au
Fri May 28 07:24:43 EDT 2010


Those of you who know me will know I am a fan or multitouch on
touchpads.  Two finger scrolling, pinch to zoom - that sort of thing.
But my laptop has an ALPS touch pad (actually a something called a
DualPoint Stick made by ALPS), and it doesn't support multitouch. [1]

Boo Hoo.

But then I upgraded from lenny to Debian testing, and touch-to-click
broke.  That is why it was called testing I guess.  It pissed me off so
much I went looking for a cause, and then a solution.  In the process I
wasted bloody hours, but guess what?  I found out how to fake two finger
scrolling.

Turns out it is real simple.  It is already supported by the current
xorg driver, xserver-xorg-input-synaptics.  You just edit some options
in /etc/X11/xorg.conf according to "man synaptics": HorizTwoFingerScroll
and VertTwoFingerScroll.  If you need to fake it because you have an
ALPS touchpad, you also need EmulateTwoFingerMinZ as well, according to
the output in the z column of "synclient -m 100" when you have 1 and 2
fingers down.

That of course doesn't work in Debian testing (aka squeeze), because of
aforementioned bug.  But of course by this time I already know how to
fix that.  See http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=583346

[1] A synaptics touch pad does.  It reports how many fingers are on the
    touch pad.  Some models even report how "wide" the finger is, making
    pinch to zoom possible.  See:
    http://www.ibm.com/developerworks/opensource/library/os-touchpad/




More information about the General mailing list