在Ubontu支援Trackpoint
时间:2010-07-16 来源:eggboss
ubuntu這次真的有長足的進步啊
以前還要改文件,這次居然只要安裝!!
sudo apt-get install gpointing-device-settings
安裝後控制介面有出現,但是我的電腦還不能使用scrolling的功能,
不過我想是我的電腦的問題…
from
http://blog.roodo.com/rocksaying/archives/11828697.html
http://www.fovweb.com/fov/ubuntu-thinkpad.html
結果看了另外一篇
http://hoamon.blogspot.com/2010/05/thinkpad-usb-keyboard-with-trackpoint.html
在 /usr/lib/X11/xorg.conf.d/20-thinkpad.conf 中,置入文句如下:
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" MatchDevicePath "/dev/input/event*" Option "EmulateWheel" "true" Option "EmulateWheelButton" "2" Option "Emulate3Buttons" "false" Option "XAxisMapping" "6 7" Option "YAxisMapping" "4 5" EndSection
我的ubuntu就一整個crash了…
之後重裝,再試了一下在 /etc/rc.local 加上
# 啟用中鍵模擬功能 xinput set-int-prop "TPPS/2 IBM TrackPoint" "Evdev Middle Button Emulation" 8 1 # 啟用滾輪模擬功能 xinput set-int-prop "TPPS/2 IBM TrackPoint" "Evdev Wheel Emulation" 8 1 xinput set-int-prop "TPPS/2 IBM TrackPoint" "Evdev Wheel Emulation Axes" 8 6 7 4 5 xinput set-int-prop "TPPS/2 IBM TrackPoint" "Emulation Button" 8 2 # 靈敏度 xinput set-int-prop "TPPS/2 IBM TrackPoint" "Evdev Middle Button Timeout" 8 50 xinput set-int-prop "TPPS/2 IBM TrackPoint" "Evdev Wheel Emulation Inertia" 8 10 xinput set-int-prop "TPPS/2 IBM TrackPoint" "Evdev Wheel Emulation Timeout" 8 200
沒用,又試了一次上面的方法,結果…又crash....馬的!
最後就先在 TP4table.dat 加上
;VirtualBox.exe *,*,VirtualBox.exe,*,*,*,WheelStd,1,9
有一篇文章http://kailapis.wordpress.com/2009/08/20/trackpoint-with-virtualbox/
說 是要加 Press 0,但我試過根本不行,所以就還是用 Press 1,果然就可以了!
然後關掉tp4serv.exe再重新執行tp4serv.exe
這樣在virtualbox上面就有scrolling可以用了…再來就重裝ubuntu…
結果…就OK了…