LoginSignup
3
0

More than 3 years have passed since last update.

Ubuntu 19.04 で TouchPad の TappingDrag を disable にする方法

Posted at

TL;DR

$ gsettings set org.gnome.desktop.peripherals.touchpad tap-and-drag false

経緯

  • libinput 経由で使う TouchPad には Tapping Drag という機能がある。
    • 2回連続で tap (トントン) としてから指を動かすと Drag しているとみなされる。
    • が、この機能はたくさんあるチェックボックスを連続でチェックするような場合などに誤操作しまくりになり、はっきりいって不便。
  • Tapping Drag を GNOME3 環境で外す方法を記載するよ。

disable TappingDrag

gsettings

  • この方法が安全確実。
    • ただしこの方法だと libinput から TouchPad だと認識されたデバイス全てで同様の設定を行なってしまうので注意。
$ gsettings set org.gnome.desktop.peripherals.touchpad tap-and-drag false

xorg.conf

  • libinput の設定を変更するには xorg.conf に記載する方法もある。
  • ただしこの方法だと GNOME3 が設定を上書きしちゃうので、意図通りの設定ができない。
    • GNOME3 以外の環境(KDE や Xfce など)だとこの方法が安全確実なのかもしれない。
/etc/X11/xorg.conf.d/99-libinput-custom-config.conf
Section "InputClass"
        Identifier "libinput TouckPad"
        MatchIsTouchpad "on"
        MatchDevicePath "/dev/input/event*"
        Option "Tapping" "on"
        Option "TappingDrag" "off"
        Option "TappingDragLock" "off"
        Driver "libinput"
EndSection

See Also

3
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
3
0