中央クリックの動作
貼り付けになっているのだけれど、すごくやっかいなのでやめたい
参考
https://www.virment.com/thinkpad-ubuntu-how-to-disable-middle-button-paste/
xinputコマンドで入力デバイスの一覧を取得
TPPS/2 Elan TrackPoint
がトラックポイント部分のよう
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 |
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:~ $ |
トラックポイント部分のキーマップを取得
1 2 |
yuta:~ $ xinput get-button-map "TPPS/2 Elan TrackPoint" 1 2 3 4 5 6 7 |
無効化設定
1 |
yuta:~ $ xinput set-button-map "TPPS/2 Elan TrackPoint" 1 0 3 4 5 6 7 |
永続化設定
.bashrc
に追記
1 2 |
# Disable Center Click xinput set-button-map "TPPS/2 Elan TrackPoint" 1 0 3 4 5 6 7 |