Desktop File spec vs. KDE vs. gnome-panel
jirka at 5z.com
Wed Jul 30 00:56:47 EEST 2003
On Tue, Jul 29, 2003 at 09:35:29PM +0200, Waldo Bastian wrote:
> On Monday 28 July 2003 19:09, George wrote:
> > Reference: https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=85150
> > Basically what happens is that the spec says that
> > Exec=kasteroids %i %m -caption "%c"
> "%i" gets replaced with "--icon" followed by the Icon= entry from the .desktop
> "%m" gets replaced with "--miniicon" followed by the Icon= entry from the
> .desktop file.
> "%c" gets replaced with the Name= entry from the .desktop file. It stands for
> "caption", not for "comment".
> "%k" gets replaced with the path of the .desktop file itself.
> I can't say that this is practice is reflected very well in the spec :-( %m
> does get mentioned in the spec btw, at least in the "May 05, 1999" version
> that I have here.
Another open question: Is %k the path on disk or is it allowed to be a uri
in the vfolder? Because most likely an app launching a .desktop file got it
from a vfolder and doesn't know the path. I'm currently changing the gnome
code to pass a uri.
George <jirka at 5z.com>
Never interrupt your enemy when he is making a mistake.
-- Napoleon Bonaparte
More information about the xdg