Dell Vostro 3568 model ubuntu 17.04 touch-pad left and right click behaving same way

First add the line Option "ClickPad" "true" to the file /usr/share/X11/xorg.conf.d/70-synaptics.conf so that the final output looks like:

Section "InputClass"
        Identifier "touchpad catchall"
        Driver "synaptics"
        MatchIsTouchpad "on"
        MatchDevicePath "/dev/input/event*"
        Option "ClickPad" "true"
EndSection

Then reboot the system. Right click should work fine now.


Adapted from this Red Hat bug report, as suggested by Hi-Angel.