- 编辑
/usr/share/X11/xorg.conf.d/40-libinput.conf
Section "InputClass"
Identifier "libinput touchpad catchall"
MatchIsTouchpad "on"
MatchDevicePath "/dev/input/event*"
Driver "libinput"
Option "Tapping" "on" # 开启
Option "TapButton1" "1" # 左键
Option "TapButton2" "2" # 右键(2指)
Option "TapButton3" "3" # 中键(3指)
EndSection
- 重启 lightdm
sudo systemctl restart lightdm.service