You are not logged in.
Hello,
I wonder why I cannot select Evince as my default PDF viewer. The default application window simply does not let me choose Evince.
Screenshot: https://dl.dropbox.com/u/8902804/Screen … viewer.png
Any ideas what to do alternatively?
Thanks!
Last edited by orschiro (2012-11-26 05:53:37)
Offline
See if perhaps setting NoDisplay to false in /usr/share/applications/evince.desktop changes anything.
Offline
You can try
mimeopen -d <filename>
It might even work with nautilus.
Offline
Try this:
xdg-mime default evince.desktop application/pdf
Offline
I'm sorry I'm digging up this old post. I just had the same problem as the OP, after I had installed Inkscape.
xdg-mime default evince.desktop application/pdf
solved the problem for me. I wonder if there is a bug to file, though? does evince register itself not properly as a PDF viewer within GNOME or does Inkscape somehow overwrite this?
Offline
I wonder if there is a bug to file, though? does evince register itself not properly as a PDF viewer within GNOME or does Inkscape somehow overwrite this?
There's already a bunch of bugs about this filed against most distros. Previously it was just an issue with it not displaying in the application menus, but I think a recent Gnome Shell version (3.4/3.6?) is also now respecting NoDisplay in the Open With / Default application list. I didn't have this problem on my previous Arch install from about 18 months ago up until two weeks ago - Evince was always the default app for opening PDFs - but with my shiny two-week-old Arch install it was a problem.
That said, using xdg-mime is the cross-desktop way of doing this at least.
Offline