在 /etc/hal/fdi/policy/ 下建立文件 mouse-wheel.fdi,加入下述內容:
<match key=”info.product” string=”TPPS/2 IBM TrackPoint”>
<merge key=”input.x11_options.EmulateWheel” type=”string”>true</merge>
<merge key=”input.x11_options.EmulateWheelButton” type=”string”>2</merge>
<merge key=”input.x11_options.YAxisMapping” type=”string”>4 5</merge>
<merge key=”input.x11_options.XAxisMapping” type=”string”>6 7</merge>
<merge key=”input.x11_options.Emulate3Buttons” type=”string”>true</merge>
<merge key=”input.x11_options.EmulateWheelTimeout” type=”string”>200</merge>
</match>
重開機,然後就可以使用滾輪功能了。
<match key=”info.product” string=”TPPS/2 IBM TrackPoint”>
<merge key=”input.x11_options.EmulateWheel” type=”string”>true</merge>
<merge key=”input.x11_options.EmulateWheelButton” type=”string”>2</merge>
<merge key=”input.x11_options.YAxisMapping” type=”string”>4 5</merge>
<merge key=”input.x11_options.XAxisMapping” type=”string”>6 7</merge>
<merge key=”input.x11_options.Emulate3Buttons” type=”string”>true</merge>
<merge key=”input.x11_options.EmulateWheelTimeout” type=”string”>200</merge>
</match>
重開機,然後就可以使用滾輪功能了。
在 10.04 中:
回覆刪除在終端機輸入sudo gedit /usr/lib/X11/xorg.conf.d/20-thinkpad.conf
其中gedit可以換成所慣用的文字編輯器(如vi)
輸入
Section "InputClass"
Identifier "Trackpoint Wheel Emulation"
MatchProduct "TrackPoint"
MatchDevicePath "/dev/input/event*"
Driver "evdev"
Option "EmulateWheel" "true"
Option "EmulateWheelButton" "2"
Option "Emulate3Buttons" "false"
Option "XAxisMapping" "6 7"
Option "YAxisMapping" "4 5"
EndSection
存檔離開,重新啟動X或重新開機
參考:http://psung.blogspot.com/2010/04/thinkpad-trackpoint-scrolling-in-ubuntu.html
-----
ref: http://www.ubuntu-tw.org/modules/newbb/viewtopic.php?topic_id=26214&forum=2