Re: Application names in the (bottom) notification area.



Right, that's the _NET_WM_NAME property. We fetch that first, and if
that doesn't exist we fall back to WM_CLASS. WM_NAME doesn't get used
at all.

I filed a few patches that may help fix the issue:
    https://bugzilla.gnome.org/show_bug.cgi?id=673761

If you can, try out these patches and leave feedback on the bug.

(Also, for next time, this sort of feedback would be better as a bug
in the first place)

On Sun, Apr 8, 2012 at 10:30 PM, Christian Dysthe <cdysthe gmail com> wrote:
> On Sun, 08 Apr 2012 19:25:08 -0500, Jasper St. Pierre
> <jstpierre mecheye net> wrote:
>
>> Go into the overview, launch the looking glass (Alt+F2 lg), click the
>> eye dropper and then click on the icon (make sure the center label
>> says ShellTrayIcon), and then enter into the evaluator:
>>
>>    it.title
>>
>> What does it say?
>
>
> For the updater I get:
>
> mintUpdate.py
>
> For the HP application I get:
>
> null
>
>
>>
>> On Sun, Apr 8, 2012 at 9:17 PM, Christian Dysthe <cdysthe gmail com>
>> wrote:
>>>
>>> On Sun, 08 Apr 2012 18:49:34 -0500, Jasper St. Pierre
>>> <jstpierre mecheye net> wrote:
>>>
>>>> On Sun, Apr 8, 2012 at 7:46 PM, Christian Dysthe <cdysthe gmail com>
>>>> wrote:
>>>>>
>>>>>
>>>>> On Sun, 08 Apr 2012 15:00:46 -0500, Jasper St. Pierre
>>>>> <jstpierre mecheye net> wrote:
>>>>>
>>>>>> On Sun, Apr 8, 2012 at 3:57 PM, Christian Dysthe <cdysthe gmail com>
>>>>>> wrote:
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> Hi,
>>>>>>>
>>>>>>> I have a couple of application which stays in the (bottom)
>>>>>>> notification
>>>>>>> area. In Gnome 2 they were named "Update Manager" and "HP Printer
>>>>>>> Manager",
>>>>>>> but in Gnome Shell their names are "update.py" and "hp-toolbox". I
>>>>>>> think
>>>>>>> that's their executable file names. Why aren't they named like they
>>>>>>> are
>>>>>>> in
>>>>>>> Gnome 2 or all other DE's I've used (Cinnamon, Unity, KDE, LXDE and
>>>>>>> XFCE)?
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> Cinnamon? Are you sure? If so, that's a pretty bad bug.
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> I checked Cinnamon again since I just updated it to v1.4 and it has
>>>>> been
>>>>> in
>>>>> heavy development lately. Now his particular program, which btw is
>>>>> Linux
>>>>> Mint's updater, doesn't a name associated with it in Cinnamon at all.
>>>>> It's
>>>>> just the icon. But in Gnome Shell it's still'update.py' when you hover
>>>>> over
>>>>> it. The other program is called 'HPLIP Status Service' in Cinnamon, but
>>>>> is
>>>>> 'HP-systray' in Gnome Shell. To me it seems like Gnome Shell uses WM
>>>>> class
>>>>> for naming, not the .desktop file. Could that be the case?
>>>>
>>>>
>>>>
>>>> That could very well be, and that would be a bug.
>>>
>>>
>>>
>>> I checked with xprop. It really looks like Gnome Shell uses WM_class, not
>>> WM_name or the .desktop file. I'll look into filing it as a bug.
>>>
>>>>>>
>>>>>>> Is there a way I can get Gnome Shell to show their application name
>>>>>>> instead
>>>>>>> of the executable file name?
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> Are these system tray icons or libnotify notifications?
>>>>
>>>>
>>>>
>>>> If you click on them, do they bring up a fancy bubble, or do they
>>>> launch the application or bring up a menu or something.
>>>
>>>
>>>
>>> No fancy bubble. One opens the application, the other has a menu with a
>>> few
>>> options.
>>>
>>>>
>>>>> I'm not sure what they are. How could I find out?
>>>>>
>>>>>>
>>>>>>> I'm running Gnome 3.2 on Linux Mint Debian Edition UP4 x64.
>>>>>>>
>>>>>>>
>
> --
> //Christian



-- 
  Jasper


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