[arch-general] Script to check monitor blank state
"Jérôme M. Berger"
jeberger at free.fr
Tue May 25 13:17:29 EDT 2010
Markus 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?
>
Here, "xset q" has a line that says: "Monitor is On". Couldn't you
use that?
Jerome
--
mailto:jeberger at free.fr
http://jeberger.free.fr
Jabber: jeberger at jabber.fr
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: OpenPGP digital signature
URL: <http://mailman.archlinux.org/pipermail/arch-general/attachments/20100525/779ce830/attachment-0001.bin>
More information about the arch-general
mailing list