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

This question has already which icon names you can pass to the set_icon_full (set_icon is deprecated if someone is wondering), but I couldn't find ressources of how to set a custom icon from a file coming with the application?

  • Is it generally recommended (because icons shipped with the application won't change with icon theme)?
  • How to accomplish it?
share|improve this question
up vote 4 down vote accepted

I had a quick look at the documentation, have you set icon-theme-path to point to the icon's installed location?

share|improve this answer
After calling set_icon_theme_path you can reference your-icon.png under the "icon name" your-icon. Thanks a lot. – phineas Mar 31 '12 at 13:00

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.