Package: media-types
Version: ?
Severity: normal

Dear Maintainer,

Would it be possible to change the xcf file association in
/etc/mime.types from application/x-xcf to image/x-xcf?

GIMP uses the xcf file extension by default, and registers to handle
mime type image/x-xcf in its gimp.desktop file.

https://github.com/GNOME/gimp/blob/512fc2469422bb651515fb56a250439a1cc5c4ad/configure.ac#L1451

XDG shared-mime-info also uses image/x-xcf to associate *.xcf files.

https://gitlab.freedesktop.org/xdg/shared-mime-info/-/blob/47ca1dc530d356336ffe1b7a45dc5dc8f0e528ca/data/freedesktop.org.xml.in#L5568

I'm not sure the history of why these 2 are not in sync, so I'm not sure
if this would cause any issues to change it in media-types. I have
emailed gimp-developer-l...@gnome.org to ask their opinion about this
requested change. I will follow up when I hear from them.

-- System Information:
Debian Release: 10.7
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 5.4.128-15728-g686e2baf4c9b (SMP w/8 CPU cores; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Reply via email to