Page 1 of 1

Disable right click on touchpad

Posted: Sun Sep 25, 2016 10:18 pm
by nullcell
I wanted to enable two finger click for the right mouse button on my touchpad and disable the right mouse pad region. When I went to disable the right button I found a lot of misinformation which led me to write this, which is more of a tip than a tutorial.

I'm running Linux Mint 18 - Cinnamon

Step 1. Open a terminal

Step 2. Open /usr/share/X11/xorg.conf.d/50-synaptics.conf

Code: Select all

sudo vi /usr/share/X11/xorg.conf.d/50-synaptics.conf
Step 3. Find the follow text

Code: Select all

Section "InputClass"
        Identifier "Default clickpad buttons"
        MatchDriver "synaptics"
        Option "SoftButtonAreas" "50% 0 82% 0 0 0 0 0"
        Option "SecondarySoftButtonAreas" "58% 0 0 15% 42% 58% 0 15%"
EndSection
Step 4. Comment it out so it looks like the following

Code: Select all

#Section "InputClass"
#        Identifier "Default clickpad buttons"
#        MatchDriver "synaptics"
#        Option "SoftButtonAreas" "50% 0 82% 0 0 0 0 0"
#        Option "SecondarySoftButtonAreas" "58% 0 0 15% 42% 58% 0 15%"
#EndSection
Step 5. Reboot
If you know what services needs to be restarted, please let me know and I'll edit this