ThinkPadのマウスボタンでUbuntuをスクロール

Ubuntu10.10を使っているのだけれど、ThinkPadのマウスポタンでスクロールができなくて困っていたので調べてみた。

まずは、/usr/share/X11/xorg.conf.d/20-thinkpad.confを新規作成

sudo vi /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

これであとは再起動すればOK.

参考URL:
http://d.hatena.ne.jp/hiro_nemu/20100421/1271859786
http://d.hatena.ne.jp/hiro_nemu/20101024/1287898287

コメント

コメントする