[desktop entry spec] new WM_CLASS key
Aleksey Shaferov
a.shaferov at gmail.com
Tue Aug 25 02:08:42 PDT 2009
>http://live.gnome.org/GnomeShell/ApplicationBased
Make WM_CLASS equal to .desktop-file name is a good solution too.
But WM_CLASS consists of two parts: res_name and res_class, and they
may differ (e.g. GNUStep applications).
What to do in this case?
Anyway solution must be system wide, not Gnome only.
I've found that there is StartupWMClass key in desktop entry spec, but
it is not marked as required and not used. (There is only one desktop
file with this key on my system - firefox).
Another solution - make this key required.
2009/8/25, Colin Walters <walters at verbum.org>:
> On Sun, Aug 23, 2009 at 3:54 PM, Aleksey Shaferov<a.shaferov at gmail.com>
> wrote:
>> Hi.
>>
>> I am the author of DockBar. This is taskbar like applet for Gnome desktop
>> environment.
>> http://gnome-look.org/content/show.php?content=97822
>>
>> In the process of creation of DockBar I've found a big problem in that
>> there
>> is no perfect way to found .desktop-file for launched application.
>> There are several ways to do it, but they are all far from perfection and
>> not always works.
>
> Yes, we are doing this for the GNOME 3 Shell. I've typed up this page:
>
> http://live.gnome.org/GnomeShell/ApplicationBased
>
> I haven't announced it widely up until now, but it's probably ready
> for discussion. I wanted to investigate adding a hint to
> startup-notification with the name of the launched .desktop file, but
> haven't had time yet.
>
> Yes, I fully realize ultimately this is heuristic, and we do have a
> fallback. Note also the shell's current heuristics are not complete.
>
More information about the xdg
mailing list