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 654041 - Respect XDG_CURRENT_DESKTOP
Respect XDG_CURRENT_DESKTOP
Status: RESOLVED FIXED
Product: gnome-session
Classification: Core
Component: general
3.1.x
Other Linux
: Normal normal
: ---
Assigned To: Session Maintainers
Session Maintainers
Depends on:
Blocks:
 
 
Reported: 2011-07-05 19:10 UTC by Michael Terry
Modified: 2011-08-12 08:34 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Listen to XDG_CURRENT_DESKTOP (2.77 KB, patch)
2011-07-05 19:25 UTC, Michael Terry
committed Details | Review

Description Michael Terry 2011-07-05 19:10:04 UTC
XDG_CURRENT_DESKTOP is a proposal (not even in an XDG spec yet, just discussed on the mailing list) to define an environment variable that declares which XDG-registered environment the user is in (e.g. GNOME, XFCE, Unity).

Relatedly, there is a patch to add support in gnome-menus in bug 653440.

I'll work on a patch to support it in gnome-session (which would be useful for non-GNOME environments like Unity that also use gnome-session).
Comment 1 Michael Terry 2011-07-05 19:25:16 UTC
Created attachment 191357 [details] [review]
Listen to XDG_CURRENT_DESKTOP
Comment 2 Vincent Untz 2011-08-12 08:34:08 UTC
We only support cases where XDG_CURRENT_DESKTOP doesn't change with time, so I adapted the patch for this.