From b0d14b449be9cedb73ada7293eb64ab0e31bb828 Mon Sep 17 00:00:00 2001 From: Waldo Bastian Date: Wed, 30 Aug 2006 17:26:13 +0000 Subject: list FSDevice type as KDE specific refer to Icon Theme Specification * list FSDevice type as KDE specific * refer to Icon Theme Specification --- desktop-entry/ChangeLog | 4 + desktop-entry/desktop-entry-spec.xml | 147 ++++++++++++++++++----------------- 2 files changed, 81 insertions(+), 70 deletions(-) (limited to 'desktop-entry') diff --git a/desktop-entry/ChangeLog b/desktop-entry/ChangeLog index 67470de..55d5737 100644 --- a/desktop-entry/ChangeLog +++ b/desktop-entry/ChangeLog @@ -1,3 +1,7 @@ +2006-08-30 Waldo Bastian + * list FSDevice type as KDE specific + * refer to Icon Theme Specification + 2006-08-22 Waldo Bastian * clarification of Exec key * correction of StartupWMClass, clarify StartupNotify (Lubos Lunak) diff --git a/desktop-entry/desktop-entry-spec.xml b/desktop-entry/desktop-entry-spec.xml index 1dd65f0..86dfa26 100644 --- a/desktop-entry/desktop-entry-spec.xml +++ b/desktop-entry/desktop-entry-spec.xml @@ -350,10 +350,13 @@ Type - There are 4 types of desktop entries: + This specification defines 3 types of desktop entries: Application (type 1), - Link (type 2), FSDevice - (type 3) and Directory (type 4). + Link (type 2) + and Directory (type 3). + To allow the addition of new types in the future, + implementations should ignore desktop entries with an + unknown type. string YES @@ -372,7 +375,7 @@ numeric NO YES - 1-4 + 1-3 Name @@ -382,7 +385,7 @@ localestring YES YES - 1-4 + 1-3 GenericName @@ -392,7 +395,7 @@ localestring NO YES - 1-4 + 1-3 NoDisplay @@ -406,7 +409,7 @@ boolean NO NO - 1-4 + 1-3 Comment @@ -418,21 +421,22 @@ localestring NO YES - 1-4 + 1-3 Icon Icon to display in file manager, menus, etc. If the name is an absolute path, the given file will be - used. If the name is not an absolute path, an - implementation-dependent search algorithm will be used - to locate the icon. + used. If the name is not an absolute path, the algorithm described + in the Icon + Theme Specification will be used to locate the icon. localestring NO YES - 1-4 + 1-3 Hidden @@ -447,7 +451,7 @@ boolean NO NO - 1-4 + 1-3 OnlyShowIn, NotShowIn @@ -463,7 +467,7 @@ string(s) NO NO - 1-4 + 1-3 TryExec @@ -577,57 +581,6 @@ YES 2 - - Dev - - The device to mount. - - string - NO - NO - 3 - - - FSType - - The type of file system to try to mount. - - string - NO - NO - 3 - - - MountPoint - - The mount point of the device in question. - - string - NO - NO - 3 - - - ReadOnly - - Specifies whether or not the device is read only. - - boolean - NO - NO - 3 - - - UnmountIcon - - Icon to display when device is not mounted. Mounted devices display icon from the Icon key. - UnmountIcons may be localized with the UnmountIcon[xx]= syntax. - - string - NO - NO - 3 - @@ -953,24 +906,78 @@ Icon=fooview-edit.png Currently reserved for use within KDE - During the time KDE added some extensions that are currently not - prefixed by the X- prefix, but should be in - future KDE releases. + For historical reasons KDE is using some KDE-specific extensions + that are currently not prefixed by a X-KDE- prefix. - Keys added by KDE: ServiceTypes, + KDE specific keys: ServiceTypes, DocPath, Keywords, InitialPreference - Types added by KDE: ServiceType, Service + KDE specific types: ServiceType, + Service and FSDevice + + KDE uses the following additional keys for desktop entries of the + FSDevice type. + + + FSDevice Specific Keys + + + + Key + Description + Value Type + + + + + Dev + + The device to mount. + + string + + + FSType + + The type of file system to try to mount. + + string + + + MountPoint + + The mount point of the device in question. + + string + + + ReadOnly + + Specifies whether or not the device is read only. + + boolean + + + UnmountIcon + + Icon to display when device is not mounted. Mounted devices display icon from the Icon key. + UnmountIcons may be localized with the UnmountIcon[xx]= syntax. + + string + + + +
Deprecated Items -- cgit v1.2.3-70-g09d2