Skip to content

Instantly share code, notes, and snippets.

@sagi
Created October 25, 2018 08:38
Show Gist options
  • Save sagi/f417fa0db992982d7fa88b83a4a98019 to your computer and use it in GitHub Desktop.
Save sagi/f417fa0db992982d7fa88b83a4a98019 to your computer and use it in GitHub Desktop.
Click on Tap for i3, Ubuntu 18.04

Check out the xinput command. xinput list will give you a list of input devices; find the ID of the one which looks like a touchpad. Then do xinput list-props <device id>, which should tell you what properties you can change for the input device. You should find one called something like Tapping Enabled and a number in parens after it (in my case, it's libinput Tapping Enabled (276). Finally, run xinput set-prop <device id> <property id> 1, and tapping should work.

To make the change permanent, find a way to run that command on startup. One way would be to add exec xinput set-prop <device id> <property id> 1 to ~/.i3/config.

// Taken from https://www.reddit.com/r/i3wm/comments/516e8c/tap_to_click_touchpad/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment