Xfce Forum

Sub domains
 

You are not logged in.

#1 2011-06-04 09:41:39

torquil
Member
Registered: 2011-06-04
Posts: 6

XML and SVG MIME types, Thunar and SVG files

Hi all!

I'm wondering if the following is a bug in Thunar: Essentially, Thunar is presenting Hydrogen as a valid handler for SVG files.

Let me explain further:

The file /usr/share/applications/hydrogen.desktop contains the line

MimeType=text/xml;

Therefore it is no surprise that Hydrogen is used as a handler for XML files within Thunar.

However, SVG files should be of the MIME type "image/svg+xml". So my question is: why does Thunar open SVG files using Hydrogen? Hydrogen does not claim in its *.desktop file to be able to handle files of MIME type image/svg+xml.

I originally reported this as a bug against Hydrogen in Debian, but it might be a Thunar bug according to the response I got there. Please read my original report and the response:
Ref:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=629105

I though I'd test the waters here before filing an actualy bug against Thunar.

Best regards
Torquil Sørensen

Last edited by torquil (2011-06-04 09:42:44)

Offline

#2 2011-06-04 11:21:18

Nick
Dev
From: ~
Registered: 2005-02-17
Posts: 1,144
Website

Re: XML and SVG MIME types, Thunar and SVG files

The reason is sub-classing: "image/svg+xml" is a sub-class of "application/xml", which has an alias "text/xml". So Hydrogen is the most-likely application on your system to open image/svg+xml files.

This is all defined by the shared-mime-info package.

Offline

Board footer

Powered by FluxBB