[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Desktop File spec vs. KDE vs. gnome-panel



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

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 
file.

"%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.

> 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.

Cheers,
Waldo
- -- 
bastian kde org -=|[ SuSE, The Linux Desktop Experts ]|=- bastian suse com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE/JsyCN4pvrENfboIRAvO5AJ926ZOta5txg9mHKYkwP7X3yxOKQwCbBq9h
cf78fm+Y1Ilw0by7qylLxnY=
=xxG4
-----END PGP SIGNATURE-----


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]