Sometimes suspend-resume breaks the use of the trackpad on XPS 15. I made a quick shell script to fix it again:
sudo rmmod psmouse sudo modprobe psmouse synclient TapButton3=2 synclient FingerHigh=40 synclient FingerLow=35 synclient HorizTwoFingerScroll=0
While it makes the touchpad work again, it doesn't do the synclient adjustments to make the middle button a three-finger-click, and adjust the tapping presssure so it doesn't move when tapping. (I have these 4 in a command in "startup applications", with ; separating them, and that does work)
Why does synclient not work from shell script, but running those commands immediately after, does work?