D-Bus
Related articles
D-Bus is a message bus system that provides an easy way for inter-process communication. It consists of a daemon, which can be run both system-wide and for each user session, and a set of libraries to allow applications to use D-Bus.
Installation
D-Bus is enabled automatically when using systemd because dbus is a dependency of systemd.
Starting the user session
gnome-session, startkde and startxfce4 will start a D-Bus session automatically if one is not already running.
For desktop or window managers which don't start D-Bus session by themselves, make sure you start it in your ~/.xinitrc
, for example by sourcing /etc/X11/xinit/xinitrc.d/30-dbus.sh
as described in xinitrc.
Debugging
d-feet is an easy to use D-Bus debugger GUI tool. D-Feet can be used to inspect D-Bus interfaces of running programs and invoke methods on those interfaces. See its homepage for more info.
See also
- D-Bus page at freedesktop.org
- Introduction to D-Bus on freedesktop.org