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:
[Desktop Entry] Comment[en_US]= Comment= Exec=/home/tarka/eclipse/eclipse GenericName[en_US]= GenericName= Icon=eclipse MimeType= Name[en_US]=eclipse Name=eclipse Path= StartupNotify=true Terminal=false TerminalOptions= Type=Application X-DBUS-ServiceName= X-DBUS-StartupType= X-KDE-SubstituteUID=false X-KDE-Username=
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.