If you are facing common mouse/touchpad problems in Ubuntu, such as “Ubuntu touchpad not working properly” or “Ubuntu touchpad not moving cursor”, here’s how to fix Ubuntu 18.04 mouse not working.
Ubuntu 18.04 comes with libinput touchpad driver by default, but the Ubuntu 18.04 machine is missing Synaptics touchpad driver. To install the Synaptics touchpad driver, run the following commands:
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install xserver-xorg-input-synaptics
Once installed, in terminal, run the following command:
gsettings set org.gnome.desktop.peripherals.touchpad click-method areas
Or, install gnome-tweak-tool (run the command “sudo apt install gnome-tweak-tool”). Once installed, go to the “Keyboard & Mouse” sub-menu in the left menu of gnome-tweak-tool, and select “Area” from the the touchpad’s “Click Emulation” menu in the right side panel.