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 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):


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. – RobotHumans May 25 '12 at 22:30

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

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.