Bennett Helm <[EMAIL PROTECTED]> writes:

> That sounds good. Perhaps configure.py could launch this script after
> it runs; wouldn't that be better than doing it after the user dir's
> creation?
>
> This is starting to give me second thoughts about whether linking
> rather than copying to files is better. If LyX.app is moved, the
> links break. I suppose we could assume LyX.app won't be moved while
> it is running, but that would require running the script everytime
> LyX is launched. Any thoughts about which is the best approach?

The script could have two functions:

- create new user directory and import old settings. This can be
  invoked every time the userdir has to be created.

- make sure that examples and templates are correctly visible.

The second function can probably be done at every launch of the
application without problem. Or it could be turned into a few lines of
C++.

The problem with copying files is that you end up with a copy for each
user and the user is able to modify this copy without restriction. I
think it is a recipe for problems.

JMarc

Reply via email to