Lappy-kun + Synaptics + reverse mouse buttons
February 8th, 2006
Oh yes, the name is real creative - but the laptop is on loan from the school. And being somewhat defective in screen, I’m not getting that attatched.
Like installing Ubuntu 5.1 on it instead of Gentoo.
Things have gone pretty smoothly - I mean, two hours to get most things installed and configured to my specifications. The /etc/ directory is so crouded, though…
And then, there was the touchpad.
This is a synaptics touchpad, which necessitated an apt-get install synclient.
I have two issues: Remove the extra ‘taps’, and reverse the buttons. Here is a selection from /etc/X11/xorg.conf - changed sections are bolded:
Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option “SendCoreEvents” “true”
Option “Device” “/dev/input/mice”
Option “Protocol” “ImPS/2″
Option “Emulate3Buttons” “true”
Option “ZAxisMapping” “4 5″
EndSection
Section “InputDevice”
Identifier “Synaptics Touchpad”
Driver “synaptics”
Option “CorePointer”
Option “Device” “/dev/psaux”
Option “Protocol” “auto-dev”
Option “HorizScrollDelta” “0″
Option “SHMConfig” “on”
Option “TapButton1″ “0″
Option “TapButton2″ “0″
Option “TapButton3″ “0″
Option “RTCornerButton” “0″
Option “RBCornerButton” “0″
EndSection
I have no mouse plugged in most of the time - so it is not my core pointer. This makes later configuration easier.
Restart X.
sudrien@lappy-kun:~$ xsetpointer -l
“Synaptics Touchpad” [XPointer]
“Configured Mouse” [XExtensionDevice]
“Generic Keyboard” [XKeyboard]
Just making sure my primary is properly set.
sudrien@lappy-kun:~$ xmodmap -pp
There are 7 pointer buttons defined.
Physical Button
Button Code
1 1
2 2
3 3
4 4
5 5
6 6
7 7
1 is primary, 2 is middle-click, 3 is secondary. The rest are associated with scrolling. I think. I want to switch 1 and 3.
System > Preferences > Mouse > Left Handed Mouse (select and close)
sudrien@lappy-kun:~$ xmodmap -pp
There are 7 pointer buttons defined.
Physical Button
Button Code
1 3
2 2
3 1
4 4
5 5
6 6
7 7
Yay! It’s done.
-Sud.
(this may be a gnome bug, that the [XExtensionDevice] is not considered in the control panel)
(Oh yeah, Scott Collins’ Journal Got me started on this)
Posted in Linux |