The Cookie Machine - Click here to drag window

DUMMY TEXT - Real text set in assets/js/theCookieMachine.js

If you can read me, I'm broken!

Views: 6,485     Votes:  3 
Tags: touchpad   hardware   synaptics   libinput  
Link: 🔍 See Original Answer on Ask Ubuntu ⧉ 🔗

Title: Libinput: Change Touchpad 2 finger and 3 finger clicks
ID: /2018/01/25/Libinput_-Change-Touchpad-2-finger-and-3-finger-clicks
Created: January 25, 2018    Edited:  June 12, 2020
Upload: December 3, 2023    Layout:  post
TOC: false    Navigation:  false    Copy to clipboard:  false

From this page:

Button re-mapping

Swapping two- and three-finger tap for a touchpad is a straight forward example. Instead of the default three-finger tap for pasting you can configure two-finger tap pasting by setting the TappingButtonMap option in your Xorg configuration file. To set 1/2/3-finger taps to left/right/middle set TappingButtonMap to lrm, for left/middle/right set it to lmr.


Section "InputClass"
    Identifier "touchpad"
    Driver "libinput"
    MatchIsTouchpad "on"
    Option "Tapping" "on"
    Option "TappingButtonMap" "lmr"

Remember to remove MatchIsTouchpad "on" if your device is not a touchpad and adjust the Identifier accordingly.

You might want to read the entire page linked above as it covers many interesting topics such as running synaptics and libinput in parallel.

⇧ Is it possible to update Ubuntu Live USB stick? Help 6Mb/s WIFI connection speed Qualcomm Atheros Device [168c:0042] (rev 31)  ⇩