Hello,
I'd like to save battery on my laptop and want to dynamically adjust the brightness of my display. Basically I'd like to have what Apple's i- and Powerbooks already do
The brightness itself can be easily changed with sonypi and spicctrl (I have a sony vaio).
However I'm struggling to find a way to get a signal when the user has been idle for n seconds. I've found some mailing lists suggesting g_idle_add. But this seems to be application specific and not what I have in mind. Another interesting thing might be the Xidle extensions. But I couldn't find any detailed information on how to use them on the map.
Can you give me some starting points?
Thanks in advance
Misel