Getting Started/Tutorials/D-Bus/Configuration

< Getting Started
Revision as of 00:21, 10 February 2010 by JRT (Talk | contribs)

Jump to: navigation, search



Configuring for Services

All KDE-4 versions

If you instlled KDE in: "/usr/KDE-4, the D-Bus services will be installed in "/usr/KDE-4/share/dbus-1/services". D-Bus needs to find these services and use them.

If you only have one version of KDE installed and you normally use it, simply add, for example:


{use the actual path from your system}

to your: "/etc/dbus-1/session-local.conf" file.

If your system doesn't yet have that file, create it:

<!DOCTYPE busconfig PUBLIC
 "-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN"

{use the actual path from your system}

If you have installed an additional version of KDE-4 that you start with another user account according to the instructions for building KDE4.x, things are not as simple since you need to have the D-Bus services for that KDE-4 installation override the normal ones ONLY when using that user account. Instead of adding the path for the service directory to: "/etc/dbus-1/session-local.conf" file, add this link:

<include ignore_missing="yes">$HOME/.config/dbus-1/session-local.conf</include>

Then create the above: "session-local.conf" file in the: "$HOME/.config/dbus-1" directory (which you will have to create).

KDE-4.4 and TRUNK




Work In Progress

My apologies! The documentation for D-Bus is inadequate, but I am working on this. Till then, ask on the KDE or KDE-Linux mailing lists.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V.Legal