Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. 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

Possible Duplicate:
Which application should I blame for compulsively creating a directory again and again?

When I upload files via Firefox, the Open File dialog appears and the Desktop folder is automatically created. I am using Arch Linux with Xmonad and quite frankly I don't need a Desktop folder inside my home folder.

How do I stop this from happening in the future (i.e. disable the auto creation of the Desktop folder)?

share|improve this question

marked as duplicate by Gilles, Mat, sr_, Caleb, Ulrich Dangel Aug 15 '12 at 1:19

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

up vote 11 down vote accepted

You can do this by creating or editing a file called user-dirs.dirs in ~/.config. Mine has the following:


Firefox follows whatever you have for XDG_DESKTOP_DIR.

share|improve this answer
Simply run: xdg-user-dirs-update --set DESKTOP ~ – feklee Apr 23 '15 at 22:15

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