D-Bus

D-Bus is an inter-process communication (IPC) system for software applications to communicate with one another.

Installation
Portage knows the global USE flag dbus for enabling support for D-Bus in other packages. Enabling this USE flag will pull in automatically (default for desktop profiles):

The USE flags of dbus are:

After setting this you want to update your system so the changes take effect:

Configuration
The main config files are the for the system bus and  for the session bus.

Service
You can now start D-Bus:

To start D-Bus at boot time, add it your default runlevel (although it often also get started by D-Bus depending services):

Usage
Some useful commands are:
 * dbus-monitor --system - To monitor the activities in the system bus.
 * dbus-monitor --session - To monitor the activities in the session bus.
 * dbus-send PARAMETER - To send a message. See the man page for more details:man dbus-send

Troubleshooting
With dbus-monitor you can monitor the buses. Error are also redirected to Syslog.