Re: How to fix mime filetype

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.

I've never installed Adobe's PDF reader, and my set-up's pretty similar:

[tim@suspishus ~]$ xdg-mime query filetype pdf
xdg-mime: file 'pdf' does not exist

[tim@suspishus ~]$ xdg-mime query default application/x-pdf

[tim@suspishus ~]$ xdg-mime query default application/pdf
evince.desktop

> How do I fix this? 

[tim@suspishus ~]$ man xdg-mime

NAME
       xdg-mime - command line tool for querying information about file type
       handling and adding descriptions for new file types

Read it, and find out what you do to add one.  Likewise, with looking at
the output of:  xdg-mime --help

Setting a new MIME type default:
[tim@suspishus ~]$ xdg-mime default evince.desktop application/x-pdf

Querying, to see that it worked:
[tim@suspishus ~]$ xdg-mime query default application/x-pdf
evince.desktop

"evince.desktop" being the file that makes up the Applications menu
entry that goes with the evince program.

-- 
(This computer runs FC7, my others run FC4, FC5 & FC6, in case that's
 important to the thread.)

Don't send private replies to my address, the mailbox is ignored.
I read messages from the public lists.

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux