I want to run a script in Python to detect when a user tries to unlock the screen, but fails.
I use elementary OS Freya and light-lock. I tried it with dbus, but I couldn't figure out how to do it.
I'm trying this:
This is the result:
signal sender=org.freedesktop.DBus -> dest=:1.170 serial=2 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=NameAcquired string ":1.170"
I don't know what to make of this. Because after that, the terminal stays quiet and doesn't show anything.