Hi folks.
I'm trying to get the backlight program to run after a few minutes of inactivity.
I know that both JWZ's xscreensaver and the other package xautolock support running arbitrary programs after inactivity (though I think xscreensaver expects it to actually draw on the root window...) so I'm hoping to hook up the 'backlight' script to one or the other.
Before I roll up my sleeves and get started, does anyone here have any particular expertise with either of these packages?
One of the gotchas is that the light programs are just flip-switch things. There isn't any "turn on" or "turn off" commands, so it would be easy to get the thing out of sync.
My plan is something like this:
1. See if I can simply get one of the daemons to launch the program on inactivity and subsequently on activity, and hope that it doesn't get out of sync
2. change the power-off button on the IA1 to force the screen saver program to "save" rather than directly manipulating the bit (this should help keep it from getting out of sync)
3. as a last resort, mix the c source of xautolock and the backlight.c program. I had c in college, but that was 10 years ago, so it's probably beyond me.
If anyone has advice or opinion for me, let me know.