Cannot use gdbus command against same arguments of dbus-send

Germano Massullo <[email protected]>
Newsgroups gmane.comp.freedesktop.dbus
Message-ID <CAGa=++QVg9EeEx-_cQRK_OxWqwEVAKOXZVpp6LZzu7wAA8ywTQ@mail.gmail.com>
Hello, on Fedora GNOME Xorg session, I am using

    $ dbus-send --print-reply --dest=org.gnome.Mutter.IdleMonitor
/org/gnome/Mutter/IdleMonitor/Core
org.gnome.Mutter.IdleMonitor.GetIdletime

to retrieve the user idle time. Indeed I get message

    method return time=1558965539.579835 sender=:1.19 ->
destination=:1.97 serial=409 reply_serial=2
       uint64 17

But if I try to use gdbus command

    $ gdbus call --system --dest org.gnome.Mutter.IdleMonitor
--object-path /org/gnome/Mutter/IdleMonitor/Core --method
org.gnome.Mutter.IdleMonitor.GetIdletime

I get the error

    Error: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The
name is not activatable

Why I am not able to use gdbus command against the same arguments?
Thank you
_______________________________________________
dbus mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dbus
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.