Comment 29 for bug 1088260

Timo Reimerdes (timorei) wrote :

Workaround for firefox creating the Desktop folder over and over again:

~$ scratch-text-editor .config/user-dirs.dirs

make sure there is a line:
XDG_DESKTOP_DIR="/home/<yourusername>/"

Not "$HOME" - for some reason some applications, firefox being one of them, seem to have a problem recognizing that var. In fact - just to make certain that all other directories are found as well, you can just replace all ocurances of $HOME/ with /home/<yourusername>/

Obiously fill in the name of your user for <yourusername>.

From now on, firefox is not creating the Desktop folder anymore. (I bet this is related to Telegram creating the darn fontconfig folder in Home... *sigh*)