Am 21.10.2020 um 12:41 schrieb Carsten Schoenert:
> Hello Michael,
> 
> Am 21.10.20 um 00:43 schrieb Michael Biebl:
>> I notice the following:
>>
>> # grep StartupWMClass
>> /usr/share/applications/net.thunderbird.Thunderbird.desktop
>> StartupWMClass=Thunderbird
>>
>> So, either change that to StartupWMClass=thunderbird or update
>> thunderbird to report Thunderbird as StartupWMClass X property.
> 
> you are the first person that is digging into these parts and also
> provide helpful hints. Thanks for this!
> 
> Some rationale for the reason behind the renamed desktop file.
> 
> Upstream decided to support the AppStream standard and introduced some
> time ago an *appdata.xml file named
> 
>   net.thunderbird.Thunderbird.appdata.xml
> 
> This file is lacking an entry for <launchable type="desktop-id"> as
> upstream isn't shipping an .desktop file yet.
> The .desktop file we use in Debian is the same as Ubuntu is shipping, in
> fact I picked some parts from Ubuntu long ago to get these quite the same.
> 
> I plan to bring the .desktop file into upstream so all Linux distros
> could participate from that and we get some unifying into that. There is
> some more work on translations to do.
> 
> As currently seen this will not work for now without some fallout. :/
> 
> The appdata file for example is currently using 'Thunderbird' with the
> upper case letter 'T' that is chosen unfortunate.
> 
> The issue that of course some manual added new menu entry within the
> GNOME quickstarter is currently not working any longer after my last
> modification did unfortunately come to my attention *after* I've
> uploaded 1:78.3.3-1.
> 
> But your hint about adjusting StartupWMClass should help to solve this
> all together.
> 
> Depending on available time I'm considering to revert the modification
> on this until I can rework it properly. If you want and can provide some
> patches I'm happy to apply them.
> 
> Currently I see the following steps.
> 
> 1. Rename net.thunderbird.Thunderbird.appdata.xml to
>    net.thunderbird.thunderbird.appdata.xml

I don't really know anything about AppDate and if that file requires any
changes. So I can't really comment on that, especially the naming of the
file.

> 2. Adjust StartupWMClass to 'thunderbird' in
>    net.thunderbird.Thunderbird.desktop
> 
> Do I (still) miss something here?

You can do that or as said change thunderbird to set the WM_CLASS
property to uppercase Thunderbird or net.thunderbird.Thunderbird (in the
latter case, you don't need StartupWMClass in your desktop file).
So it depends on which approach you/upstream prefers.

Regards,
Michael



-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to