Den 10. jan. 2017 23:50, skrev Paul A. Rubin:
I saw the MIME configuration issue mentioned in the threads, but I
thought that was the result of not using a desktop manager (see, for
instance, this question
<https://unix.stackexchange.com/questions/36380/how-to-properly-and-easy-configure-xdg-open-without-any-enviroment>),
which would presumably leave the XDG_CURRENT_DESKTOP variable either
unset or set to null. Perhaps I misunderstood the circumstances in
which the funnel-everything-to-Firefox problem occurred.
FWIW, I tried xdg-open on arch linux. I don't run a desktop manager,
only a window manager. There is no variable called XDG_CURRENT_DESKTOP.
But xdg-open still open sensible viewers for pdf and png. In this case,
"feh" for the png and "evince" for the pdf. A .lyx file was opened in
vim though.
Helge Hafting