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

On some key folders in nautilus I've changed the folder icons. It looks nice, and aids my productivity because I can easily find important folders in a mass of others.

But then I move to another machine and all the folders are plain again.

So the question is where is this stored, and is there a way to have it persist between users/systems.

share|improve this question
up vote 9 down vote accepted

The meta-data is stored using the meta-data storage system of GIO/GVFS. You can see what attributes are stored on a file by running gvfs-info /path/to/file in a terminal. To have the same folders with the same icons on a different machine, you'll generally have to manually set the icons again. Also note that the custom icons won't show up when browsing the folders remotely via sftp or some similar means.

share|improve this answer
thanks. what a shame. gvfs so annoying. – artfulrobot Jun 20 '12 at 13:45
And you can change them with gvfs-set-attribute (for example in a script) – saeedgnu Jun 6 '13 at 12:22

Take a look in /usr/share/icons.

Gnome stores its icons there.

share|improve this answer
Those are icons that ship with the system or that are otherwise provided by Ubuntu packages. Data added by the user are not stored there. See the FHS for details on what the /usr/share directory contains. – Eliah Kagan Jan 6 '13 at 2:30
@EliahKagan, In the question the user did not say "my own icons". – Alexis Wilke Sep 25 '13 at 21:29
That's where icons are, but not where the association with specific directories are. You may choose a file from the standard icons to represent one folder, but the issue is that if you then view that folder from another computer or another user on the same computer you will not see that icon. – artfulrobot Jul 23 '15 at 22:31

Your Answer


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.