I'm not fully sure if it will be what you expect, but you can disable all touchpad buttons except the left one by doing:
synclient RTCornerButton=1 RBCornerButton=1 LTCornerButton=1 LBCornerButton=1 TapButton1=1 TapButton2=0 TapButton3=0
If it is what you are looking for, you will have to edit the file /usr/share/X11/xorg.conf.d/70-synaptics.conf in order to make those changes persistent.
EDIT: To make persistent changes
To make changes persistent independently of any updates, you can either 1) create a script run at the startup such as suggested here: Execute a command 20 seconds after the desktop is booted.
In your case, it will be something like:
#!/bin/bash
sleep 40
synclient RTCornerButton=1 RBCornerButton=1 LTCornerButton=1 LBCornerButton=1 TapButton1=1 TapButton2=0 TapButton3=0
Or 2) you can edit/create a xorg.cong file in /etc/X11/xorg.conf
.
However, I'm not advanced enough in Linux to recommend you to follow this solution because I'm not sure of the outcome. It's up to you.
Maybe someone else will be able to give you the right path to follow.
From what I found online, it should look like that:
Section "InputClass"
Identifier "touchpad catchall"
Driver "synaptics"
MatchIsTouchpad "on"
Option "TapButton1" "1"
Option "TapButton2" "0"
Option "TapButton3" "0"
Option "RBCornerButton" "1"
Option "RTCornerButton" "1"
Option "LTCornerButton" "1"
Option "LBCornerButton" "1"
EndSection
Again, I can't certified it will works. It's your call if you want to try that.
You can read more about this here:
https://manpages.ubuntu.com/manpages/cosmic/man5/xorg.conf.5.html and
Where is the X.org config file? How do I configure X there?
/usr
as they can be replaced by update. It will be better if you'll give an example of/etc/X11/Xorg.conf
that does the job. – val - disappointed in SE Nov 01 '19 at 13:59/etc/X11/xorg.conf
will work because I'm not advanced enough for that. I'll rather prefer to create a script running at the startup. Safer for me. – dc37 Nov 01 '19 at 14:48xorg.conf
solution, it doesn't seem to work :\ – val - disappointed in SE Dec 06 '19 at 14:21