Comment 7 for bug 1347010

Revision history for this message
Arto Jalkanen (ajalkane) wrote :

> mterry told me you can do something like this:
> 09:02 < mterry> sudo -u phablet -i gdbus call --session
> --dest=com.canonical.UnityGreeter --object-path=/list
> --method=org.freedesktop.DBus.Properties.Get
> com.canonical.UnityGreeter.List EntryIsLocked

This seems to only work if "Passphrase" is selected. When choosing from "Swipe (no security)" into "4-digit passcode", then this call still returns "false".

I'm using image 175 (devel-proposed). But anyway, I assume this is a something that's a bug in the backend and I can use the same DBus interface to query either type of lock type.