Heya,
I am typing this from a GNOME session that actually uses a kdbus user
bus instead of a dbus-daemon session bus (and also a kdbus system
bus). With this mail I'd like to start discussion of the changes I'd
like to propose for GNOME to make this work a bit more smoothly.
As you might now, the kdbus userspace we have been working on involves
using systemd for setting it up. The system systemd instance will set up
the system bus, and the user systemd instance will set up the user
bus. Besides actually opening up kdbus for usage in the session bus, I'd
also like to see GNOME adopt systemd for its process (application)
management needs. This would have a number of benefits, like for example
exposing GNOME apps (and other components) as cgroups, so that we can do
all kinds of modern stuff like suspending apps that our outside of view,
or fiddling with the CPU scheduling prio for foreground apps, and things
like that. Also, we'd gain a trustable, kernel-level way how to
distuingish apps, for polkit stuff and more.
Now, systemd is not available on all systems GNOME supports, so we
should find a way that neatly hooks this all up with systemd, but
doesn't make systemd a hard-coded dependency of GNOME. Of course, the
internets will never honour our attempt at being nice here, but we
should try anyway... ;-)
So, the way I'd like this all to work is by simply emphasizing .desktop
files and bus activation a lot more, without actually emphasizing
systemd as backend implementation of anything. As both technologies
(.desktop files and dbus) are universially supported wherever GNOME is
supported this should be a good approach:
Does this make sense? Suggestions? Ideas?