sometime mouse touchpad click not working ubuntu code example
Example: Ubuntu 18.04 Mouse right click not working
$ sudo add-apt-repository universe
$ sudo apt install gnome-tweak-tool
$ sudo apt update
$ gnome-tweaks
//after that go to keyboard and mouse section and click on Area problem solved