I wonder on which version of Unity is that supposed to work.  Maybe it
works on Utopic, but it doesn't work on Trusty:

$ gdbus call --session --dest com.canonical.Unity --object-path 
/com/canonical/Unity/Session --method com.canonical.Unity.Session.IsLocked
Error: GDBus.Error:org.freedesktop.DBus.Error.UnknownMethod: No such method 
'IsLocked'

Is there any alternative for Trusty?

I understand the fact that it's not the same thing to have the screen
locked than to have the screen in blacked out.  However, there have been
plenty of programs or applets written in the past that check whether the
screensaver is active or not by checking this method and this is how it
worked with Unity in Precise.  This basically breaks anything that used
those checks, requiring changes specific for Unity, while gnome-
screensaver keeps behaving the same way.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1342152

Title:
  GetActive method for the screensaver reports False even when
  screensaver is active

To manage notifications about this bug go to:
https://bugs.launchpad.net/unity/+bug/1342152/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to