xdg-screensaver reset silently fails on gnome
Submitted by Jason Papakostas
Assigned to Portland Bugs
xdg-screensaver reset does nothing on gnome but fails silently, returning exit code 0
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
Version: 1.1.0 rc3