2010年5月2日 星期日

Ubuntu 10.04 Thinkpad 使用小紅點捲軸功能

reference: Thinkpad TrackPoint Scrolling in Ubuntu Lucid/10.04

Step1.建立一個新的檔案:

  • 指令:sudo gedit /usr/lib/X11/xorg.conf.d/20-thinkpad.conf


  • 檔案 20-thinkpad.conf 的內容為:

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
 
Step2. 存檔。(完成)