Oct 25, 2006

Linuxで左右ボタン同時クリックがきかない件

Ubuntuのデスクトップ環境で試したら左右ボタン同時クリックが左右ボタン同時クリックとして機能しなくて困った。Linuxとかだと左右同時押し=中クリックとみなすというのがデフォらしい。

調べてみると、この挙動は/etc/X11/XF86Configや/etc/X11/xorg.confで設定を変えてやれば無効にできるようだったので、やってみた。とはいえ、Let's noteのタッチパッドに中ボタンが無くてこの機能も有用ではあるので、ただ全面的に無効にするのではなく、外部のマウスではこの挙動を無効に、タッチパッドではこの挙動を有効に、という風に。

Section "InputDevice"
    Identifier  "Configured Mouse"
    Driver      "mouse"
    Option      "CorePointer"
    Option      "Device"        "/dev/input/mice"
    Option      "Protocol"      "ImPS/2"
#   Option      "Emulate3Buttons"   "true"  # ここをコメントアウト
    Option      "ZAxisMapping"      "4 5"
EndSection

Section "InputDevice"
    Identifier  "Synaptics Touchpad"
    Driver      "synaptics"
    Option      "SendCoreEvents"    "true"
    Option      "Device"        "/dev/psaux"
    Option      "Protocol"      "auto-dev"
    Option      "HorizScrollDelta"  "0"
    Option      "Emulate3Buttons"   "true"  # 代わりにこっちに追加
    Option          "SHMConfig"             "true"
EndSection

……という風にあてずっぽでやったらうまくいった。

エントリを編集します。

wikieditish message: Ready to edit this entry.











拡張機能