Question: Trackpad two finger scrolling and right-click issue with Ubuntu 17.10 (i386, 64bit, GNOME 3.26.1) on a Lenovo T540p (the model with a Intel Core i5-4210M Haswell CPU etc)

Answer: 
I guess I know what you mean. If you install *Gnome Tweaking Tool*, a.k.a. *Tweaks*, you can go to `Keyboard & Mouse > Click Method > Fingers`. That might solve it.
Still broken in 22.04 on my ThinkPad X240. An alternative to the kernel command line workaround is creating the file `/etc/modprobe.d/psmouse.conf` containing

```
options psmouse synaptics_intertouch=0

```

and reload the module

```
sudo modprobe -r psmouse
sudo modprobe psmouse

```