Thursday, April 12, 2012

How to pin Eclipse to the ubuntu 11.04 Unity launcher

 If you are developing in ubuntu with eclipse, you may want  to add your eclipse shortcut to the ubuntu unity launcher. But if you open the eclipse, you may see that the eclipse is in the launcher, but the icon is not displaying and only a question mark icon appears. This is a simple solution to add ubuntu icon to the launcher menu. You can use the same procedure to add any other program to your launcher menu.
  1. Go to the ubuntu desktop and right click on it.
  2. Select, "Create Launcher.." option.

        3. Fill the required fields as shown in the below image.



In the command field above, select the eclipse file inside the eclipse folder in your file system.

        4. Select the icon by clicking the icon box in the top left hand corner and go to the eclipse folder in your file system and choose the eclipse icon "eclipse.xpm" and it will be display as below after the correct selection.



        5. Now you can see eclipse icon on the desktop. Double click the icon and start eclipse.
        6. Now the eclipse icon can be seen in your launcher since it is started. Right click the eclipse icon on the launcher and select the option "Keep in Launcher ..".
        7. Exit the eclipse and now you can see that eclipse is displayed in the launcher and the icon is properly displayed


cheers !!!!!!!!!!

1 comment: