ubuntu 18.04 trackpad not working code example
Example 1: in ubuntu both mouse pad key working same
//run this command in your terminal window//
gsettings set org.gnome.desktop.peripherals.touchpad click-method areas
Example 2: right click touchpad ubuntu budgie
gsettings set org.gnome.desktop.peripherals.touchpad click-method areas