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.

This question already has an answer here:

I wanted fast access to my python shell, so I locked it to the launcher, but the icon is just a question mark, which I assume means it doesn't have the necessary file. For the sake of aesthetics, I would like to give it one, but I can't figure out how to. That is, I don't know what directory I should put it in, what type it should be (though I suspect .png) or what size (will it resize an oversized image to fit? or crop? or just mess up my dock?).

edit: grammar

share|improve this question

marked as duplicate by Nathan Osman, Rinzwind, hhlp, Javier Rivera, Amith KK Feb 13 '13 at 15:59

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

    
make desktop file, chmod +x it and after that lock it to launcher i guess. –  geoh Feb 13 '13 at 4:56
    
I think it must be in /usr/share/icons/, and .png –  geoh Feb 13 '13 at 4:57

1 Answer 1

I think this can help. At first keep icon in /usr/share/icons/blah.png.

And after that make a desktop launcher. More about that here.

And just lock your .desktop file there instead of your script.

OR use Unity API ? For info click here

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.