[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 |   12 ++++++++++++
 1 files changed, 12 insertions(+), 0 deletions(-)

diff --git a/desktop-entry/desktop-entry-spec.xml b/desktop-entry/desktop-entry-spec.xml
index 34bc154..009117e 100644
--- a/desktop-entry/desktop-entry-spec.xml
+++ b/desktop-entry/desktop-entry-spec.xml
@@ -528,6 +528,18 @@
 	    <entry>NO</entry>
             <entry>1</entry>
 	  </row>
+          <row>
+            <entry id="key-keywords"><varname>Keywords</varname></entry>
+            <entry>
+            A list of localized strings which may be used in addition to
+            <varname>Name</varname>, <varname>GenericName</varname>,
+            <varname>Description</varname> etc. to match the entry when
+            searching through desktop entries.
+            </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


--=-0GQ7ZvJhZ4EADDSaviwU--



More information about the xdg mailing list