I have multiple Eclipse versions installed in my Ubuntu 12.04, so I wanted to have separate launcher icons in Launchpad. However I noticed i...
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgplJN8vaXc3jEJRwzFQBEYZ_OQ01SsEJxW3ppw5VY3RF5WwZpMazOcQJleAyz8IL4AKbdrJ5Xxfe9wJZi8yxKMDSnHkE0_ElK2vhxWrVoiYUfe-x_osex0B3F9_PjtLT98wOQsSw/s1600/Launchpad.png)
"Right click -> Lock to Launcher" approach since the same launcher icon is used for all Eclipse installations; simply said there will be only one launcher icon for all Eclipse installations.
It is quite easy to create multiple launcher icons for multiple installations. Below is the 4 steps you need to follow.
1. Create <eclipse-name>.desktop files for each installation
I created eclipse-jee-kepler.desktop file inside Kepler Eclipse installation folders, but you use any preferred location.2. Update <eclipse-name>.desktop file with information
For "Eclipse JEE Kepler" installation, add the below content to eclipse-jee-kepler.desktop. You will have to change the path to the executable eclipse file.[Desktop Entry]
Version=4.3.1
Name=Eclipse JEE Kepler
Comment=Eclipse JEE Kepler
Exec=/<path>/eclipse-jee-kepler-SR1-linux-gtk/eclipse
Icon=/<path>/eclipse-jee-kepler-SR1-linux-gtk/eclipse.ico
StartupNotify=false
Terminal=false
Type=Application
Categories=Development
3. Grant permission to execute
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhnDV6a26GwaInzZkhZtzU0425OzTX-R88N4EcWJhKxugtnDFRwt4qj1NWyQYFtpnUsBFs2f4HQqIlUfaUUKkqpFCIZBTqXZQjTtR-Yjmyp2on67jQ4ZE5ZlD0Pc4T8a0QgnXd9_w/s1600/Permissions-tab.png)
4. Run the eclipse installation
You can double click on the eclipse-jee-kepler.desktop file to start your eclipse installation. When this eclipse installation is started, the provided eclipse.ico will be displayed in the Launchpad. Now you can create a launch icon simply using "Right click -> Lock to Launcher".Finally...
For each of your eclipse installations, you can create separate files with above 4 steps; then replace the property values to match with each eclipse installations (including a separate .ico).If you are interested in finding more information about Unity Launchers and Desktop files, you can refer here.
COMMENTS