Enable Laptop Touchpad on Arch Linux

nurfitri
Enable Laptop Touchpad on Arch Linux

Enabling Laptop Touchpad in Arch Linux.

  1. Install the touchpad driver using:
pacman -Sy xf86-input-synaptics
  1. According to the Arch Linux website, it is advised to use libinput instead of xf86-input-synaptics,

Enable Two-Finger Touch for Right-Click

You can configure this in two ways:

Method 1: Using Configuration File

  1. Create or edit the file /etc/X11/xorg.conf.d/70-synaptics.conf with the following content:
Section "InputClass"
    Identifier "touchpad"
    Driver "synaptics"
    MatchIsTouchpad "on"
        Option "TapButton1" "1"
        Option "TapButton2" "3"
        Option "TapButton3" "2"
        Option "VertEdgeScroll" "on"
        Option "VertTwoFingerScroll" "on"
        Option "HorizEdgeScroll" "on"
        Option "HorizTwoFingerScroll" "on"
        Option "CircularScrolling" "on"
        Option "CircScrollTrigger" "2"
        Option "EmulateTwoFingerMinZ" "40"
        Option "EmulateTwoFingerMinW" "8"
        Option "CoastingSpeed" "0"
        Option "FingerLow" "30"
        Option "FingerHigh" "50"
        Option "MaxTapTime" "125"
        ...
EndSection

Method 2: Using synclient

  1. Use synclient -l to list your touchpad options.

  2. To enable double-tap for right-click

nurbxfit@jun:~ synclient TabButton2=3
  1. to enable single tab for leftclick
nurbxfit@jun:~ synclient TabButton1=1