I’m trying to note down workstation/System screen lock of each employee working in ubuntu OS. I needed to store these record in a DataBase. using JAVA. I have searched all over and got on idea for UBUNTU; But got idea how to do the same in windows OS.
I’m trying to note down workstation/System screen lock of each employee working in ubuntu
Share
From here:
Use the Runtime class to execute that command and read back the result.
EDIT: use
grep -qHere an example how to use it:
EDIT: added perl script watching dbus signals. Source:
Gnome Screensaver FAQ