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]
Comment=Eclipse Integrated Development Environment
Icon=** something like /opt/eclipse/icon.xpm **
Exec= ** something like /opt/eclipse/eclipse **   

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 :


Leave a Reply

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

You are commenting using your 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