Aug 29, 2011

How to make the trackpoint + middle button = scroll function for a X32 Thinkpad and Debian Squeeze

I have been using an X32 Thinkpad for some time now and I have never really found time to configure the "Trackpoint + Middle Button = Scrolling" to work. I wasted around an hour today to get this working. From creating a /usr/share/X11/xorg.conf.d/20-thinkpad.conf file (which didn't work) to creating a /etc/udev/rules.d/99_trackpoint.rules rule for udev (which didn't work) to creating the most generic X11 configuration file, the /etc/X11/xorg.conf, which also didn't work.

Long story short, to make it work, it was very simple using xinput but note that these steps may be specific to Thinkpad X32 and Debian Squeeze.

First, create a ~/.xsessionrc and the put the ff. lines inside the file:
# Enable vertical scrolling
xinput set-int-prop "TPPS/2 IBM TrackPoint" "Evdev Wheel Emulation" 8 1
xinput set-int-prop "TPPS/2 IBM TrackPoint" "Evdev Wheel Emulation Button" 8 2

(Optional)  


# Enable horizontal scrolling xinput set-int-prop "TPPS/2 IBM TrackPoint" "Evdev Wheel Emulation Axes" 8 6 7 4 5

Do restart xorg (or just restart your laptop) and it will work (it worked for me).

0 comments:

Post a Comment