Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Here's my situation: I'm running Firefox 4 (Beta 12) in Red Hat Linux. I have the following settings:

  • "Ask me every time" where to download files; and
  • Don't remember download history

I want to keep these. However, when I click a link to download, and FF brings up the "Enter name of file to save to" dialog, that dialog defaults to ~/Downloads. I want to change that default to another directory. How can I do this?

Please note that I am not asking how to change FF's settings to automatically save all files to a particular directory. I still want FF to ask me where to save files, I just want to change the directory that the dialog defaults to.

Many thanks.

share|improve this question

1 Answer 1

up vote 0 down vote accepted
  1. In about:config, change the browser.download.lastDir setting.

  2. Add this line to the $XDG_CONFIG_HOME/user-dirs.dirs file:

    XDG_DOWNLOAD_DIR="$HOME/whatever"
    

    ($XDG_CONFIG_HOME defaults to ~/.config)

share|improve this answer
    
That did the trick, thanks! –  David Mar 18 '11 at 20:13

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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