dbus-send error
Mandeep Sandhu
mandeepsandhu.chd at gmail.com
Wed Oct 6 02:04:10 PDT 2010
> Hi Mandeep,
>
> that is not specific to your build. Instead of ServiceExists you
> should use NameHasOwner. ServiceExists seems to have existed years
> ago* but dissappeared since then.
> *) http://lists.freedesktop.org/archives/dbus/2004-March/000931.html
This was the thread from which I picked the command! :)
Thanks Martin. NameHasOwner method works!
However, I could not understand the 'dbus-monitor' o/p when using dbus-send:
signal sender=org.freedesktop.DBus -> dest=(null destination)
serial=47 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus;
member=NameOwnerChanged
string ":1.22"
string ""
string ":1.22"
signal sender=org.freedesktop.DBus -> dest=(null destination)
serial=48 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus;
member=NameOwnerChanged
string ":1.22"
string ":1.22"
string ""
* Why are there TWO messages corresponding to my single dbus-send
cmd...is it some sort of req-reply pair?
* Why is the 'dest' field null when I'm setting it to org.freedesktop.DBus?
Thanks,
-mandeep
> --
> Martin Vidner, YaST developer
> http://en.opensuse.org/User:Mvidner
>
> Kuracke oddeleni v restauraci je jako fekalni oddeleni v bazenu
>
More information about the dbus
mailing list