小智 12
由于Touchpad Synaptics不再主动更新,您可以改用libinput。
/etc/X11/xorg.conf.d/30-touchpad.conf
Section "InputClass"
Identifier "touchpad"
Driver "libinput"
MatchIsTouchpad "on"
Option "Tapping" "on"
Option "ScrollMethod" "edge"
EndSection
Run Code Online (Sandbox Code Playgroud)
这里列出了所有选项。
小智 11
最简单的方法是使用synclient。
用:
synclient -l
Run Code Online (Sandbox Code Playgroud)
列出所有选项及其当前设置,然后您可以使用:
synclient var1=value1 [var2=value2] ...
Run Code Online (Sandbox Code Playgroud)
更改不同的选项。
要使更改永久化,您可以创建一个脚本并在 i3 登录时运行它或编辑文件 /etc/X11/xorg.conf.d(如果您没有从 /etc/X11/xorg.conf 复制它。 d/50-synaptics.conf )。在 /etc/X11/xorg.conf.d 中,您应该将设置写在:
Section "InputClass"
Identifier "touchpad"
Driver "synaptics"
MatchIsTouchpad "on"
Run Code Online (Sandbox Code Playgroud)
在形式:
Option "var1" "value1"
...
Run Code Online (Sandbox Code Playgroud)
对于右侧的点击和垂直滚动,您应该添加:
Option "TapButton1" "1"
Option "VertEdgeScroll" "0"
Run Code Online (Sandbox Code Playgroud)
您还可以查看有关Touchpad_Synaptics 的arch linux wiki 页面
如果您想要更多手势,请查看touchegg