After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 633276 - allow overriding the name of the required_components gconf key
allow overriding the name of the required_components gconf key
Status: RESOLVED FIXED
Product: gnome-session
Classification: Core
Component: gnome-session
git master
Other All
: Normal enhancement
: ---
Assigned To: Session Maintainers
Session Maintainers
Depends on:
Blocks:
 
 
Reported: 2010-10-27 16:47 UTC by Sascha Silbe
Modified: 2010-11-29 21:48 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Patch: allow overriding the names of the required_components gconf keys (#633276) (5.36 KB, patch)
2010-10-28 18:17 UTC, Sascha Silbe
rejected Details | Review

Description Sascha Silbe 2010-10-27 16:47:48 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.
Comment 1 Sascha Silbe 2010-10-28 18:17:50 UTC
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.
Comment 2 Vincent Untz 2010-11-29 21:48:21 UTC
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 3 Vincent Untz 2010-11-29 21:48:33 UTC
Comment on attachment 173423 [details] [review]
Patch: allow overriding the names of the required_components gconf keys (#633276)

(fixed another way)