Gnome 3 screensaver (not suspend) resume hook?

Posted by Daniel on Super User See other posts from Super User or by Daniel
Published on 2012-10-22T10:19:23Z Indexed on 2012/10/22 11:05 UTC
Read the original article Hit count: 269

Filed under:
|
|

Since whenever my laptop screen resumes sleeping (i.e. wakes up from screensaving) some settings are reset, such as keyboard backlight, I'd like to run some scripts each time this happens. I'm using gnome 3 with fedora 17 by the way.

When researching this issue I came across pm-utils which allows one to hook anything to events handled by pm-utils but it seems to me monitor sleeping (i.e. screensaving) is not one of them. Looks like pm-utils only handles suspend and hybernate.

So is there a way to hook up custom programs to screensaver?

© Super User or respective owner

Related posts about linux

Related posts about screensaver