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 created a launcher for Eclipse (STS, actually). When I double-click it, it starts up Eclipse. What's annoying is that the icon is the gnome footprint with the left-pointing arrow. I'd like to set it to use the icon that came with STS.

I edited ~/Desktop/Eclipse.desktop and commented out the Icon line and replaced it with this (where "" is the path to my homedir):

Icon[en_CA]=/apps/springsource/sts-2.9.1.RELEASE/icon.xpm

I restarted the box, but the icon didn't change. I verified that the path I entered is the path to the xpm file.

share|improve this question
    
I don't know this for a fact, but is .xpm supported as an icon file for unity? I assumed they were all either png's or svg's. –  Mordoc May 25 '12 at 22:27
    
xpm works for me. There are loads of issues with java and unity right now. Is STS available as an eclipse plug-in? If so, I would try installing it as a plug-in for eclipse from repo. It makes most of those problems just go away. –  hbdgaf May 25 '12 at 22:30
add comment

1 Answer

Never mind. It never occurred to me that I could click on the icon when viewing the properties dialog to change the icon path.

share|improve this answer
add comment

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.