Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

Instead of my pretty Faenza icon, it's using a rather ugly one.

share|improve this question
    
Are you using the latest version of Faenza icon theme? Icons for vim were added in Faenza 0.8 –  Sid Dec 7 '10 at 14:29
    
I am. The problem was the absolute path in the gvim.desktop file :) –  miloshadzic Dec 7 '10 at 14:39
1  
This is a bug that's now reported fixed. Probably to release in oneiric. –  idbrise May 13 '11 at 17:39

1 Answer 1

up vote 7 down vote accepted

It is a known issue. The workaround is mentioned in the gnome-look.org Faenza page:

  • Some applications are configured to always use the same icon regardless of the selected theme: e.g. vim, emacs23, gcolor2, bluefish, hardinfo, defcon, gufw, pithos, goldendict, rssowl, picasa, netbeans, gazpacho.
  • To display the Faenza icon, edit as root the /usr/share/applications/application_name.desktop file and locate the line beginning with 'Icon='. Replace the fullpath icon name by the one of the Faenza icon (usually, it's the name of the application itself) without the extension.
  • Don't forget to make a backup before changing one of those files.
  • In some cases, you need to reinitialize the item in Gnome menu editor to display the new icon.
  • Vim desktop file is /usr/share/applications/gvim.desktop
share|improve this answer
    
Thanks a lot! Very nice answer! –  miloshadzic Dec 7 '10 at 14:34
1  
Clarification: "fullpath icon name by the one of the Faenza icon." So Faenza's vim.svg means you should use Icon=vim (don't include the extension). That way it will work for other icon themes that provide an icon for vim. –  idbrise May 13 '11 at 17:37

Your Answer

 
discard

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.