How can I assign custom icons to folders?
Solution 1
Custom icon selection
In the file manager (nautilus):
- right click a folder's icon
- click on properties in the contextual menu
-
in the properties window click on the framed icon (top left)
- that should open the dialog to choose a new icon
Pick an icon from
/usr/share/icons
the default folder icons are in the Humanity
sub-folder.
Custom icon backup & restore
The informations seems to be saved by nautilus in ~/.local/share/gvfs-metadata
.
Note that the directory contains lots of other data (emblems and more). As far as I know they are in binary format so I wasn't really able to pinpoint what's really needed in a backup. Still file path of the icons shuld remain exactly the same between backup and restore for this to work
Resource: Ubuntu Forum thread
Solution 2
- Right click on the folder whose icon you want to change and select "Properties".
- In the properties window, click on the image of the icon (The icon which is in the "Basic" tab which is opened first by default). An icon selection window will open.
- In the icon selection window, choose the icon or image you want to set for the folder.
Related videos on Youtube
Frank Souza
Updated on September 18, 2022Comments
-
Frank Souza over 1 year
How do I assign custom icons to folders, as well as the default folders Desktop, Downloads, Music, etc.? I know that one way is to assign the properties of folders, but I want to assign icons in the same way that are assigned the default folders, so the custom icons will also appear in the Nautilus bookmarks. I've also seen this question >> custom icon in "Places" menu <<, but that is not what I seek.
I want the markers to display custom icons like the dolphin. I know it's possible, because the folder "Desktop", "Documents", "Music" have their own custom icons in bookmarks. How?
-
Wilf over 8 yearsSee also: askubuntu.com/questions/217757/…
-
-
Frank Souza over 12 yearsI know change the icons that way, but it's not what I'm looking to do. I want to create other folders in my home folder and assign icons that are also seen in nautilus bookmarks.
-
Frank Souza over 12 yearsOww man, this my question was based on the previous versions of Ubuntu 11.10. I did not know it was possible to do this in 11.10. I'm an idiot! I did now the standard way: in the folder properties and surprise ... it worked! Ok I apologize for lost time, and much, thank you! Now the question is: Where are these customization settings are saved? In which file? For some day I will reformat my machine and would like to maintain those customizations. Thank you very much
-
Matteo Scotuzzi over 12 yearsI added some info on backup&restore of custom icons to the answer, hope it helps
-
Frank Souza over 12 yearsThank you @matteo, definitely solved my problem and took my question. Thanx
-
shravan over 10 years@matteo I don't see "framed icons" in the "properties window". I see Basic,Permission,Share only.
-
Matteo Scotuzzi over 10 years@shravan sorry for the confusion, it's an actual icon and it has a button-like border around it (the frame I was referring to)
-
mbirth over 8 yearsHow do I make the icons visible in nautilus bookmarks?
-
Louis over 7 yearsThis solution doesn't show the icon in the bookmarks list, any idea why ? (Ubuntu 16.04)
-
EODCraft Staff over 5 yearsThis doesn't work any more for Ubuntu 18.04. When you select the Icon that you downloaded it never changes the one on the desktop.