You are not logged in.

#1 2012-11-13 21:15:38

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,734
Website

Query sleep state of monitor from a shell?

Is this possible?  I do not want a script to run if there is no user present.

Last edited by graysky (2012-11-13 21:38:28)

Offline

#2 2012-11-13 22:30:19

lucke
Member
From: Poland
Registered: 2004-11-30
Posts: 4,019

Re: Query sleep state of monitor from a shell?

Last line of "xset q" shows On/Off/Standby/Suspend.

Offline

Board footer

Powered by FluxBB