3 ms·
Can you use Wayland without DBus? I guess in theory yes, but in practice most compositors rely pretty heavily on it for various other things.
by yissp 5y ago
Can you use Wayland without DBus? I guess in theory yes, but in practice most compositors rely pretty heavily on it for various other things.
- guerrilla 5y agoDoes Sway use D-Bus? I would not guess that. Enlightenment? I have hard time seeing that.
- IiydAbITMvJkqKf 5y agoSway does not use d-bus. It listens on a unix socket (different from the wayland socket) for control messages. Gnome/Kde compositors don't use d-bus either, they instead use wayland extensions for control (since both the compositors and clients have to implement wayland already anyway, this is easier than using d-bus).
- md8z 5y agoThe GNOME compositor does actually use D-Bus and it is actually much easier to use D-Bus in it than to add new wayland extensions.
- emmp 5y agoSway itself may not use dbus, I think that's right, but a desktop workflow built around sway for day-to-day use will typically utilize DBus for e.g., pipewire, a notification daemon, xdg-desktop-portal (screen sharing) at the least. But you are right of course that these are not sway and you don't need to use them. A typical user would need to be motivated to actively avoid it.
- deleted 5y ago[deleted]