习惯了Thinkpad的朋友都会比较习惯使用红色摇杆,因为用熟了不亚于普通鼠标。然而,在安装了Ubuntu(11.04)后,默认没有开启此功能,在网上找了下,总结如下:
如果你的系统是Ubuntu10.10之前的版本,编辑/etc/X11/xorg.conf,找到:
Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
#加入以下三行
Option "EmulateWheel" "true"
Option "EmulateWheelTimeOut" "200"
Option "EmulateWheelButton" "2"
如果你的系统是Ubuntu 10.10之后的版本,找到目录/usr/share/X11/xorg.conf.d/,然后新建一个文件20-thinkpad.conf,即:
cd /usr/share/X11/xorg.conf.d/
sudo vi 20-thinkpad.conf
将下面一段拷贝进去,重启X-window即可:
Section "InputClass"
Identifier "Trackpoint Wheel Emulation"
MatchProduct "TPPS/2 IBM TrackPoint|DualPoint Stick|Synaptics Inc. Composite TouchPad / TrackPoint|ThinkPad USB Keyboard with TrackPoint|USB Trackpoint pointing device|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
希望帮助需要的朋友。