Add eclipse icon to the luncher ubuntu linux

For 12.04 and 11.10

First, create a .desktop file to eclipse:

gedit ~/.local/share/applications/opt_eclipse.desktop

Then, paste this inside (dont forget to edit Exec and Icon values):

[Desktop Entry]
Type=Application
Name=Eclipse
Comment=Eclipse Integrated Development Environment
Icon=** something like /opt/eclipse/icon.xpm **
Exec= ** something like /opt/eclipse/eclipse **   
Terminal=false
Categories=Development;IDE;Java;

After that, open that folder with nautilus:

nautilus ~/.local/share/applications

add execution permission

sudo chmod +x  ~/.local/share/applications/opt_eclipse.desktop

And then drag and drop opt_eclipse.desktop to launcher.

 

source :http://askubuntu.com/questions/80013/how-to-pin-eclipse-to-the-unity-launcher

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s