Triggering script to run after program exit?
There is an upstream bug in XFCE4 that causes your screen to go blank every 10 minutes if you're not actively using the mouse and keyboard no matter what your power or screen saver settings are.
After doing some poking around on the web I wrote a very basic (my first ever) script to change the xset parameters at startup to prevent this from happening; thus letting the settings that I have configured for the screensaver and power settings in xscreensaver-demo take effect.
It works as expected.
I set my screen saver to 30 minute time out.
I then installed caffeine and set it to prevent screensave activation for xine and netflix-desktop so that I could watch movies without touching the mouse every 1/2 hours.
Caffeine works, but with one small hitch.
It returns the xset settings to default; which makes the screen go blank after 10 minutes unless I remember to manually run my start up script that resets xset.
What I would like to do (and have no idea how and have had no luck with figuring it out through google) is to tell my system to run my script again after both netflix-destop and xine exit so my screen automagically won't go blank if I go raid the fridge after the movie is over.