Ubuntu14.04でThinkPadのキーボードを使うときの設定
/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
この14.04
.bashrcに以下を追加。
# デフォルトは以下 # pointer = 1 2 3 4 5 6 7 8 9 xmodmap -e 'pointer = 1 7 3 4 5 6 2 8 9'
デフォルトの設定で
8,9はChromeの進む、戻る(逆かも。)に割り当てられていて
2はターミナルでの貼り付けに割り当てられているみたい。
とりあえず、使い道がわかっていない7をもともと2があった位置に置いて
センターボタンで何かしらのアクションが行われないようにしている。
7がどこかで使われていたら6あたりを割り当ててみる。
割り当て無しってできないのかな?
~/.Xmodmapに書けばいいとかいう記述を見たけど
やり方がよくわからなかったのでとりあえずこれでお茶を濁す。
参考URL
http://detail.chiebukuro.yahoo.co.jp/qa/question_detail/q1282956482 http://d.hatena.ne.jp/hiro_nemu/20101024/1287898287