Bug 97001

Summary: xdg-screensaver reset silently fails on gnome
Product: Portland Reporter: Jason Papakostas <vithos>
Component: xdg-utilsAssignee: Portland Bugs <portland-bugs>
Status: RESOLVED MOVED QA Contact:
Severity: normal    
Priority: medium    
Version: 1.1.0 rc3   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:

Description Jason Papakostas 2016-07-20 03:32:25 UTC
`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
Comment 1 GitLab Migration User 2019-02-16 13:37:23 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/xdg/xdg-utils/issues/89.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.