36 hours ago
I installed 14.04 with Unity on my new box. Works pretty good. I installed Eclipse under Unity, but still haven't been able to create a launcher that displays the Eclipse icon. For other reasons I installed kubuntu-desktop and would now like to create a desktop launcher for the already installed Eclipse.
Initially I did a search in kickstart and drug the icon onto the desktop. This launches Eclipse with no trouble, but it has only the default gear icon.
So then I went to Dolphin and browsed to /usr/share/applications and drug out the .deskktop file I created there for Unity onto the KDE desktop. Now I have a desktop icon that has the proper Eclipse icon. But when I click it, Eclipse doesn't launch.
How can I get one icon on the KDE desktop with the proper Eclipse Luna icon (which is /usr/share/icons/eclipse.png -- I converted the icon.xpm file and put it there) that actually launches Eclipse?
Two things were needed. I had the permissions wrong on the .png file. It needed to be readable by everyone. Then the .desktop file needed to look like this:
The key piece as in the comment was the line Icon=eclipse. Still don't know why it wouldn't work with the full path.
21 hours ago
Open the shortcut with some text editor like gedit or kate icon by right-clicking on it, and selecting "Open with gedit". In the text editor, shortly after the 'comment' and 'app command' text, you should see something like 'Icon=exec,' (ignore the quotes) change it to Icon=/usr/share/icons/eclipse.png or Icon=eclipse