I have a Dell XPS 13 which, by default, has a very sensitive trackpad. As you are typing, if you brush the trackpad by accident, the trackpad considers it as a click and the text insertion point jumps to wherever the mouse happens to be. I found and installed this fix for this issue:
sudo apt-get install xserver-xorg-input-libinput
However, now the scrolling is unnatural. When I use the trackpad to scroll a long document, it is the viewport that moves over the content. I want the content to move in the same direction as my fingers, just as it did before, just like on a touchscreen.
Can you explain to me what changes I should make to the files at
/usr/share/X11/xorg.conf.d/ that will make this happen?
The solution proposed here did not help.