Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Possible Duplicate:
where is stored the icon informations for folders

In windows there's hidden a configuration file: if deleted, it's like it was never customized.

I don't see anything when customizing in Ubuntu,

Where does it store the configuration file that says what icon to display?

share|improve this question

marked as duplicate by Anwar Shah, RobotHumans, Mitch, Jorge Castro, izx Aug 30 '12 at 22:01

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.

There's no .icons folder there. – Fresco Aug 2 '12 at 7:39
I'm telling you, i have enabled the view of hidden folders/files, i see lots of .file/.folder but there's no .icons – Fresco Aug 2 '12 at 7:49
OK ,then someone will answer it. – atenz Aug 2 '12 at 7:50
If you don't have a .icons folder create it, usually there's not .themes and .icons upon fresh install. – Uri Herrera Aug 2 '12 at 8:39

Ubuntu stores directory information such as what icon to display in a user specific hidden folder. The folder is ~/.local/share/gvfs-metadata. Home directory settings are stored in ~/.local/share/gvfs-metadata/home. If you change some other settings on other partitions, they are stored also in this folder with a file name using partition UUID.

To Experiment with this, first move the folder in the Home directory and restart nautilus.

  • Move the gvfs-metadata folder to home

    mv ~/.local/share/gvfs-metadata ~
  • Restart nautilus by pressing ALT+F2 and typing nautilus -q. Then again bring the dash command with the previous keyboard shortcut and type nautilus. You will see that, any customized icon is reset to default.

  • Now again move the gvfs-metadata to it's previous location

    mv ~/gvfs-metadata ~/.local/share/

    Again, restart nautilus by doing nautilus -q command and open your home folder to see that, the customized icon is now back!

share|improve this answer

Depending on what DE you're using your settings will be in hidden folders such as:

Folders starting with:

  • Gnome : .gnome2, etc.
  • KDE: .kde

Others are inside the .config folder such as:

  • XFCE: .xfce4, etc.
share|improve this answer

While this doesnt answer your specific question, ýou may benefit from learning more about the file system in Ubuntu. This previous question, "How to Understand the Ubuntu file system layout" is a terriffic source for just that (and somewhere in there, is you answer).

share|improve this answer

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