I'm running 12.04 on a Star4, and I've had problems with my touchpad settings in the past (see this thread), but following the instructions in the System76 knowledge base, my settings load properly at startup. However, they reset after I close the lid, which is a mild annoyance. I usually just execute the settings file, but I've been trying to set up a script to do it automatically.

I created a file /etc/pm/sleep.d/90_toupadsettings

These are the contents:

Code:
#!/bin/bash

# Reload touchpad setting on wake.
# Settings are stored at /usr/bin/start-touchpad

case "{$1}" in
        suspend|hibernate)
                # do nothing
        ;;
        resume|thaw|wake)
                /usr/bin/start-touchpad
        ;;
esac
This doesn't work. Is there something wrong with the script? Could it be the permisisons?
These are the permissions for 90_touchpadsettings
Code:
$ ls -l 90_touchpadsettings
-rwxr-xr-x 1 root root  213 Sep 26 13:27 90_touchpadsettings
And here they are for start-touchpad
Code:
$ ls -l start-touchpad 
-rwxr-xr-x 1 root root 46 Nov 10  2011 start-touchpad
Any ideas?