I was able to fix it with the comment by nschmelzle here:
https://gist.github.com/tsrivishnu/5b467f07374ce42ad6d97b6a3fdf0ea5
The problem was that the touchpad was using the synaptics driver, while the
trackpoint used libinput. The solution was to uninstall the synaptics driver:
apt remove
I have a similar problem as Ibrahim Awwal. I have just upgraded to 18.04
and my middle click scrolling stopped working.
my output of xinput list-props "TPPS/2 IBM TrackPoint"
Device 'TPPS/2 IBM TrackPoint':
Device Enabled (143): 1
Coordinate Transformation Matrix (145):