Today was the release of eclipse 3.7 code named Indigo. After installation I wanted a shortcut of the new eclipse on the launcher in Unity but every time I've tried the launcher would just called eclipse in the system which called the default eclipse in Ubuntu which is 3.5.
I wanted the shortcut to call my new eclipse I had installed under /opt. Here is how to:
I got help from here
I wanted the shortcut to call my new eclipse I had installed under /opt. Here is how to:
$ gedit ~/.local/share/applications/eclipse.desktopAnd enter the following in the file:
And save the file. Hope this helps.#!/usr/bin/env xdg-open
[Desktop Entry]Version=1.0Type=ApplicationTerminal=falseStartupNotify=trueIcon=/opt/eclipse/icon.xpmName=Eclipse Indigo 3.7Exec=env UBUNTU_MENUPROXY=0 /opt/eclipse/eclipse
I got help from here