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

I have in my Profile folder "Home" some specials folders as "Wallpapers", "TXT", etc. and I use, for those personalized icons. The problem is that, any time I reinstall Ubuntu, I have to assign again the icon to that particular folder, and with the years and the installs, the number of folders are increasing.

So I need a automatic way to assign those custom icons to those special folders. Is there a way to do that?

I hope somebody can help me.

share|improve this question

Something similar was discussed here. I guess, according to the thread, you could use gvfs-set-attribute to change the icons and using a for loop you could make your script shorter by iterating over your standard folder names and icon locations.

share|improve this answer

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.