I have implemented a patch as you suggested.
In the vein of the '-sysdir' switch, I set the user directory by:
1) -userdir (command line)
2) LYX_USERDIR_11x (environment )
3) $HOME/.<binary name> (default)
In the case the user explicitly requests a non-existent directory, I give
a different question than in the case there is no $HOME/.lyx directory.
If you approve, and think it appropriate for general use, please tell me
how to submit the patch.
Thanks,
Lior
On 23 May 2000, Jean-Marc Lasgouttes wrote:
> >>>>> "Lior" == Lior Silberman <[EMAIL PROTECTED]> writes:
>
> Lior> I would like to use LyX from several different displays, each of
> Lior> which has different fonts available (as xfontsel testifies).
> Lior> Thus, it would help if there were command-line options for these
> Lior> settings, overriding lyxrc. Note there are various (command
> Lior> line) options for changing the colours (according to the man
> Lior> page).
>
> Lior> If this only requires superficial changes to the code, I'll be
> Lior> happy to make them myself.
>
> The simplest thing would probably to have a -userdir switch to allow
> using something else than .lyx/ as a user directory. It would probably
> not be too difficult to do, provided you look at how -sysdir is
> implemented in src/lyx_main.C.
>
> JMarc
>