DEV Community

Yofre Ormaza
Yofre Ormaza

Posted on • Edited 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 (1)

Collapse
 
ilorez profile image
Zobair Najdaoui

thanks, it's really easy and simple and that save my time.