I recently got tired of having to start both IntelliJ and Eclipse from command line so I decided to create launchers for them. Below is the process for creating an application launcher in ubuntu. This example is for Eclipse:
sudo gnome-desktop-item-edit /usr/share/applications/ --create-new
You will get the error below if you do not have gnome-panel installed:
sudo: gnome-desktop-item-edit: command not found
so install gnome-panel with this command.
sudo apt-get install gnome-panel
then run the create-new command as specified.
a popup appears as shown in the image below.
Fill out the fields as follows:
1. Select an image for the icon by clicking on the icon on the square box at the left corner of the popup and browsing to the location of the image
2. Type should be application
3. Type the name of the application in the Name field.
4. For the Command field browse to the location of the file you usually run from command line to start your application. In this case the
5. Click OK