Ubuntu 17.10 触摸板:两指点击操作

Sor*_*his 5 touchpad multi-touch 17.10

嗨,我刚刚安装了 Ubuntu 17.10 并正在对其进行配置,以便我“可以”使用它。

我偶然发现了触摸板配置。

我的触摸板有两个用于左键和右键单击的硬件按钮(我都使用)。我总是使用两指点击作为鼠标中键点击的动作。这无论如何可能吗?

在以前的版本中,我可以轻松使用: synclient TapButton2=3 TapButton3=2

但这似乎不再可能了。


$ xinput                                                                 

? Virtual core pointer                      id=2    [master pointer  (3)]
?   ? Virtual core XTEST pointer                id=4    [slave  pointer  (2)]
?   ? xwayland-pointer:13                       id=6    [slave  pointer  (2)]
?   ? xwayland-relative-pointer:13              id=7    [slave  pointer  (2)]
?   ? xwayland-touch:13                         id=9    [slave  pointer  (2)]
Run Code Online (Sandbox Code Playgroud)

这告诉我 Wayland 现在负责我的触摸设置。

首先我试过: xinput set-button-map xwayland-pointer:13 1 3 2 4 5 6 7 8 9 10

虽然这允许我使用两个手指点击鼠标中键,但它也会将 my 更改right-touchpad-button为 amiddle mouse button而不是 a right mouse button


编辑 1:所以我偶然发现了这个:https : //bugs.freedesktop.org/show_bug.cgi? id =90204

这是最后一句话吗?“不会修复”?显然没有任何理由!?


所以......有没有办法让我想要的配置以某种方式成为可能?

(我知道我可能会使用回退 Xorg 登录,但是当 18.04 到来时我会遇到这个问题)

Mar*_*erg 0

您可能需要重新实现 libinput 的 synaptics 触摸板配置。Arch wiki 有一个关于 Libinput 的精彩页面,解释了如何配置 libinput,既作为测试运行时,又作为持久配置。