I am using Ubuntu 18.04 with Unity installed. Mouse was working fine until I updated using apt-get upgrade, after which, single tap opens right click menu. And tapping with two fingers selects the file. Actually pressing the touchpad buttons work fine but taps are switched. Anyone knows how to fix this?
You can add
xserver-xorg-input-synaptics
package and enable tapping.Steps:
sudo apt-get install xserver-xorg-input-synaptics
sudo mkdir -p /etc/X11/xorg.conf.d
sudo touch /etc/X11/xorg.conf.d/40-libinput.conf
40-libinput.conf
Section "InputClass" Identifier "libinput touchpad catchall" MatchIsTouchpad "on" MatchDevicePath "/dev/input/event*" Driver "libinput" Option "Tapping" "on" EndSection
systemctl restart lightdm
Source: https://wiki.debian.org/SynapticsTouchpad