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:
  Show dependency tree
 
Reported: 2011-07-05 19:10 UTC by Michael Terry
Modified: 2011-08-12 08:34 UTC (History)
1 user (show)

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 | Diff | 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.

Note You need to log in before you can comment on or make changes to this bug.