As this standard is quite old there are some deprecated items that may or may not be used by several implementations.
Type=MimeType
is deprecated as there is a
new standard for this now, see the Shared
MIME-info Database specification for more
information. In consequence the Keys
Patterns
(various file name extensions
associated with the MIME type) and
DefaultApp
(the default application
associated with this MIME type) are also deprecated.
Using .kdelnk
instead of
.desktop
as the file extension is
deprecated.
Using [KDE Desktop Entry]
instead of
[Desktop Entry]
as header is deprecated.
The Encoding
key is deprecated. It was used to
specify whether keys of type localestring
were
encoded in UTF-8 or in the specified locale. Possible values are
UTF-8
and Legacy-Mixed
. See
Appendix D, The Legacy-Mixed
Encoding (Deprecated) for more details.
Deprecated Exec
parameters:
%m
(the mini-icon associated with the
desktop entry, this should be expanded as two parameters,
--miniicon
and the content of the
MiniIcon
field, it can also be ignored by
expanding it to no parameters).
Deprecated keys: MiniIcon
(small icon for
menus, etc.), TerminalOptions
(if the
program runs in a terminal, any options that should be
passed to the terminal emulator before actually executing
the program), Protocols
,
Extensions
,
BinaryPattern
,
MapNotify
.
The SwallowTitle
and
SwallowExec
keys are deprecated.
The SwallowTitle
key is of type
localestring
and specifies the title of the window
if is swallowed onto the panel. The SwallowExec
key is of type string
and specifies the
program to exec if swallowed app is clicked.
Historically some booleans have been represented by the numeric
entries 0
or 1
. With
this version of the standard they are now to be represented as a
boolean string. However, if an implementation is reading a pre-1.0
desktop entry, it should interpret 0
and
1
as false
and
true
, respectively.
Historically lists have been comma separated. This is inconsistent with other lists which are separated by a semicolon. When reading a pre-1.0 desktop entry, comma separated lists should continue to be supported.