dbus tutorial terminology

Don Park donp at personaltelco.net
Sun Jun 26 10:06:24 PDT 2005


On Sun, 26 Jun 2005, Havoc Pennington wrote:

> On Sat, 2005-06-25 at 19:11 -0700, Don Park wrote:
> > proxy = dbus_g_proxy_new_for_name (connection,
> >                                      DBUS_SERVICE_ORG_FREEDESKTOP_DBUS,
> >                                      DBUS_PATH_ORG_FREEDESKTOP_DBUS,
> >                                      DBUS_INTERFACE_ORG_FREEDESKTOP_DBUS);
> DBUS_SERVICE_DBUS (as it's now renamed) is the bus name. A service is a
> program that owns well-known bus names. You are probably right that we

Im still a bit confused. Aren't "system" asnd "session" the bus names?

> > The help text for dbus-send is:
> > Usage: dbus-send [--help] [--system | --session] [--dest=SERVICE]
> > [--type=TYPE] [--print-reply] [--reply-timeout=MSEC] <destination object
> > path> <message name> [contents ...]
> --dest=SERVICE should be fixed to =BUSNAME

I would have thought that --systme and --session specify the bus name. How
is --dest different?

> Try --print-reply, by default dbus-send just sends, it doesn't block
> waiting to see if anything comes back (error or otherwise)

ah okay. thanks for the clarification.

don


More information about the dbus mailing list