Re: Re: mime-types without gnome

[email protected] (Haines Brown)
Newsgroups gmane.comp.web.galeon.user
Message-ID <[email protected]>
> > I suspect that ".wmv" is only a Microsoft extension and is not the
> > name of the MIME file type. If so, where does one find that kind
> > of information?
> 
> According to freedesktop.org MIME database
> (/usr/share/mime/packages/freedesktop.org.xml) the MIME type for wmv
> files is 'video/x-ms-wmv'

Yes, that worked. Thanks.

> If there's a MIME type that is not included in the MIME database,
> you need to write your own xml file in that directory, or in case
> the MIME type is an 'alias' for an existing MIME type
> (application/msword ~ application/vnd.ms-word) maybe add the alias
> declaration in the freedesktop.xml.
> 
> In both cases you need to run 'update-mime-database' and preferably
> work with freedesktop.org so that the MIME type that was previously
> missed gets included at some point.  (The MIME database is supposed
> to be canonical, users are not meant to be tweaking it.)

I started out in the Linux world as a gnome sympathizer, but then
backed away from the desktop, and now am wondering if gnome
applications are really within the reach of a non-guru who sees the
operating system as a means rather than end.

I thank you for your helpful guidance, particularly the pointer to the
mime-type database. It was more helpful than my # file command, which
told me my sample .wmv file was: Microsoft ASF. The MIME database
suggests that x-ms-asf is a mime type, but galeon can bring up gxine
to run the file, even though only the x-ms-mpeg is in the mimecache.

But things are working smoothly now, thanks.

Haines Brown


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.