How do I automatically start an application on resume after suspend or hibernate?
The reason I want to do this is because I've created a script to set xinput value on startup application, but after suspend or hibernate the value in xinput back to default.
/etc/pm/sleep.d/99_my_resume.bash suspend
to suspend? Also You didn't ask to suspend, You asked to run a program on resume. So did You try it? – Adobe Jul 10 '13 at 07:55chmod
, right? I would try what the command line complains when it fails to suspend, if I were You. Here's a link to suspend from command line. – Adobe Jul 10 '13 at 13:54