From 181ba712233ee461b1aae32fed28fceab798971f Mon Sep 17 00:00:00 2001 From: David Faure Date: Thu, 3 Apr 2014 15:20:05 +0200 Subject: Mention that XDG_CURRENT_DESKTOP can be a list --- mime-apps/mime-apps-spec.xml | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/mime-apps/mime-apps-spec.xml b/mime-apps/mime-apps-spec.xml index 86b9371..4459c83 100644 --- a/mime-apps/mime-apps-spec.xml +++ b/mime-apps/mime-apps-spec.xml @@ -5,7 +5,7 @@ - X Desktop Group + Cross Desktop Group David @@ -35,26 +35,28 @@ - $XDG_CONFIG_HOME/$xdc-mimeapps.listuser overrides, desktop-specific (for advanced users) + $XDG_CONFIG_HOME/$desktop-mimeapps.listuser overrides, desktop-specific (for advanced users) $XDG_CONFIG_HOME/mimeapps.listuser overrides (recommended location for user configuration GUIs) - $XDG_CONFIG_DIRS/$xdc-mimeapps.listsysadmin and ISV overrides, desktop-specific + $XDG_CONFIG_DIRS/$desktop-mimeapps.listsysadmin and ISV overrides, desktop-specific $XDG_CONFIG_DIRS/mimeapps.listsysadmin and ISV overrides - $XDG_DATA_HOME/applications/$xdc-mimeapps.listfor completeness, deprecated, desktop-specific + $XDG_DATA_HOME/applications/$desktop-mimeapps.listfor completeness, deprecated, desktop-specific $XDG_DATA_HOME/applications/mimeapps.listfor compatibility, deprecated - $XDG_DATA_DIRS/applications/$xdc-mimeapps.listdistribution-provided defaults, desktop-specific + $XDG_DATA_DIRS/applications/$desktop-mimeapps.listdistribution-provided defaults, desktop-specific $XDG_DATA_DIRS/applications/mimeapps.listdistribution-provided defaults - In this table, $xdc means the lowercase version of $XDG_CURRENT_DESKTOP (for instance, kde, gnome, xfce, etc.) + In this table, $desktop is one of the names of the current desktop, lowercase (for instance, kde, gnome, xfce, etc.) + This is determined from the environment variable $XDG_CURRENT_DESKTOP, which is a colon-separated list of names that the current desktop is known as. + The $desktop variable should be each of these values in turn. All of the above files are referred to as "mimeapps.list" in the rest of this specification, for simplicity. -- cgit v1.2.3-70-g09d2