Skip to content

Instantly share code, notes, and snippets.

@icve
Last active May 10, 2019 13:26
Show Gist options
  • Select an option

  • Save icve/b4d3540e70117beab6c4875051ba2b8d to your computer and use it in GitHub Desktop.

Select an option

Save icve/b4d3540e70117beab6c4875051ba2b8d to your computer and use it in GitHub Desktop.
X11/xorg/libinput trackpad config

file path: /etc/X11/xorg.conf.d/30-touchpad.conf

  1. enables single tap to left click
  2. disbale trackpad middle click to prevent accidentally middle clicking(3 finger tap) and copy/pasting random things

reference:

Section "InputClass"
  Identifier "MyTouchpad"
  MatchIsTouchpad "on"
  Driver "libinput"
  Option "Tapping" "on"
  Option "ButtonMapping" "1 0 3"
EndSection
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment