! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
Exo doesn't follow the mime-types standard and ignores the "Removed Associati...
Status:
RESOLVED: INVALID

Comments

Description Felipe Contreras 2015-07-24 17:05:55 CEST
I have this:

  ~/.local/share/applications/mimeapps.list
  [Removed Associations]
  image/png=wine-extension-png.desktop

The standard says this:

The [Removed Associations] group removes associations of applications with mimetypes, as if the .desktop file was NOT listing this mimetype in the first place.

Yet when I open a 'image/png' file it uses Wine.

Exo seems to be completely ignoring the "Removed Associations" section.

It's a complete pain in the pass to manually fix all the mess Wine creates EVERY TIME it gets installed, so I created this in my mimeapps.list.

[Removed Associations]
application/rtf=wine-extension-rtf.desktop
application/vnd.ms-htmlhelp=wine-extension-chm.desktop
application/x-mswinurl=wine-extension-url.desktop
application/x-mswrite=wine-extension-wri.desktop
application/xml=wine-extension-xml.desktop
image/gif=wine-extension-gif.desktop
image/jpeg=wine-extension-jpe.desktop;wine-extension-jfif.desktop;
image/png=wine-extension-png.desktop
text/html=wine-extension-htm.desktop
text/plain=wine-extension-txt.desktop

Why is Exo not following the standard?
Comment 1 Felipe Contreras 2015-07-24 17:23:31 CEST
It seems this only works in ~/.config/mimeapps.list. The compatibility with ~/.local/share/applications/mimeapps.list should still work.
Comment 2 Theo Linkspfeifer editbugs 2019-04-20 23:02:04 CEST
Closing this old report.

For compatibility reason ~/.local/share/applications/mimeapps.list is still being read, but only when ~/.config/mimeapps.list is not present.

Bug #12089

Reported by:
Felipe Contreras
Reported on: 2015-07-24
Last modified on: 2019-04-20

People

Assignee:
Nick Schermer
CC List:
2 users

Version

Version:
unspecified

Attachments

Additional information