Wolfgang Engelmann wrote:
I have this problem:
my /tmp in root is a separate partition and not very large. I have therefore changed the path in LyX (tools>settings) to a /tmp in my home and emptied the /tmp in root. That was apparently a bad idea, since now by trying to start lyx I get:

LyX could not create the temporary directory '/tmp/lyx_tmpdir63043uH0e4'

Lyx is not starting anymore. Do I have to install LyX anew?


No. Find the 'preferences' file in your home directory (might be under .lyx on a Linux system -- I'm on Windoze, so I'm not sure). Open it with an editor (presumably not LyX) and find the file section. There should be an entry labeled \tempdir_path. Delete it, save the file, and try to start LyX. This should revert you to the original /tmp. This works with 1.5.0rc1, but I'm pretty sure it's the same on 1.4.4.

I'm a bit fuzzy on what you did (and why it went wrong). The cannot-create message suggests either a nonexistent path or a permissions problem. Again, I'm not a Linux user (although I have fooled around with it in the past), but doesn't /tmp/lyx_tmpdir... imply that tmp is mounted at the root level? (Apologies if I flubbed the terminology there.) If I were using a local temp directory, I would have assumed it would look like /home/tmp or /user/<me?>/tmp.

/Paul

Reply via email to