From d89604aa9dfaca71d38422303f60db7a17217fcd Mon Sep 17 00:00:00 2001 From: Florian Müllner Date: Thu, 1 Dec 2011 16:19:18 +0100 Subject: desktop-entry: Add an optional Keywords key 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 | 23 +++++++++++++++++++++-- 1 file changed, 21 insertions(+), 2 deletions(-) diff --git a/desktop-entry/desktop-entry-spec.xml b/desktop-entry/desktop-entry-spec.xml index 34bc154..01638e6 100644 --- a/desktop-entry/desktop-entry-spec.xml +++ b/desktop-entry/desktop-entry-spec.xml @@ -528,6 +528,19 @@ NO 1 + + Keywords + + 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 + Name or GenericName. + + localestring(s) + NO + 1 + StartupNotify @@ -894,8 +907,7 @@ X-KDE-ServiceType=FooService KDE specific keys: ServiceTypes, - DocPath, Keywords, - InitialPreference + DocPath, InitialPreference @@ -905,6 +917,13 @@ X-KDE-ServiceType=FooService + + KDE also used the Keywords key before it was + standardized, using commas instead of semi-colons as separators. + At the time of standardization, the field had been prefixed with a + X-KDE prefix, but the Trinity fork still used + the non-prefixed variant. + KDE uses the following additional keys for desktop entries of the FSDevice type. -- cgit v1.2.3-54-g00ecf