Sources: Wikipedia, D-Bus Specification, Cardinal Peak
D-BUS is an Inter-Process Communication (IPC) specification. Communication is possible via multiple Transports (e.g., Unix sockets, systemd, TCP sockets).
Default D-Bus message buses:
/usr/share/dbus-1/system.conf
or dbus-monitor --system
)/usr/share/dbus-1/session.conf
or dbus-monitor --session
)
Monitor DBUS signals: dbus-monitor
Source: dbus-broker package
--controller=FD
)dbus-broker-launch:
--config-file
or the default is taken from /usr/share/dbus-1/
(session.conf
for --scope=user
and system.conf
as fallback)--scope
defines which systemd instance (user or system) is used to start the launcherSource: Arch Wiki
During systemd installation, dbus-broker-units can be chosen as the dbus-units provider. This package provides the dbus-broker systemd service units.
Alternatively to dbus-broker, Arch also supports using the D-BUS reference implementation by installing the dbus-daemon-units instead of the dbus-broker service units.
notify-send test
notify-send -i face-glasses "test"
(icons are located in /usr/share/icons/
)dbus-monitor "interface='org.freedesktop.Notifications'"
Daemons:
Depending on the Desktop Environment, notification daemons are built-in (Cinnamon, Gnome, KDE). Notification daemons can started standalone for other environments (e.g. i3wm). Standalone is possible via XDG autostart or as DBUS service.
Typically, DBUS service files are shipped with notification daemons, e.g., /usr/share/dbus-1/services/org.freedesktop.Notifications.service
Tools: