From e98c57e4b1d1929a5cd768849b893b09a1c66f63 Mon Sep 17 00:00:00 2001 From: Ryan Lortie Date: Sun, 1 Mar 2015 11:53:03 -0500 Subject: [PATCH] desktop-entry-spec: document DesktopNames Document the DesktopNames key as the mechanism by which the XDG_CURRENT_DESKTOP environment variable is expected to be set. We don't document this as a key in the normal way, because it is not a valid key for desktop files. We only include a mention of it here because the desktop entry spec is more or less the "home" of what XDG_CURRENT_DESKTOP means, and the mechanism by which it is normally set should be part of that definition. https://bugs.freedesktop.org/show_bug.cgi?id=85938 --- desktop-entry/desktop-entry-spec.xml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/desktop-entry/desktop-entry-spec.xml b/desktop-entry/desktop-entry-spec.xml index 36997c0..d8ec9be 100644 --- a/desktop-entry/desktop-entry-spec.xml +++ b/desktop-entry/desktop-entry-spec.xml @@ -500,6 +500,12 @@ + $XDG_CURRENT_DESKTOP should have been set by the login manager, according to the + value of the DesktopNames found in the session file. The entry in the + session file has multiple values separated in the usual way: with a semicolon. + + + The same desktop name may not appear in both OnlyShowIn and NotShowIn of a group. -- 2.1.4