I have a little shell script that I run automatically when I log on to my Ubuntu machine; it will set the parameters of my touchpad the way I like it. However, when Ubuntu wakes up after being hibernated or suspended, my touchpad reverts to its default state and I have to run my little script again.
Is there some way I can automate this process thus that the script will be magically called when the machine wakes up again?