- #BOOKMARK FOLDER ICON CHANGER INSTALL#
- #BOOKMARK FOLDER ICON CHANGER UPDATE#
- #BOOKMARK FOLDER ICON CHANGER SOFTWARE#
#BOOKMARK FOLDER ICON CHANGER UPDATE#
Then just edit the ~/.icons/Humanity/index.theme file and give this duplicate theme a new name and update the icon cache in that specific theme. So for example for Humanity, just copy /usr/share/icons/Humanity/ to ~/.icons/Humanity/Īnd do the whole procedure above to the theme you copied in your home folder. no default root file should be modified like that!! that will also avoid any updates problems in the future.
#BOOKMARK FOLDER ICON CHANGER INSTALL#
Hope that helps, it took me a while to figure out a way to get my icons the way I wanted, I changed all the defaults icons on mine with that trick As you can see in the attachement.īut I have to warn you, don't do the changes to the theme as I explained them here, because changing the theme files like that (because you have to change icon files that only root has access to) can mess up nautilus quite badly it seems, the best is to get the theme you use, modify it with your new icons and then install it as a new theme with whatever new name you want, so your theme will in fact end up in ~/.icons/NEW_THEME_NAME/. LoL it's a dirty try but it works absolutely fine, I would guess XDG_PUBLICSHARE_DIR is also a safe one to use since I've never seen it used in any ubuntu distribution. That's it you'll have your icon in the places menu from now on Then all you have to do is reload the icon-theme.cache.ĭo: sudo gtk-update-icon-cache -f /usr/share/icons/Humanity/ Let's take the example of Drupal here, since I see you don't have the templates folder in your places, we'll use that one.Ĭode: XDG_TEMPLATES_DIR="$HOME/Drupal"Then since you are using the Humanity theme (I don't know if it's Humaity or Humanity-Dark., I'll assume Humanity), go to /usr/share/icons/Humanity/places/Īnd then in each folders 16, 22, 24, 32, 48, 64, 128 change the folder-templates.png icon with the correct size and the Drupal icon you want. So now you just need to assign your wanted folder to an XDG_ folder and make the icons for it. XDG_VIDEOS_DIR => /usr/share/icons/THEME/places/SIZES/folder-videos.pngĮvidently in the /usr/share/icons/THEME/places/scalable it would be folder-xxx.svg XDG_PICTURES_DIR => /usr/share/icons/THEME/places/SIZES/folder-pictures.png XDG_MUSIC_DIR => /usr/share/icons/THEME/places/SIZES/folder-music.png XDG_DOCUMENTS_DIR => /usr/share/icons/THEME/places/SIZES/folder-documents.png XDG_PUBLICSHARE_DIR => /usr/share/icons/THEME/places/SIZES/folder-publicshare.png XDG_TEMPLATES_DIR => /usr/share/icons/THEME/places/SIZES/folder-templates.png XDG_DOWNLOAD_DIR => /usr/share/icons/THEME/places/SIZES/folder-download.png
XDG_DESKTOP_DIR => /usr/share/icons/THEME/places/SIZES/desktop.png Soooo continuing, what's good with these places is that each have their own assigned icons, (based on the Humanity folder order here) we have: This doesn't really matter, because the paths to the folders are defined in /usr/share/icons/THEME/index.theme but it's just to let you know your own theme can have either of these orders of folders. I'll use the Humanity now, as you'll see the gnome theme has the folder order /usr/share/icons/gnome/SIZES/places/ whereas Humanity has the opposite order /usr/share/icons/Humanity/places/SIZES/ Go look insinde the Humanity theme (/usr/share/icons/Humanity/places/SIZES/) to see the default Ubuntu ones. Then the next thing to know is that these special locations have each customized icons. For the "Drupal" folder for example you might assign it to XDG_TEMPLATES_DIR for example. but you can change the default paths used by the applications so that's good!)Īnyway, normally XDG_PICTURES_DIR should be the pictures directory, but since I don't use that one I replaced it with whatever I wanted.
#BOOKMARK FOLDER ICON CHANGER SOFTWARE#
(which f-spot and some photo programs use as default, so sometimes I have pictures that end up in my software folder because of the default path used, that's why I wouldn't try to mess with the most important one, e.g. XDG_VIDEOS_DIR="$HOME/Videos"That's my file, yours might be a bit different.Īs you see I have for example one non default directory "$HOME/Software" which is assigned to XDG_PICTURES_DIR.