DEV Community

Yofre Ormaza
Yofre Ormaza

Posted on • Updated on

How to enable touchpad taps on Arch Linux?

touchpad taps

๐Ÿ’ก All of the following will be executed from the system terminal

1. Install libinput

image install

2. Create the 40-libinput.conf file

You can use Vim or another terminal text editor like nano or neovim, in my case I will use Vim.

  1. sudo vim /etc/X11/xorg.conf.d/40-libinput.conf

  2. Add the following instructions:

Section "InputClass"
    Identifier "libinput touchpad catchall"
    MatchIsTouchpad "on"
    MatchDevicePath "/dev/input/event*"
    Driver "libinput"
    Option "Tapping" "on"
    Option "TappingDrag" "on"
    Option "TappingButtonMap" "lrm"
EndSection
Enter fullscreen mode Exit fullscreen mode

3. Save the file and exit Vim (:wq)

4. Reboot your computer

That's it! ๐Ÿ’ป

Top comments (0)