Libinput 支援點擊和雙指滾動 Ubuntu 17.04

Libinput 支援點擊和雙指滾動 Ubuntu 17.04

我希望能夠進行雙指滾動,並發現清除突觸並保留 libinput 可以讓我做到這一點。之後我注意到點擊功能不起作用。我啟用它添加:選項“Tapping”“on”

這讓它再次工作,但禁用了雙指滾動。啟用一項功能是否會停用另一項功能?如果沒有,我該如何使用 libinput 啟用兩者?

Section "InputClass"
    Identifier "libinput touchpad catchall"
    MatchIsTouchpad "on"
    MatchDevicePath "/dev/input/event*"
    Driver "libinput"
    Option "Tapping" "on"
    Option "NaturalScrolling" "true"
    Option "ScrollMethod" "twofinger"
EndSection

答案1

根據 archlinux 手冊,你的行應該如下所示:

/etc/X11/xorg.conf.d/30-touchpad.conf ...

 Section "InputClass"
 Identifier "devname"
 Driver "libinput"
 MatchIsTouchpad "on"
 Option "Tapping" "on" 
 Option "ClickMethod" "clickfinger"
 Option "NaturalScrolling" "true"

...
EndSection

請記住,其中一些可能僅適用於某些設備。

來源: https://wiki.archlinux.org/index.php/Libinput

答案2

我認為應該是Option "Tapping" "true",而不是“開”

相關內容