debian touchpad i3wm 触摸板配置

  1. 编辑/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
  1. 重启 lightdm
    sudo systemctl restart lightdm.service
posted @ 2022-09-22 23:47  cliter  阅读(332)  评论(0)    收藏  举报