GNOME Bugzilla – Bug 633276
allow overriding the name of the required_components gconf key
Last modified: 2010-11-29 21:48:33 UTC
I'm considering replacing the custom session manager code of Sugar (which seems to be derived from an earlier version of gnome-session) by (the upstream version of) gnome-session. However, gnome-session currently does not allow overriding the "required components", so Gnome components would get started within a Sugar session (which we definitely don't want). Overriding /desktop/gnome/session/required_components_list globally would break Gnome, so it's not an option. As gnome-session already allows overriding the name of the "session" key (default /desktop/gnome/session/default_session), it would appear only natural to allow overriding the name of the "required components" key, too.
Created attachment 173423 [details] [review] Patch: allow overriding the names of the required_components gconf keys (#633276) Allow the caller to override the names of the gconf keys for the required components using command line options. This enables other desktop environments (e.g. Sugar) to use gnome-session.
I just changed gnome-session in git to load a session from a .desktop-like file. So you can simply define a sugar.session file and call "gnome-session --session sugar" now.
Comment on attachment 173423 [details] [review] Patch: allow overriding the names of the required_components gconf keys (#633276) (fixed another way)