November 14, 2013

Symlinking Eclipse

1. SymLinking eclipse to executable package..
sudo ln -s /path/to/ecipse /usr/bin

2. Copy eclipse icon..
cp /path/to/eclipse/icon.xpm /usr/share/pixmap/icon.xpm

3. Create eclipse.desktop
gedit /usr/share/applications/eclipse.desktop

and copy the following in it..

[Desktop Entry]
Type=Application
Name=Eclipse
Comment=Eclipse Integrated Development Environment
Icon=eclipse
Exec=eclipse
Terminal=false
Categories=Development;IDE;Java;

P.S: Exec - path to eclipse executable and Icon - path to eclipse.xpm, i.e we can skip 1 & 2 by providing actual path to these 2 directives

0 comments:

Post a Comment