Bug 750 - No mime type for PAR2 files
Summary: No mime type for PAR2 files
Status: RESOLVED FIXED
Alias: None
Product: shared-mime-info
Classification: Unclassified
Component: freedesktop.org.xml (show other bugs)
Version: unspecified
Hardware: x86 (IA32) Linux (All)
: high normal
Assignee: Jonathan Blandford
QA Contact:
URL: http://parchive.sourceforge.net/
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-06-14 06:42 UTC by dob
Modified: 2004-10-31 18:34 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description dob 2004-06-14 06:42:41 UTC
PAR2 Parity Files are used to repair corrupted files and are very frequently
used on usenet for the posting of binaries.
http://parchive.sourceforge.net/

Shared Mime Info does not provide a mime type foir this, and it has lead me to
great frustrations when trying to click on par2 files from Nautilus.

I added the following to my /usr/share/mime/packages/freedesktop.org.xml and it
seems to work:

  <mime-type type="application/x-par2">
    <comment>PAR2 Parity File</comment>
    <magic priority="50">
      <match offset="0" type="string" value="PAR2" />
    </magic>
    <glob pattern="*.PAR2" />
    <glob pattern="*.par2" />
  </mime-type>
Comment 1 Christophe Fergeau 2004-11-01 13:34:30 UTC
Added to CVS.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.