Libinput disable middle-click paste on touchpad

Hi all,

I’m not particularly new to Manjaro but I’m not technically very proficient. I recently started using i3wm. Absolutely loving it. However,I was wondering how I can deactivate the middle click on my touchpad.

I’m using libinput. So I access the config at


I’ve played around with this before to change the scroll direction etc. But I couldn’t find anything online about the syntax to deactivate the middle click.

It currently says:

Section "InputClass"
        Identifier "libinput touchpad catchall"
        MatchIsTouchpad "on"
        MatchDevicePath "/dev/input/event*"
        Driver "libinput"
        Option "NaturalScrolling" "True"
        Option "Tapping" "on" 
        Option "TappingButtonMap" "r"

I want to be able to two-finger tap to right click, click to left click. I don’t need the middle click at all.

Any feedback or info would be very much appreciated.