My music folder has a different icon from the other folders.
Gnome use the folder-music icon to personalize the music folder icon.

I would like to know where (in which configuration file or where in GConf, DConf) this association is made.

2 Answers 2


/etc/xdg/user-dirs.defaults (global) and ~/.config/user-dirs.dirs (local) contain the directions to default directories. The xdg-user-dirs-update command may also be of some use to you.

Edit: Sorry, I should have been far more specific. In gnome, the file manager Nautilus constantly monitors the XDG configuration files for changes, and is hard-coded throughout (for example; nautilus-icon-names.h) to match the specific pixmap to the specified XDG folder.

  • Thanks for your answer, but my question is how Gnome makes the link between a folder and its icon. Not where is the default folder configuration.
    – Nicolas
    Jan 18, 2013 at 23:26
  • Thanks for the edit, this is exactly the answer I was looking for.
    – Nicolas
    Jan 7, 2016 at 22:57

Installing the xdg-user-dirs package and logging in anew made this work for me ...

The tracker apps seem look to the xdg cfg for where to mine.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .