I have the problem that LyX 1.4.2 doesn't use the settings written by configure.py to lyxrc.defaults.

As I'm on Windows I added the correct names of the win executables to configure.py. My configure.py contains the line:

path, ie = checkViewer('a raster image editor', ['gimp', 'gimp-2.2', 'gimp-2.4', 'photoshop', 'mspaint'])

When I reconfigure LyX, gimp-2.2 is correctly recognized (I also added Gimp's path to the file lyxrc.dist to achieve this) and LyX tells me that I have to restart LyX to use the new settings. When I click OK but don't restart, I can see in the preferences, that gimp-2.2 is correctly set as editor of PNG-files. Fine so far but when I restart LyX, the preferences tell me that "auto" is set as editor of PNG-files. The file lyxrc.defaults created by configure.py correctly contains gimp-2.2 as editor:

\Format png        png     PNG          "" "auto"   "gimp-2.2"

So why does LyX not use this setting?

Btw. this bug does not occur for PGM-images, where gimp-2.2 remains after the restart of LyX - strange.

Could anybody help me?

Thanks in advance and regards
Uwe

Reply via email to