The touchpad right click may not function on your computer after installing Ubuntu 18.04 LTS.
This is not an issue with the operating system or your touchpad. Gnome defaults to the Mac touchpad behavior where the entire touchpad is a single button. In order to right-click, you use two fingers to click instead of one.
terminal
and press the Enter keyThe following instructions provide two different options that depend on how you are looking to change the touchpad:
Change the Touchpad click settings:
Type the following command and press the Enter key to revert to the right click:
gsettings set org.gnome.desktop.peripherals.touchpad click-method areas
Bring up a Graphical User Interface (Graphical User Interface) with additional configuration settings
Type the following command and press the Enter key to install a tweak GUI tool:
sudo apt install gnome-tweak-tool
sudo
command gives an instruction in terminal to run the following argument with administrator privileges. (You must have an admin password and rights for this, as it asks for an account and password.)
Type the following command and press the Enter key to open the Tweak GUI tool:
gnome-tweaks
Go to keyboard and mouse and look for the Mouse click emulation section. Check the Area checkbox to enable middle and right click.