トラックポイントの設定

トラックポイントの中心ボタンでのスクロールが効かない.あと,タッチパッドは使わないし,たまに親指の付け根で動いちゃう事があって邪魔なので無効化する.
ただし,正規の方法であるgpointing-device-settingsコマンドを利用する方法は,X11を起動するたびに設定が無効になってしまうので(たぶんUbuntuのデフォルトWMではなくXmonadを使ってるせいだと思う),Xorgの正攻法でどうにかする.

設定にはここのページを参考にした.

トラックポイントの有効化

/usr/share/X11/xorg.conf.d/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

横スクロールが不要ならYAxisMappingの行を消せばOK

タッチパッドの無効化

/usr/share/X11/xorg.conf.d/50-synaptics.confを以下のように編集.

--- 50-synaptics.conf.orig      2011-08-13 23:05:43.587262932 +0900
+++ 50-synaptics.conf   2011-08-13 23:05:30.497262930 +0900
@@ -3,4 +3,5 @@
         Driver "synaptics"
         MatchIsTouchpad "on"
         MatchDevicePath "/dev/input/event*"
+        Option "Ignore" "on"
 EndSection