[Pkg-lyx-devel] patch for scripts/update-lyrc
Georg Baum
Georg.Baum at post.rwth-aachen.de
Mon May 29 18:57:10 UTC 2006
Am Montag, 29. Mai 2006 18:51 schrieb Sven Hoexter:
> That doesn't sound good and I guess that it collides with the FHS and it
> will hurt people mounting /usr read-only. The other way around might be
an
> option.
I meant of course the other way round.
> Ok let me summarize this for the slower people (like myself :-/) to
> be sure that I got it this time.
>
> - lyxrc.defaults no longer exists as a global file, it still exists in
> $HOME/.lyx and can be/is generated with configure.py
yes.
> - lyxrc.dist *can* be created as a global file if you want to ship a
> package with some special settings. It will be read before
> $HOME/.lyx/lyxrc.defaults
yes.
> - Lyx src/ChangeLog has this entry:
> 2006-04-28 Jean-Marc Lasgouttes <lasgouttes at lyx.org>
>
> (init): read lyxrc.dist before lyxrc.defaults; remove code to
read
> lyxrc (LyX 1.1.5 compatibility code).
>
> If I got this right lyx no longer reads /etc/lyxrc by default so I see a
few
> options how to deal with it.
I don't know if /etc/lyxrc was read by some LyX version in the past, but
at least from 1.3.x on LyX does _not_ read that file.
> a) It might make sense to install a file /etc/lyxrc(.dist) with just a
> comment in and create a link pointing from /usr/share/lyx/lyxrc.dist
> to /etc/lyxrc(.dist)
I'd prefer this, but if Pelle wants to patch the source to directly
read /etc/lyxrc I am happy with that, too.
> b) Create /usr/share/lyx/lyxrc.dist with a comment that it's empty
> or put something in if we need it and pretend that this file should
not
> be modified.
bad.
> c) Create neither /etc/lyxrc nor /usr/share/lyx/lyxrc.dist
Then people will not be able to do global customizations.
Georg
More information about the Pkg-lyx-devel
mailing list