Re: Cannot quit, when tmp-dir is missing

1999-09-23 Thread Lars Gullik Bjønnes

Thierry Lemeunier <[EMAIL PROTECTED]> writes:

| I think you can change the location of the the tmp directory
| in your ~/.lyxrc/lyxrc file.
| 
| It's more simple than change your script ;-)

Yes, but other programs are also likely to be bitten by this.

Lgb



Re: Cannot quit, when tmp-dir is missing

1999-09-23 Thread Thierry Lemeunier

Jan Ulrich Hasecke wrote:
> 
> Hello Lyxers,
> 
> i have a script which deletes from time to time things in /tmp
> 
> When lyx is running and the script deletes temporary lyx-files in
> /tmp, you can not quit lyx. Lyx complains:
> 
> Error! Couldn't delete temporary directory
> 
> It is certainly a feature. But is it necessary? ;-)
> 
> Ciao!
> juh
> 

Hi,

I think you can change the location of the the tmp directory
in your ~/.lyxrc/lyxrc file.

It's more simple than change your script ;-)

Thy

-
Thierry LEMEUNIER
Equipe Langue et Dialogue
-
Laboratoire d'Informatique de L'Universite du Maine
Institut d'Informatique Claude Chappe
rue Laennec
F72085 LE MANS CEDEX 9
-
Tel : 33/0 2 4383 3865  Fax : 33/0 2 4383 3868
mailto : [EMAIL PROTECTED]
webpage : http://www-ic2.univ-lemans.fr/~lemeunie/
-



Re: Cannot quit, when tmp-dir is missing

1999-09-23 Thread Lars Gullik Bjønnes

Juergen Vigna <[EMAIL PROTECTED]> writes:

| On 22-Sep-99 Jan Ulrich Hasecke wrote:
| > Hello Lyxers,
| > 
| > i have a script which deletes from time to time things in /tmp
| > 
| > When lyx is running and the script deletes temporary lyx-files in
| > /tmp, you can not quit lyx. Lyx complains:
| > 
| > Error! Couldn't delete temporary directory
| > 
| > It is certainly a feature. But is it necessary? ;-)
| > 
| 
| You should maybe revise your script and look at the timestamp of
| things you delete :)

Yup. This kind of script will certainly kill/break/render a running LyX
unusable.

What about using find to only delete files that has not been
modified/accessed for say 2 days? (or whatever)

Lgb



RE: Cannot quit, when tmp-dir is missing

1999-09-23 Thread Juergen Vigna


On 22-Sep-99 Jan Ulrich Hasecke wrote:
> Hello Lyxers,
> 
> i have a script which deletes from time to time things in /tmp
> 
> When lyx is running and the script deletes temporary lyx-files in
> /tmp, you can not quit lyx. Lyx complains:
> 
> Error! Couldn't delete temporary directory
> 
> It is certainly a feature. But is it necessary? ;-)
> 

You should maybe revise your script and look at the timestamp of
things you delete :)

Greets Jürgen

-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._

Dr. Jürgen Vigna  E-Mail: [EMAIL PROTECTED]
Gerbergasse 60Tel:+39-0471-450260
I-39100 Bozen Fax:+39-0471-970042
ITALY Web:http://www.sad.it/~jug

Welcome to Utah.
If you think our liquor laws are funny, you should see our underwear!

-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._