stop firefox directory autocreation

29 Oct 2011

By default Firefox creates a Desktop and Download directories in $HOME accordying to freedesktop policies. This feature can be annoying for some persons (including me). IMO nobody should force you to use a pre-fixed directory layout.

To disable this feature the $HOME/.config/user-dirs.dirs file should be edited as follows:

$ cat $HOME/.config/user-dirs.dirs
XDG_DESKTOP_DIR="$HOME/./"
XDG_DOWNLOAD_DIR="$HOME/./"
XDG_TEMPLATES_DIR="$HOME/./"

The Linux desktop specifications are pretty dumb 😔