Georg Baum schrieb:
So why does LyX not use this setting?
That is by design. If you want to customize settings, use the preferences
file. configure.py is not meant to be modified. If the OS provides a
default viewer for a format then that is used instead of the one detected
by configure.py.
But this makes it impossible for the installer to detect installed
applications! Two examples:
- After installing LyX I'm not able to view PDF's because there is no
default viewer for PDF although GSview is installed.
- The default image editor is always MS Paint, no matter if you have
installed the Gimp or Photoshop. And with Paint you can't really edit
images.
That's why I spend so much time to detect installed programs while the
installation and this requires to accept the found programs.
I mean why do we then create a lyxrc.defaults file and check for
programs if LyX don't use it?
To fix the wrong executables names in configure.py I thaught I could
send a patched version. But if LyX don't accept it, I have to wait until
LyX 1.4.3 to have this fixed, is that correct?
Editing the preferences file doesn't fix the problem, as it is only
valid for the current user. I could write a hack to have the same
preferences file for all users.
Joost, what is your experience with that?
thanks and regards Uwe