It seems you can use libinput to configure your touchpad on Ubuntu.Like two fingers, Three fingers,and Four fingers.

photo_2018-05-29_21-37-34.jpg

Step 1: