Evince not able to open DVI file on Fedora (gnome)
August 19, 2010 22:42:26 Last update: August 19, 2010 22:43:59
Lyx wasn't able to open DVI files with the error message MIME type
But it didn't work! I checked that the file
I had to update the system wide configuration file
application/x-dvi not supported. I looked at Lyx preferences and it's using xdg-open to open the file. The following query shows that the default application for the DVI mime type is Evince. So I updated that to xdvi, which I do have.
$ xdg-mime query default application/x-dvi evince.desktop $ xdg-mime default xdvi.desktop application/x-dvi
But it didn't work! I checked that the file
~/.local/share/applications/defaults.list did get updated. I even logged out and logged back in!
I had to update the system wide configuration file
/usr/share/applications/defaults.list to make it work:
#application/x-dvi=evince.desktop application/x-dvi=xdvi.desktop