[PATCH] desktop-entry: Add an optional Keywords key

Florian Müllner fmuellner at gnome.org
Thu Dec 1 07:19:18 PST 2011


When searching through .desktop files, the existing keys meant for
menu browsing may produce insufficient results; add a new optional
key specifically targeting search which may be used to improve
matches.
---
 desktop-entry/desktop-entry-spec.xml |   13 +++++++++++++
 1 files changed, 13 insertions(+), 0 deletions(-)

diff --git a/desktop-entry/desktop-entry-spec.xml b/desktop-entry/desktop-entry-spec.xml
index 34bc154..d705e21 100644
--- a/desktop-entry/desktop-entry-spec.xml
+++ b/desktop-entry/desktop-entry-spec.xml
@@ -528,6 +528,19 @@
 	    <entry>NO</entry>
             <entry>1</entry>
 	  </row>
+          <row>
+            <entry id="key-keywords"><varname>Keywords</varname></entry>
+            <entry>
+            A list of strings which may be used in addition to other
+            metadata to describe this entry. This can be useful e.g. to
+            facilitate searching through entries. The values are not meant
+            for display, and should not be redundant with the values of
+            <varname>Name</varname> or <varname>GenericName</varname>.
+            </entry>
+            <entry>localestring(s)</entry>
+            <entry>NO</entry>
+            <entry>1</entry>
+          </row>
 	  <row>
 	    <entry id="key-startupnotify"><varname>StartupNotify</varname></entry>
 	    <entry>
-- 
1.7.7.3


--=-gk/7MSiRV+qfqrTewSvx--



More information about the xdg mailing list