如何使点击点击,双击右击和其他类似的行为在Ubuntu19.04 x11团结上的libinput。使点击点击在鼠标和触屏设置没有什么不同。在安装xserver input后,想要的行为就会开箱即用。我用的是罗技无线触屏。
发布于 2019-07-10 09:21:04
这是一个众所周知的问题。理想情况下,您应该使用libinput
。然后,您需要简单地创建一个文件,并在瞄准正确的设备之后启用这些选项。
$ sudo su # Get root
# touch /etc/X11/xorg.conf.d/30-touchpad.conf
# vim /etc/X11/xorg.conf.d/30-touchpad.conf
在这里,您可以添加其他选项。最基本的办法是:
Section "InputClass"
Identifier "touchpad"
Driver "libinput"
MatchIsTouchpad "on"
Option "Tapping" "on"
Option "NaturalScrolling" "on"
Option "ClickMethod" "clickfinger"
EndSection
别忘了在这之后重新启动。有关更多选项,您应该检查手册页中的libinput
。一个更好的编写以前在这里,和五月现在在这里读。
https://askubuntu.com/questions/1156192
复制相似问题