Difference between revisions of "Getting Started/Tutorials/D-Bus/Configuration"

Jump to: navigation, search
(All KDE-4 versions)
(All KDE-4 versions)
Line 5: Line 5:
 
===All KDE-4 versions===
 
===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".  
+
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 if you installed KDE in: "/usr/KDE4":
 +
 
 +
:<servicedir>/usr/KDE4/share/dbus-1/services</servicedir>
 +
 
 +
{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:
 +
 
 +
<nowiki>------8<------8<------8<------8<------8<------8<------8<------8<------8<------8<------8<------</nowiki>
 +
 
 +
:<!DOCTYPE busconfig PUBLIC
 +
: "-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN"
 +
: "http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
 +
:<busconfig>
 +
:  <servicedir>/usr/KDE4/share/dbus-1/services</servicedir>
 +
:</busconfig>
 +
 
 +
<nowiki>------8<------8<------8<------8<------8<------8<------8<------8<------8<------8<------8<------</nowiki>
 +
 
 +
 
 +
 
  
 
TO DO
 
TO DO

Revision as of 23:03, 6 February 2010


Contents

Getting_Started/Tutorials/D-Bus/Configuration


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 if you installed KDE in: "/usr/KDE4":

<servicedir>/usr/KDE4/share/dbus-1/services</servicedir>

{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:

------8<------8<------8<------8<------8<------8<------8<------8<------8<------8<------8<------

<!DOCTYPE busconfig PUBLIC
"-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN"
"http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
<busconfig>
<servicedir>/usr/KDE4/share/dbus-1/services</servicedir>
</busconfig>

------8<------8<------8<------8<------8<------8<------8<------8<------8<------8<------8<------



TO DO

KDE-4.4 and TRUNK

TO DO

SYSCONF_INSTALL_DIR

TO DO

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