From 7f2c3443647b8f5a7d17c5b53b157d33794e9c6c Mon Sep 17 00:00:00 2001 From: lanius Date: Sun, 3 Aug 2003 14:06:45 +0000 Subject: added exec parms patch --- desktop-entry/desktop-entry-spec.xml | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'desktop-entry/desktop-entry-spec.xml') diff --git a/desktop-entry/desktop-entry-spec.xml b/desktop-entry/desktop-entry-spec.xml index 4bbbcb3..f6a8068 100644 --- a/desktop-entry/desktop-entry-spec.xml +++ b/desktop-entry/desktop-entry-spec.xml @@ -633,7 +633,9 @@ Name=Value Literal % characters must be escaped as %%, and adding new format characters is not allowed. It's a fatal error to have an - Exec field with a format character not given in the spec. + Exec field with a format character not given in the spec (exception + to this are the deprecated format characters which can be ignored, + that is expanded to no parameters, by the implementation). Again for emphasis: nonstandard extensions are not allowed here - you must add an X-Foo-Exec field if you have nonstandard Exec lines. @@ -711,19 +713,19 @@ Name=Value %i - the icon associated with the desktop entry + the Icon field of the desktop entry expanded as two parameters, first "--icon" and then the contents of the Icon field (should not expand as any prameters if the Icon field is empty or missing) %c - the comment associated with the desktop entry + the translated Name field associated with the desktop entry %k - the name of the desktop file + the location of the desktop file as either a uri (if for example gotten from the vfolder system) or a local filename or empty if no location is known @@ -896,7 +898,7 @@ Icon=fooview-edit.png - Deprecated ExecParameters: %m (the mini-icon associated with the desktop entry) + Deprecated ExecParameters: %m (the mini-icon associated with the desktop entry, this should be expanded as two parameters, "--miniicon" and the content of the Icon field, it can also be ignored by expanding it to no parameters) -- cgit v1.2.3-70-g09d2