Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

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.

1 Answer 1

up vote 7 down vote accepted

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

XDG_DESKTOP_DIR="$HOME/"
XDG_DOCUMENTS_DIR="/srv/documents/"
XDG_DOWNLOAD_DIR="$HOME/downloads/"
XDG_MUSIC_DIR="/srv/music/"
XDG_PICTURES_DIR="/srv/pictures/"
XDG_VIDEOS_DIR="$HOME"

Firefox follows whatever you have for XDG_DESKTOP_DIR.

share|improve this answer

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