Evince problem in Ubuntu Dapper

I had a problem with Evince not being able to read PDF's. I was getting this error:

Unhandled MIME type: 'application/x-extension-pdf'

From what I read here there is a problem with files in /usr/share/mime not being readable, so I corrected that (sudo chmod -R +r /usr/share/mime) and it works now. I also deleted ~/.local/share/mime just in case.

Comments

oh

I also met this problem yesterday,and I don't remember what I did .

Now it works well useing the way you mentioned.

But I think it is not a good way to solve this problem.

Probably we should modify the file locate ~/.local/share/applications/x-extension-pdf.xml

but I don't know how do deal with it .

the problem is your package.

the problem is your package. there's something wrong with the way the evince-gtk package handles pdfs... remove it and install the normal evince package. works! launchpad bug reference

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.