up vote 0 down vote favorite
share [g+] share [fb]

I just made a clean install of my Debian system and when it comes to partitionning the hard drive i choose the option with /, /home, /var /usr and /tmp are on seperate partition this time. Then i let the default config for the partition table.

Now i have a problem whatever is firefox (iceweasel in fact) downloads directory, it in fact download to /tmp and then copy the entire file to that location when the download is finished.

My problem is that my /tmp partition is to small for some of my downloads, so for now i have to use wget instead but that's not very convenient. I know that some firefox add-ons could make firefox use wget for each downloads but i don't want that.

So my question is, how to tell firefox to downloads in a specific directory during the downloading process? (Is that even possible?)

I took a look at about:config but i didn't saw anything that seems related to what i want.

link|improve this question
feedback

1 Answer

up vote 3 down vote accepted

According to the source code (xpcom/io/SpecialSystemDirectory.cpp: lines 419-433) you can set any of the environment variables TMPDIR, TMP, or TEMP to the path of the directory where you want your temporary files to be stored.

link|improve this answer
I didn't even thought of taking a look at the source code... Thank you, i'll use TEMP since i feel this is the one of the three which will affect the less program (TMP and TMPDIR sound more unix/linux-y than TEMP). – p4bl0 Aug 31 '09 at 17:15
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.