PATCH: desktop entry spec 0.9.7 Exec key parsing

Dan Winship danw at novell.com
Thu Nov 16 19:34:21 EET 2006


On Mon, 2006-11-13 at 10:37 -0800, Bastian, Waldo wrote:
> >    Exec=foobar.sh "%f"
> ...
> >   /bin/sh -c "foobar.sh %f"
> ...
> I'm inclined to disallow both cases

Most existing KDE .desktop files use

    -caption "%c"

so you pretty much have to allow that (at least as deprecated behavior).

> * Clarify that %f may be assumed if none is specified.

Why? If the application can support opening files, it should say so.
(Yeah, GNOME makes an assumption like the one above too, although it
uses %F, but it seems to me like that's a workaround for broken .desktop
files, not something that should be put into the spec as expected
behavior.)

-- Dan





More information about the xdg mailing list