Unfortunately, this has escaped regression and reared its ugly head again in Eoan:
$ lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 19.10 Release: 19.10 Codename: eoan
$ gdbus call --session --dest org.freedesktop.ScreenSaver --object-path /org/freedesktop/ScreenSaver --method org.freedesktop.ScreenSaver.GetActive
Error: GDBus.Error:org.freedesktop.DBus.Error.NotSupported: This method is not implemented
The same method invocation works with Gnome instead of freedesktop:
$ gdbus call --session --dest org.gnome.ScreenSaver --object-path /org/gnome/ScreenSaver --method org.gnome.ScreenSaver.GetActive (false,)
According to d-feet "GetActive" exists in both interfaces of the corresponding object path with the same signature.
Unfortunately, this has escaped regression and reared its ugly head again in Eoan:
$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 19.10
Release: 19.10
Codename: eoan
$ gdbus call --session --dest org.freedesktop .ScreenSaver --object-path /org/freedeskto p/ScreenSaver --method org.freedesktop .ScreenSaver. GetActive
Error: GDBus.Error: org.freedesktop .DBus.Error. NotSupported: This method is not implemented
The same method invocation works with Gnome instead of freedesktop:
$ gdbus call --session --dest org.gnome. ScreenSaver --object-path /org/gnome/ ScreenSaver --method org.gnome. ScreenSaver. GetActive
(false,)
According to d-feet "GetActive" exists in both interfaces of the corresponding object path with the same signature.