感謝 BlueT 前輩介紹的 gpointing-device-settings,它是專門用來設定捲動(Scroll)、中鍵點擊(Middle button Click)的圖形化設定軟體,不巧 Marble 的設定少了第 9 鍵,也就是圖中的 3 號,也試過撰寫 shell script 來跑 xinput (請參考 Ubuntu 10.04 LTS (Lucid Lynx) Note 一文)。於 /usr/lib/X11/xorg.conf.d 建個 20-marble.conf。
jonny@lucid:~$ sudo vi /usr/lib/X11/xorg.conf.d/20-marble.conf
Section "InputClass"
Identifier "Trackball Wheel Emulation"
MatchProduct "TrackBall"
MatchDevicePath "/dev/input/event*"
Driver "evdev"
Option "EmulateWheel" "true"
Option "EmulateWheelButton" "9" # 9 為上圖的 3 號鍵
Option "Emulate3Buttons" "false"
Option "XAxisMapping" "6 7"
Option "YAxisMapping" "4 5"
EndSection
然後重新啟動 gdm 或登出。
jonny@lucid:~$ sudo /etc/init.d/gdm restart
接下來只希望 Ubuntu 別在搞改版 = 改使用者習慣的事情發生。
延伸閱讀:
★Logitech Marble on Ubuntu 9.10
資料來源:
★Ubuntu Lucid Lynx & Trackpoint by lRabbit
相關連結:
★Logitech_Marblemouse_USB on Ubuntu Documentation
1 Feedback:
謝謝您的寶貴意見,凍仁一定會盡快處理 ~^^