How to fix mime filetype

Aaron Konstam akonstam at sbcglobal.net
Fri Feb 15 21:54:14 UTC 2008


On Fri, 2008-02-15 at 11:23 -0500, Neal Becker wrote:
> Aaron Konstam wrote:
> 
> > On Fri, 2008-02-15 at 07:04 -0500, Neal Becker wrote:
> >> I made the mistake of installing adobe's latest acroread on F8.  Now,
> >> there is no mime type for pdf:
> >> 
> >> xdg-mime query filetype *.pdf
> >> application/octet-stream
> >> 
> >> xdg-mime query default application/x-pdf
> >> xdg-mime query default application/pdf
> >> 
> >> System never heard of this mime type anymore.
> >> 
> >> How do I fix this?
> > 
> > That is strange. I also installed acroread from Adobe as an rpm.
> > 
> > However on my machine:
> > 
> >  xdg-mime query filetype *.pdf
> > application/pdf
> 
> AdobeReader_enu.i486 0:8.1.2-1 ?
That the same version I have installed. 
However, I made a mistake. What I did above was actually done on a f7 machine.
If I execute the command on a f8 machine I get the error that *.pdf does not exist.
Unless I am in a directory that has at  least one .pdf file then the result is:
application/pdf
> 

--
=======================================================================
"Today's robots are very primitive, capable of understanding only a few
simple instructions such as 'go left', 'go right', and 'build car'."
--John Sladek
=======================================================================
Aaron Konstam telephone: (210) 656-0355 e-mail: akonstam at sbcglobal.net




More information about the fedora-list mailing list