Wednesday, August 11, 2010

HOWTO change the preferred application for PDF on Ubuntu

I recently installed adobe reader, and it stole "preferred application" status for PDFs away from evince.

To check the default for PDF use:
xdg-mime query default application/pdf

Which, in my case was "AdobeReader.desktop". To change it:
xdg-mime default evince.desktop application/pdf

No comments: