Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Locking Eclipse Icon to Launcher

Tags:

eclipse

ubuntu

I am running Ubuntu 12.04 LTS 64-bit. I recenetly downloaded eclipse kepler from their website and it runs fine and all that. But one thing i noticed was that it was a downloaded archive file, and it wasn't installed on the system. When I launch the icon to the launchbar, it does not open it the next time. And upon restart, the icon is gone. Kindly help me out here. Thank you.

like image 753
Farhan Javed Avatar asked Feb 26 '14 17:02

Farhan Javed


People also ask

How to make desktop icon of Eclipse in Ubuntu?

Open the Command line Terminal by searching it from the Ubuntu Application search or just press the CRTIL+ALT+T shortcut from the keyboard. Once the panel installed to use the below command to create a desktop application launcher. Once the above executed, the Desktop shortcut creator launcher will open.


1 Answers

I figured it out after sometime. In order to do so, make a desktop file of the same name of the executable file for example eclipse.desktop in this case. Type the following in the file:

[Desktop Entry]
Version = 1.0
Name=Eclipse
Comment=Used to run C++
Exec= "Path to the executable of the application"
Icon="Path to the icon of the application"
Terminal=false
Type=Application
Categories=Application;

Save the file and then right click on it and click Properties. Go to the Permissions tab and then check allow executing file as program.

Launch eclipse from it and then pin it to the Launcher. Done and Done.

like image 148
Farhan Javed Avatar answered Dec 20 '22 09:12

Farhan Javed