[Portland-bugs] [Bug 97001] New: xdg-screensaver reset silently fails on gnome

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Jul 20 03:32:25 UTC 2016


https://bugs.freedesktop.org/show_bug.cgi?id=97001

            Bug ID: 97001
           Summary: xdg-screensaver reset silently fails on gnome
           Product: Portland
           Version: 1.1.0 rc3
          Hardware: x86-64 (AMD64)
                OS: Linux (All)
            Status: NEW
          Severity: normal
          Priority: medium
         Component: xdg-utils
          Assignee: portland-bugs at lists.freedesktop.org
          Reporter: vithos at gmail.com

`xdg-screensaver reset` does nothing on gnome but fails silently, returning
exit code 0

https://cgit.freedesktop.org/xdg/xdg-utils/tree/scripts/xdg-screensaver.in?id=066b46418f454c0b7e1b5e1478f5f94d91276c14#n533

If you add --print-reply you can at least get a non-zero exit status and this
message:
Error org.freedesktop.DBus.Error.UnknownMethod: No such method
'SimulateUserActivity'

I believe this is the where gnome rejects the call:
https://github.com/GNOME/gnome-settings-daemon/blob/f8db21e27f89e58e1439be42052f12d5bdf8ecc1/plugins/screensaver-proxy/gsd-screensaver-proxy-manager.c#L257-L258

I don't know if there's a replacement API, I couldn't find one.

I'm using Arch Linux,
extra/gnome-shell 3.20.3-1 (gnome) [installed]
extra/xdg-utils 1.1.1-3 [installed]

Though the version reported by xdg-screensaver is different:

❯ xdg-screensaver --version
xdg-screensaver 1.1.0 rc3

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/portland-bugs/attachments/20160720/93ca2745/attachment.html>


More information about the Portland-bugs mailing list