Although flying well under the radar of the average Linux user, D-Bus has been an integral part of Linux distributions for nearly two decades and counting. Rather than using faster point-to-point interprocess communication via a Unix socket or such, an IPC bus allows for IP communication in a bus-like manner for convenience reasons. D-Bus replaced a few existing IPC buses in the Gnome and KDE desktop environments and became since that time the de-facto standard. Which isn’t to say that D-Bus is well-designed or devoid of flaws, hence attracting the ire of people like [Vaxry] who recently wrote an article on why D-Bus should die and proposes using hyprwire instead.
The broader context is provided by [Brodie Robertson], whose video adds interesting details, such as that Arch Linux wrote its own D-Bus implementation rather than use the reference one. Then there’s CVE-2018-19358 pertaining to the security risk of using an unlocked keyring on D-Bus, as any application on said bus can read the contents. The response by the Gnome developers responsible for D-Bus was very Wayland-like in that they dismissed the CVE as ‘works as designed’.


Pretty sure the systemd command you’re talking about just adds the bus to PATH. You very likely could just do that yourself.
Whatever it does, it’s something that must be added manually in your compositor’s startup commands, or in your shell’s init file.
Yes, so it knows where the bus is. That seems… normal?
Would be neat if it wasn’t necessary to do that though, of course. 👍 I didn’t need to do that with i3 for some reason, e.g. Feels inconsistent.
Whatever i3 is using underneath, somebody put a line somewhere to tell everything where to find the bus.
If you’re not using a full desktop environment then you’re choosing to cover the features you’ve opted out of.
I respect that choice, and I’m glad our ecosystem allows it. But also I understand that you’re not going to get the full benefits of a desktop environment without the desktop environment.