D-Bus

D-Bus is Article description::an interprocess communication (IPC) system for software applications. Software make use of D-Bus to communicate between services.

USE flags
Portage knows the global  USE flag for enabling support for D-Bus in other packages. Enabling this flag will pull in automatically. This is the default for desktop profiles:

Emerge
After setting at least the  global USE flag be sure update the system using   option so Portage will be sure to notice the changes:

Files
The main configuration files include:


 * for the system bus
 * for the session bus

OpenRC
After configuration step, start D-Bus with:

To start D-Bus at boot time, add it the default run level:

Usage
Some useful commands include:


 * - To monitor the activities in the system bus.
 * - To monitor the activities in the session bus.
 * - To send a message. See the dbus-send man page for more information.

Troubleshooting
Use the command to monitor the buses. Errors are also redirected to the syslog.

External resources

 * An Introduction to D-Bus (freedesktop.org Wiki)
 * A D-Bus tutorial (freedesktop.org)