summaryrefslogtreecommitdiff
path: root/desktop-entry
diff options
context:
space:
mode:
authorRyan Lortie <desrt@desrt.ca>2015-03-01 11:53:03 -0500
committerRyan Lortie <desrt@desrt.ca>2015-03-01 12:01:23 -0500
commit729a8f2dde47694890d87f6e3f91527659f85834 (patch)
tree983ab1534474d1b3764545e57ece64149cb6cdd2 /desktop-entry
parentde7a881d3f5fb25d2959a4c3c61087953974e9e3 (diff)
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
Diffstat (limited to 'desktop-entry')
-rw-r--r--desktop-entry/desktop-entry-spec.xml6
1 files changed, 6 insertions, 0 deletions
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 @@
</para>
<para>
+ <envar>$XDG_CURRENT_DESKTOP</envar> should have been set by the login manager, according to the
+ value of the <varname>DesktopNames</varname> found in the session file. The entry in the
+ session file has multiple values separated in the usual way: with a semicolon.
+ </para>
+
+ <para>
The same desktop name may not appear in both
<varname>OnlyShowIn</varname> and <varname>NotShowIn</varname> of
a group.