Comment 31 for bug 311869

Revision history for this message
hansvschoot (hansvschoot) wrote :

also managed to fix the hibernate problem, the INSTALL file instructions gave some minor problems.

to fix the hibernate/suspend mouse issue, i created a script in /etc/pm/sleep.d/ (press Alt+F2, type in: gksudo nautilus and browse to that folder)
use right mouse button to create a new empty document. open the document with a double-click and add the following to it:

#!/bin/sh
# this script resets the touchpad after a hibernate or suspend and reloads the fspc settings script.

case "${1}" in
        resume|thaw)
  echo -n R > /sys/devices/platform/i8042/serio1/flags
  fspc -t -l ~/fspc.ini
                ;;
esac

save the file, and use the nautilus window to give it execute rights.

make shure the fspc -t -l ~/fspc.ini line points to the location of the file with your fspc settings, how to make a settings file is described in the attachment in the post above.