Re: Creating a launcher?




2010/12/7 Milan Bouchet-Valat <nalimilan club fr>
Le mardi 07 décembre 2010 à 18:24 +0100, Stefano Facchini a écrit :
> Thanks for the suggestion, but even after renaming I obtain the same
> behavior :(
Renaming the binary is not enough: the identifier that matters is
the .desktop file name, but it has to match the WM_CLASS used by
Firefox, which will be the same for the two different versions. So I
don't think there's a correct solution currently.

Ideally, the Shell should be aware of how applications were started
(i.e. from which .desktop file), and be able to keep track of them. For
now, it can only use the WM_CLASS name, and that doesn't differentiate
versions of a program.


As it seems this won't be fixed for Gnome Shell:

 Owen Taylor:
I don't see any compelling reason for standardization of the
*implementation* of application matching. What needs to be standard is
how applications are associated with windows. For reliable association,
that has to be independent of how applications are launched, since
someone can always launch an application by typing the name on a
terminal command line.

See:

 http://live.gnome.org/GnomeShell/ApplicationBased

For recommendations for application authors.

--
www.twitter.com/Rovanion


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