Comment 10 for bug 1765832

Revision history for this message
Matthew Ross (mattross65-1) wrote :

I'm using 20.04 Ubuntu with Gnome desktop and have the same issue. As a fix I used code mentioned above Eg "modprobe psmouse" as the solution.

I placed the following code in a file called "touchpad"

     #!/bin/sh
     $sudo modprobe -r psmouse && $sudo modprobe psmouse

To do that I used "sudo gedit" and navigated to the directory and put the text in.
I then ran the below command in the terminal to make it executable

      chmod +x /lib/systemd/system-sleep/touchpad

To my understanding (which is limited) anything in that directory runs when the computer wakes up so the two finger option starts again automatically. The "touchpad idea came by varying the code on the below site with the solution mentioned above.

https://unix.stackexchange.com/questions/309247/linux-mouse-freezes-after-suspend

It appears to work reliably so far, and while it is not a true fix to the bug, it might further assist in the meantime.. Cheers M.