New `MimeType` fields in .desktop

Jehan Pagès jehan.marmottard at gmail.com
Sun Feb 21 16:27:32 UTC 2021


Hi!

On Sun, Feb 21, 2021 at 4:56 PM Sebastian Pipping <sebastian at pipping.org>
wrote:

> Hi Jehan,
>
>
> On 16.02.21 17:11, Jehan Pagès wrote:
> > Typically someone reported an issue about GIMP taking over handling of
> > image types it supports every time it is installed/updated. So for
> > instance JPEG images were not displayed by default with a simple image
> > viewer anymore, but in GIMP.
>
> we had exactly that in Gentoo where Gimp was taking over PDF files by
> default, just because it can import PDF and hence announced that mime
> type as supported.
>
> For Gentoo, my workaround was to rename gimp.desktop to zzz-gimp.desktop
> during installation, and that's still done today [1], but it's nowhere
> near a fix and not without problems [2].
>
> So if you get that situation improved, that would surely be nice.
>

Yeah so I can see this has been a problem for a lot of people over the
years, be it GIMP with various, LibreOffice with txt files (I remember
having this one once) or basically it could just happen with any program
having a bit of overlap file support with others while not being the ideal
default.

I wish it to be fixed too, but I don't really know what else I can do other
than argumenting more on my proposal, which I did quite a bit already. 🙂

Should I propose a merge request adding these new fields in the spec file?
I can even do this today or tomorrow if that would make things go forward.

Jehan


> Thanks and best
>
>
>
> Sebastian
>
>
> [1]
>
> https://github.com/gentoo/gentoo/blob/2782856fd385873204c69abcc8e46053227e4cb1/media-gfx/gimp/gimp-2.10.22-r2.ebuild#L191
> [2] https://bugs.gentoo.org/679220
> _______________________________________________
> xdg mailing list
> xdg at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/xdg
>


-- 
ZeMarmot open animation film
http://film.zemarmot.net
Liberapay: https://liberapay.com/ZeMarmot/
Patreon: https://patreon.com/zemarmot
Tipeee: https://www.tipeee.com/zemarmot
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/xdg/attachments/20210221/63c9e0d9/attachment.htm>


More information about the xdg mailing list