13
4
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?
Here's a complete example of the script: ubutnuforums.
– Adobe – 13 years agoI did create the script and I made sure that it is being run. But it doesn't seem to have any effect. I guess this is due to that bug, though. – innaM – 16 years ago
3Perhaps, the touchpad is reinitialized after the resume scripts are run... losing its configuration. – Juliano – 16 years ago
I'd like to add that this facilities are documented in
man pm-action
which, btw, says that the user supplied scripts should be named 00 - 49. – mnicky – 12 years ago