How to force OO to create temp files at a given dir

Issues with installing under all GNU/Linux Distributions
Post Reply
cadabam
Posts: 2
Joined: Wed Feb 20, 2013 8:33 pm

How to force OO to create temp files at a given dir

Post by cadabam »

I am running some pdf export jobs using the API and I see a lot of temp files created on my /tmp directory

The files look like
OSL_PIPE_.....
jna8098070....tmp

Is there a way I can clean up these files after pdf export is complete. Or is there a way to tell the API to create the temp files at a given dir so that I can delete the dir when the job is done ?

Thanks,
Pradhan
OpenOffice 3.2 on RedHat Linux 5
User avatar
acknak
Moderator
Posts: 22756
Joined: Mon Oct 08, 2007 1:25 am
Location: USA:NJ:E3

Re: How to force OO to create temp files at a given dir

Post by acknak »

I believe I have run OOo with the TMPDIR variable set and it created the temp files in the specified directory--but I'm not 100% sure I'm remembering correctly.
AOO4/LO5 • Linux • Fedora 23
User avatar
kingfisher
Volunteer
Posts: 2123
Joined: Tue Nov 20, 2007 10:53 am

Re: How to force OO to create temp files at a given dir

Post by kingfisher »

You can set the temp directory in Tools > Options > Paths
Apache OpenOffice 4.1.9 on Linux
Post Reply