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.
Take a look in
/usr/share/icons
.Gnome stores its icons there.
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.gio info
Since
gvfs-info
is outdated, usegio info
instead. To get information about a dir/file simple useAfter invoking this command you will get an output like
If you would like the exact full-path name of your icon in a script use something like:
How to set an icon from command line can be found here.
A complete set of the gio commands can be found on the gnome developer page.
No, wait, you got the wrong answer. Icon settings can be copied over from machine to machine, of course they can, there's nothing you can't do on Linux.
Icon settings are stored in the folder:
If you'd like you can try it on a virtual machine, what you have to do is:
And there you go, you have them back.
I have just moved to a new computer and it worked for me. I tested it also on a VM.
Note: if you do gvfs-info folder_name you won't see the custom icon path unless you have copied over the gvfs-metadata folder. As this instruction checks that folder for information.