xssstate man page
xssstate — display X screensaver state
xssstate [-i] [-s] [-t] [-v]
xssstate will display the state of the X screensaver extension. See below what can be gathered.
show the idle time of X11, in milliseconds.
show the current state of the X screensaver. There is on for the screensaver being active at the moment, off for the screensaver being off and disabled for the screensaver being disabled.
will show the time that needs to be waited until the screensaver should be activated, in milliseconds.
show version information
See the License file for the authors.
See the License file for the terms of redistribution.
slock(1) xlock(1) xss(1)
Please report them.