D-BUS Messaging
D-Bus is a cross-desktop message bus for sending events between various applications, the desktop, and low-level components of the system. D-Bus provides a simple API for sending messages to particular services and for broadcasting messages to all interested services. D-Bus enables different types of applications to communicate and integrate with each other and with the desktop, providing better interaction and a richer experience for the user.
D-Bus provides a session and a system bus. The session bus is used by applications in a single user session, allowing them to share data and event notifications and to integrate into the user's desktop. For example, movie players can send a D-Bus message to prevent the screensaver from activating when the user is watching a movie.
The system bus is a single message bus which runs independently of any user sessions. It can communicate with applications in any session, enabling those applications to interact with system components without dealing with low-level system details. The system bus is used to provide important functionality that users expect to work on their systems. For example, the system bus is used to monitor when network interfaces go up or down, when external drives get plugged in, and when laptop batteries are low.
Technologie D-Bus je společně vyvíjena v rámci projektu freedesktop.org, proto ji můžete použít v různých pracovních prostředích a aplikacích. Protože se jedná o projekt nezávislý na konkrétním pracovním prostředí, můžete technologii využít ke tvorbě přenostileného a všestraného software, který lze hladce integorvat s pracovním prostředím uživatele, nezávisle na tom, o jaké se jedná.
Více informací o technologii D-Bus popisují dokumenty Tutoriál D-BUS a Specifikace D-BUS.