Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

4
  • 1
    Which file explorer are you talking about? Linux has dozens. What does XDG_UTILS_DEBUG_LEVEL=2 xdg-mime query default application/x-pdf output? Commented Sep 1, 2015 at 22:46
  • I've answered your question in the EDIT 1. Commented Sep 2, 2015 at 5:56
  • Hmmm. I don't understand how Gnome applications determine what application to use to open a file. If you run xdg-open somefile.pdf on the command line, what application runs? What if you use see somefile.pdf? Does running the following command help? grep 'pdf.*evince' /etc/mailcap >>~/.mailcap Commented Sep 2, 2015 at 8:42
  • xdg-open uses imagemagick, with see the file.pdf is opened with evince-previewer. Creating .mailcap doesn't help. Commented Sep 2, 2015 at 9:04