===== touchpad (xubuntu 18.04) =====
It seems the most reliable way to get the right-click to work with two fingers only is explained [[https://askubuntu.com/questions/602193/how-to-disable-right-click-on-the-touchpad|here]] and is the one referring to editing synaptics.conf. synclient doesn't seem to work. Having said that...seems like a had a note to do this:
* synclient RightButtonAreaLeft=1180
* synclient RightButtonAreaTop=1180
update: did [[https://www.dell.com/support/article/us/en/04/sln308258/precision-xps-ubuntu-general-touchpad-mouse-issue-fix?lang=en|this]], then edited /usr/share/X11/xorg.conf.d/40-libinput.conf
Section "InputClass"
Identifier "libinput touchpad catchall"
MatchIsTouchpad "on
MatchDevicePath "/dev/input/event*"
Option "Tapping" "False"
Option "AccelProfile" "adaptive"
Option "AccelSpeed" "0.3"
Option "ClickMethod" "clickfinger"
Driver "libinput"
EndSection
===== Kubuntu 20.04 =====
* disable touchscreen: xinput --disable $(xinput --list | grep -i 'touchscreen' | grep -o 'id=[0-9]*' | sed 's/id=//')