Up until yesterday my default PDF viewer was evince. Today, I tried to open a PDF and it opened with ImageMagick. I am trying to change it back to evince but with no success. What I 've tried:
- Changing it the standard GUI way from the file manager.
- Editing ~/.local/share/applications/mimeapps.list
- Deleting ~/.local/share/applications/mimeapps.list
$ xdg-mime default evince.desktop application/pdf
- Tried with the Trusty version of Ubuntu Tweak (I am on 15.04)
I also checked the /usr/share/applications/mimeinfo.cache
and /etc/gnome/defaults.list
and both have evince.desktop as the first option.
As an extra note, changing other defaults works.