2012/7/7 Charlie: > Nutted it out - changed to "okular" in LyX->Preferences->File > Handling->File Formats > > It was Custom, but I didn't change it - so what interfered?
xdg-open is a wrapper that opens a file or URL in the user's preferred application. If this is installed on your OS (and some Linux distros use it by default), LyX will select it as the custom output program for PDF (and many other output formats) and thus lets xdg-open decide which application to use actually. What changed, probably, is the application that is set in xdg-open for PDF files (the text/pdf mime type). You can check and change that in the xdg-open configuration files located at ~/.local/share/applications/defaults.list (for a single user) and /usr/share/applications/defaults.list (system wide). Another possibility is that xdg-open was installed recently (and wasn't before) during a system update. In any case, GIMP does not strike me a good default application for PDFs in general, so I would change it to something more reasonable independent of the LyX case. HTH Jürgen