How To Create An Application Launcher In Ubuntu

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.

2

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

/usr/local/adt-bundle-linux-x86_64-20130729/eclipse/eclipse

3

5. Click OK

Advertisements

One thought on “How To Create An Application Launcher In Ubuntu

  1. This was very helpful. Thanks, Eunicode!!!!!

Leave a Reply

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

WordPress.com Logo

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