我的筆電LENOVO T61p裝了UBUNTU 10.04後,想開啟中鍵+小紅點捲動的功能,爬文後我的作法如下:
1.在終端機輸入
sudo vi /usr/lib/X11/xorg.conf.d/20-thinkpad.conf
2.貼上下文
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
3.
:wq! 再重開機。
但問題來了,我重開機後,UBUNTU載入到進桌面前的那個畫面(UBUNTU字樣底下有5個還是幾個白點在跑),他就不會動了,我就一直進不到桌面,我也重灌三次了,每次都這樣,請問問題出在哪呢? 因為我是第一次用LINUX,有些說明可能要請網友講詳細步驟,謝謝!!
Y.C.YENG wrote:
我的筆電LENOVO...(恕刪)
我用以下方式, 和 windows 裡的一樣了~~ 好用!!
=== 調整速度及靈敏度===
用 root 身份編輯 /etc/rc.local 檔案, 加入以下二行,就可以調整 TrackPoint 的敏感度,第三欄的數值範圍是 0~255,這裡列出來的數值是我自己很習慣的速度。
echo -n 120 > /sys/devices/platform/i8042/serio1/speed
echo -n 200 > /sys/devices/platform/i8042/serio1/sensitivity
=== 中鍵捲動 ===
至於中鍵可以捲動的動作,可以參閱以下動作。
以下內容引用自 http://snowpig226.blogspot.com/2010/03/ubuntu1004lenovo-trackpointscrolling.html
首先打開終端機鍵入以下指令
$sudo -i //切到root身份
$gedit /etc/gdm/PreSession/Default //編輯設定文件
之後會出現由gedit所開啟的Default文件,我們需要在這份 文件中加入以下的指令
xinput set-prop 'TPPS/2 IBM TrackPoint' "Evdev Wheel Emulation" 1
xinput set-prop 'TPPS/2 IBM TrackPoint' "Evdev Wheel Emulation Button" 2
xinput set-prop 'TPPS/2 IBM TrackPoint' "Evdev Wheel Emulation Timeout" 200
xinput set-prop 'TPPS/2 IBM TrackPoint' "Evdev Wheel Emulation Axes" 6 7 4 5
xinput set-prop 'TPPS/2 IBM TrackPoint' "Evdev Middle Button Emulation" 1
xinput set-prop 'TPPS/2 IBM TrackPoint' "Evdev Middle Button Timeout" 50
接著按儲存離開,重開機即可使用中鍵 scrolling的功能了!!
======================
樹的方向, 由風決定.
人的方向, 自己決定.
內文搜尋

X