How to enable tap-to-click in libinput on Ubuntu 19.04 x11 Unity

6,547

This is a well known issue. You should ideally use libinput. Then you need to simply create a file and enable the options after targeting the right device.

 $ sudo su # Get root
 # touch /etc/X11/xorg.conf.d/30-touchpad.conf
 # vim /etc/X11/xorg.conf.d/30-touchpad.conf

Here you can now add additional options. A basic one would be:

Section "InputClass"
Identifier "touchpad"
Driver "libinput"
  MatchIsTouchpad "on"
  Option "Tapping" "on"
  Option "NaturalScrolling" "on"
  Option "ClickMethod" "clickfinger"
EndSection

Don't forget to reboot after this. For more options you should check the man pages for libinput. A better write-up is here.

Share:
6,547

Related videos on Youtube

A-O
Author by

A-O

Updated on September 18, 2022

Comments

  • A-O
    A-O over 1 year

    How to enable tap to click, double tap to right click and other such behaviours in libinput on Ubuntu 19.04 x11 Unity. Enabing Tap to click in Mouse and Touchpad settings makes no difference. The wanted behaviours work out of the box with xserver-xorg-input-synaptics installed. I am using a Logitech Wireless Touchpad.