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.

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
1  
@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
    
You are able to set any of the icons in that folder except for the one you want to use? which was added by you? –  Luis Alvarado Jan 19 '11 at 19:07
1  
@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

1 Answer 1

up vote 3 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
1  
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

 
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.