вторник, 12 октомври 2010 г.



ThinkPad middle button scroll Ubuntu 10.10 Maverick




Use the middle button + trackpoint to scroll horizontally and vertically. Based on Eastwood Zhao‘s post, updated for Ubuntu 10.10 Maverick.
Create /usr/share/X11/xorg.conf.d/20-thinkpad.conf
sudo gedit /usr/share/X11/xorg.conf.d/20-thinkpad.conf
Insert the following:

Section "InputClass"
Identifier "Trackpoint Wheel Emulation"
MatchProduct "TPPS/2 IBM TrackPoint|DualPoint Stick|Synaptics Inc. Composite TouchPad / TrackPoint"
MatchDevicePath "/dev/input/event*"
Option  "EmulateWheel"  "true"
Option  "EmulateWheelButton" "2"
Option  "Emulate3Buttons" "false"
Option  "XAxisMapping"  "6 7"
Option  "YAxisMapping"  "4 5"
EndSection


Save the file (Control+x y Enter)
Reboot the computer

Tested on a Lenovo ThinkPad X201 and x40

Няма коментари:

Публикуване на коментар