Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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.

share|improve this question
up vote 5 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.

share|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

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .