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.

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.

share|improve this question
add comment

1 Answer

/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.

share|improve this answer
    
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 '13 at 23:26
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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