Description of problem:
Despite ``evince'' being installed on my system, xdg-open returns the following error message when applied to a PDF file from the command line:
$ xdg-open test.pdf
gvfs-open: test.pdf: error opening location: No application
is registered as handling this file
Accordingly, the PDF file is neither opened nor displayed.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. xdg-open test.pdf
gvfs-open: test.pdf: error opening location: No application is registered
as handling this file
PDF file is opened and displayed.
evince is installed and 'evince test.pdf' works as expected.
No improvement for gvfs-1.21.4-1.fc21.
No improvement for gvfs-1.21.90-1.fc21.
The problem is likely in glib, because gvfs is just wrapper for glib/gio in this case. This could be connected with new mimeapps spec implementation, see:
Does it work correctly if you try to open the file from nautilus?
Created attachment 929018 [details]
Screenshot of nautilus open file action
No, it does not (see attached screenshot).
glib just got a fix for mimetype handling that might very well fix this.