24 May
2010
24 May
'10
10:14 p.m.
On Mon, May 24, 2010 at 8:36 AM, Markus <markus@hackfleischeis.de> wrote:
Hello everyone,
i would like to write a little script, that suspends my computer if a few circumstances are met.
One should be, that my screen should be blanked. I already did a google search on this, but i only found howtos of getting it to work / disable it.
It looks like xset q does not print the actual state. Maybe there is a hook for screen blanking?
I know this is not a arch specific question, but maybe someone can help me.
If this is X specific, you might want to drop to the C level - write an app that uses a normal Xlib event loop, and catches all input events (keyboard and mouse events). After a given timeout with no input events, do your blanking / suspend