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 am using Ubuntu 10.10 and having trouble setting a custom icon for an application launcher that I created. I have created and SVG file and placed it in /usr/shared/icons/hicolor/scalable/apps/ and when I try to select it as the icon for the application launcher, it just goes back to the gnome-panel-launcher.svg default.

If I put the SVG file on my desktop and then select it, all is well. I'm assuming this is some type of permission problem, but I cannot seem to figure it out. I have set the permissions to be identical to the other icons in /usr/shared/icons/hicolor/scalable/apps/, but have no luck doing that either.

share|improve this question
Did you verify that YOUR user has read/write permissions to the scalable/apps folder? i mean same user, group, chmod permissions, chown permission. just to be 100% sure. – Luis Alvarado Jan 19 '11 at 18:46
@CYREX Your user does not need to have write permissions to any icon folder to use the icon in a launcher. – Alvin Row Jan 19 '11 at 18:48
@CYREX all of the icons and folders are owned by root, which is the default, and I am able to set any of the other icons for the application launcher. – Jared Jan 19 '11 at 19:00
@CYREX First time I did sudo cp myicon.svg /usr/share/icons/hicolor/scalable/apps/. Then I did gksudo nautilus and copied it that way. Neither way worked for me. – Jared Jan 19 '11 at 19:15
It may have something to do with the icon-finding behaviour. If you specify an icon in /usr/share/icons/hicolor/scalable/apps/ (and possibly other folders under apps/), it will search for that icon name in your current theme; I don't know what happens if it can't find it. What happens if you put it in /usr/share/pixmaps? – zpletan Jan 19 '11 at 20:28
up vote 4 down vote accepted

I think you also need to Provide PNG versions in 16x16,24x24,36x36,48x48 ect. folders. Not just scalable! Maybe you can try the ubuntu-mono-light and ubuntu-mono-dark folders :)

share|improve this answer
That seems to have worked. I didn't verify that you must also provide the PNG versions, but by placing it in a different folder, I was able to set the custom icon. Thanks for your help! – Jared Jan 19 '11 at 20:52
No Problem I like to help :) – Micheal Harker Jan 19 '11 at 20:54

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.