KDE adoption of D-Bus

Lennart Poettering mzqohf at 0pointer.de
Wed Feb 15 09:27:39 PST 2006


On Wed, 15.02.06 11:35, Pat Suwalski (pat at suwalski.net) wrote:

> 
> Lennart Poettering wrote:
> >>There is no solution for doing this right now.  How do application find
> >>out what DCOP instance to talk to?
> >
> >It would make a lot of sense to store the address of the DBUS session in 
> >the
> >X11 root window. 
> 
> The DCOP solution of using a file is more appropriate, since D-BUS is 
> used outsite of X as well. For example, hald.

HAL makes use of the *system* bus, not the *session* busses. The idea
is to store the bus address of the session bus in the root
window. Right now a DBUS session is mostly tied to an X11 session
anyway, so it would make a lot of sense to make this explicit.

The DBUS client libs would need to look if $DISPLAY is set. If it is
they should look for the BUS address on the root window of that
display.

Lennart

-- 
Lennart Poettering; lennart [at] poettering [dot] net
ICQ# 11060553; GPG 0x1A015CC4; http://0pointer.net/lennart/


More information about the dbus mailing list