You are not logged in.
Hi there,
I playing with a script that tracks my pc behaviour. However, I can't figure
out how to check whether xscreensaver is currently running. Any ideas?
thanks!
Last edited by kleskjr (2015-07-01 20:26:43)
Offline
Do you mean the process running:
pgrep xscreensaver...or the screen blanked?
xscreensaver-command --timeLast edited by toz (2015-07-01 19:22:18)
Offline
Thanks toz!
xscreensaver-command --time does the trick.
I did not notice the crucial difference in the following two lines:
XScreenSaver 5.32: screen non-blanked since Wed Jul 1 22:00:30 2015 (hack #188)
XScreenSaver 5.32: screen blanked since Wed Jul 1 22:02:21 2015 (hack #77)cheers, kleskjr
Offline