Desktop File spec vs. KDE vs. gnome-panel
bastian at kde.org
Tue Jul 29 22:35:29 EEST 2003
-----BEGIN PGP SIGNED MESSAGE-----
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
"%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.
> Because of the above I would propose removing %i and %m from the spec, and
> replacing with a new parameter say %I which is just the Icon= field. I
> would further add %i and %m to the spec as purely ignored parameters
> (should be deleted by the launching application)
I agree that %i and %m are defined in a rather weird way but the introduction
of %I would break backwards compatibility of .desktop files. E.g. KDE 3.1 is
not able to handle a .desktop file with %I in it.
bastian at kde.org -=|[ SuSE, The Linux Desktop Experts ]|=- bastian at suse.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org
-----END PGP SIGNATURE-----
More information about the xdg