[Pkg-lyx-devel] Bug#816173: Bug#816173: Bug#816173: lyx: Lyx failed to start if the $HOME/.lyx does not exist

Georg Baum Georg.Baum at post.rwth-aachen.de
Mon Feb 29 21:22:45 UTC 2016


Am 28.02.2016 um 18:22 schrieb Sven Hoexter:
> On Sun, Feb 28, 2016 at 11:42:52AM +0100, picca wrote:
>
> Hi,
>
>> while preparing my tango package, I need to build the documentation with lyx.
> For future reference, here is the d-d thread:
> https://lists.debian.org/debian-devel/2016/02/msg00454.html
>
>> It seems that it is not allow to write outside the source directory except /tmp during the build process.
>>
>> I see at least two problems.
>>
>> 1) lyx try to create a $HOME/.lyx even if $HOME does not exist
>> 2) it would be great to avoir creating this .lyx directory by default.
> While I agree that 1) is a bug 2) is a bit more complicated.
It is documented that LyX needs a user configuration directory. If the 
default location does not fit, you can use the -userdir parameter. Where 
is the problem? Would you like to fail in a different way if $HOME does 
not exist? It would be easy to add a check for that, but I'd like to 
understand the problem before doing anything.

> LyX is not really intended to be used this way, it's more or less
> centered around the idea of an GUI use in a real user environment.
Most people do indeed use LyX that way, but using it via command line 
without a GUI is an important use case as well (and works fine in general).
> It's part of the whole configuration problem, kind of a dublicate of #397464.

Yes. Parts of the configuration in .the user directory are needed (they 
are expensive to calculate), other could be gathered by different 
mechanisms if somebody would take the time to implement that.


Georg



More information about the Pkg-lyx-devel mailing list