Re: How to properly register a program in KDE/GNOME
Le Sun, Nov 22, 2009 at 09:40:33PM -0300, Nicolas Alvarez a écrit :
> Eric Lavarde wrote:
> > MimeType=application/x-freemind;
> > Categories=Office;
> Are those semicolons supposed to be there?
MimeType and Categories are keys that can contain multiple values, and as such
should use a semicolon to delimitate them:
Some keys can have multiple values. In such a case, the value of the key is
specified as a plural: for example, string(s). The multiple values should be
separated by a semicolon. Those keys which have several values should have a
semicolon as the trailing character. Semicolons in these values need to be
escaped using \;.
MimeType and Categories are listed as containing ‘string(s)’.
Accordingly, the tool desktop-file-validate will report an error about the
absence of the semicolon.
Have a nice day,
Tsurumi, Kanagawa, Japan