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.

My application's icon is not showing if I do not use an absolute path like here:

[Desktop Entry]
Comment=This is a comment

Instead I write


just like I call the program with Exec=myprogram, where it searches under /usr/bin.

According to the free desktop standards I copied the icons to /usr/share/icons/hicolor and even deleted the icon-cache as described here with sudo gtk-update-icon-cache /usr/share/icons/hicolor. Still my icon does not appear.

share|improve this question
add comment

2 Answers 2

If you don't specify a full path, icons must reside inside the current icon scheme location.

If you want to add a program icon that is not part of any specific scheme, put it in /usr/share/icons/.

share|improve this answer
i did copy them to /usr/share/icons/hicoloras i said. According to the docs this is the very last directory where is searched for icons. It has to work, but does not. I don't get it. –  user2366975 Sep 24 '13 at 23:57
add comment

Solution as described in question, plus what I did by accident:

Somehow my launcher and panel disappeared and I restored them with

dconf reset -f /org/compiz/
unity --reset-icons

Then my icons worked. Should be easier...

share|improve this answer
add comment

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.