中央クリックの動作
貼り付けになっているのだけれど、すごくやっかいなのでやめたい
参考
xinputコマンドで入力デバイスの一覧を取得
-
TPPS/2 Elan TrackPoint
がトラックポイント部分のよう
yuta:~ $ export DISPLAY=:0
yuta:~ $ xinput
⎡ Virtual core pointer id=2 [master pointer (3)]
⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)]
⎜ ↳ SYNA8004:00 06CB:CD8B Mouse id=11 [slave pointer (2)]
⎜ ↳ SYNA8004:00 06CB:CD8B Touchpad id=12 [slave pointer (2)]
⎜ ↳ TPPS/2 Elan TrackPoint id=15 [slave pointer (2)]
⎣ Virtual core keyboard id=3 [master keyboard (2)]
↳ Virtual core XTEST keyboard id=5 [slave keyboard (3)]
↳ Power Button id=6 [slave keyboard (3)]
↳ Video Bus id=7 [slave keyboard (3)]
↳ Sleep Button id=8 [slave keyboard (3)]
↳ Integrated Camera: Integrated C id=9 [slave keyboard (3)]
↳ Integrated Camera: Integrated I id=10 [slave keyboard (3)]
↳ sof-hda-dsp Headset Jack id=13 [slave keyboard (3)]
↳ AT Translated Set 2 keyboard id=14 [slave keyboard (3)]
↳ ThinkPad Extra Buttons id=16 [slave keyboard (3)]
yuta:~ $
トラックポイント部分のキーマップを取得
yuta:~ $ xinput get-button-map "TPPS/2 Elan TrackPoint"
1 2 3 4 5 6 7
無効化設定
yuta:~ $ xinput set-button-map "TPPS/2 Elan TrackPoint" 1 0 3 4 5 6 7
永続化設定
-
.bashrc
に追記
# Disable Center Click
xinput set-button-map "TPPS/2 Elan TrackPoint" 1 0 3 4 5 6 7