Disable right click on touchpad

Write tutorials for Linux Mint here
More tutorials on https://github.com/orgs/linuxmint/discu ... /tutorials and (archive) on https://community.linuxmint.com/tutorial
Forum rules
Don't add support questions to tutorials; start your own topic in the appropriate sub-forum instead. Before you post read forum rules
Post Reply
nullcell

Disable right click on touchpad

Post 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
Post Reply

Return to “Tutorials”