Premise: If you have successfully installed Eclipse, we will proceed to the next step and send the eclipse's shortcut to the desktop in the installation directory:
1. Fill in the Eclipse.desktop file:sudo gedit/usr/share/applications/eclipse.desktop
[Desktopentry]
Encoding=utf-8
Name=eclipse
Comment=eclipse IDE
Exec=/usr/local/eclipse/eclipse/eclipse
icon=/usr/local/eclipse/eclipse/icon.xpm
Terminal=false
Startupnotify=true
Type=application
Categories=application;development;
Where exec is filled out is the path of the execution file, icon followed by the path of the icons, so everyone's eclipse of the decompression path is different, the corresponding changes can be;
2. About the/usr/share/applications folder: This is a folder for application shortcuts, which are stored in the application's desktop file, here, we need to copy the Eclipse.desktop to the Desktop folder: Enter/ Usr/share/applications folder,sudo cp eclipse.desktop/home/geeks/desktop/
3. Empower this file just copied to the desktop: After entering the desktop folder,sudo chmod u+x eclipse.desktop
Now show the desktop to see if there is already a shortcut to eclipse exists?
From:http://www.cnblogs.com/qq19831030qq/archive/2012/05/09/2491275.html
Create an Eclipse shortcut under Ubuntu