Differences between revisions 15 and 16
Revision 15 as of 2008-05-04 07:25:45
Size: 2815
Comment: Added a few words about the 'file' utility.
Revision 16 as of 2009-03-16 03:32:25
Size: 2824
Editor: anonymous
Comment: converted to 1.6 markup
Deletions are marked like this. Additions are marked like this.
Line 18: Line 18:
||.pdb ||chemical/x-pdb || rasmol (Bug [http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=460990  460990]) || ||.pdb ||chemical/x-pdb || rasmol (Bug [[http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=460990|460990]]) ||
Line 32: Line 32:
 * If somebody can propose a patch that reduces the size of the warning for using the chemical/* types, we will make our packages recommend [http://packages.debian.org/chemical-mime-data chemical-mime-data], and file wishlist bugs wherever appropriate.  * If somebody can propose a patch that reduces the size of the warning for using the chemical/* types, we will make our packages recommend [[http://packages.debian.org/chemical-mime-data|chemical-mime-data]], and file wishlist bugs wherever appropriate.
Line 36: Line 36:
The {{{file}}} program does not deal with MIME types, but detects file types. [http://lists.debian.org/debian-devel/2008/05/msg00037.html After the Lenny release], it will be possible to drop some files in /usr/share/file so that {{{file}}} learns about new file types. The {{{file}}} program does not deal with MIME types, but detects file types. [[http://lists.debian.org/debian-devel/2008/05/msg00037.html|After the Lenny release]], it will be possible to drop some files in /usr/share/file so that {{{file}}} learns about new file types.
Line 40: Line 40:
 * [http://msdlocal.ebi.ac.uk/docs/mimetype.html NCBI Mime-Type Document] (1996)
 * [http://www.ch.ic.ac.uk/chemime/ Chemical MIME Home page] (2004)
 * [[http://msdlocal.ebi.ac.uk/docs/mimetype.html|NCBI Mime-Type Document]] (1996)
 * [[http://www.ch.ic.ac.uk/chemime/|Chemical MIME Home page]] (2004)

Media types on Debian-Med desktops

Some Debian-Med package associate file suffixes to applications by using the method described in the MimeTypesSupport page of this wiki. This is a bit experimental an unofficial, as there is no support in upstream packages. This page keeps track of the associations.

Eventually it will be better to forward the associations to the FreeDesktop.org shared MIME database, in coordination with upstream.

Suffix

MIME type

Package(s)

What is it?

.ph

text/x-clustalw-tree

treeviewx, njplot

phylogenetic tree

.phb

text/x-clustalw-tree

treeviewx, njplot

.aln

text/x-clustalw-alignment

seaview, clustalx

sequence alignment

.sto

text/x-stockholm-alignment (proposition)

not MIME support yet

sequence alignment in Stockholm format

.ppr

application/x-perlprimer

perlprimer

.ab1

application/vnd.appliedbiosystems.abif, application/x-dna (alias), application/abi1 (alias)

abiview (emboss)

Can someone confirm/improve

Suffix

MIME type

Package(s)

.pdb

chemical/x-pdb

rasmol (Bug 460990)

Until they are submitted to a central MIME database, the .sharedmimeinfo files for each type are duplicated and not automatically synchronised. Please do this by hand if you modify one copy.

Hint: one can determine the MIME type using gnomevfs-info or gnomevfs-info -s (for the slow mode, see http://lists.debian.org/debian-med/2008/01/msg00073.html)

Chemical MIME

Follwing discussion on the DebianMed mailing list (http://lists.debian.org/debian-med/2008/01/msg00093.html), it has been proposed that:

  • If a chemical/* media type already exists, we will use it.
  • We will not create new chemical/* media types.
  • We will not migrate some types from chemical/* to text/*.
  • If somebody can propose a patch that reduces the size of the warning for using the chemical/* types, we will make our packages recommend chemical-mime-data, and file wishlist bugs wherever appropriate.

File

The file program does not deal with MIME types, but detects file types. After the Lenny release, it will be possible to drop some files in /usr/share/file so that file learns about new file types.

See also