Add an Eclipse Icon under ubuntu 12.04

Install (just extract the gz file to your home drive if you want) the version on the Eclipse web site, then create a file called eclipse.desktop and give it the following contents:

#!/usr/bin/env xdg-open

[Desktop Entry]
Version=1.0
Type=Application
Terminal=false
StartupNotify=true
Icon=/home/mike/eclipse/icon.xpm
Name=Eclipse Indigo 3.7
#Exec=env UBUNTU_MENUPROXY=0 /eclipse
Exec=env /home/mike/eclipse/eclipse

making sure you put the correct path in the two places you need it (the execution path and the image path)

Leave a Reply