Howto create Application launcher and add icon to Unity in Ubuntu 13.04 / 12.10 / 12.04
To create a application launcher and add that launcher to Unity in Ubuntu 13.04 / Ubuntu 12.10 / 12.04, is easy with gnome panel package. Using gnome panel, you can create a application launcher on the desktop or wherever you like to create in Ubuntu 12.10 / 12.04 / 11.10 / 13.04, then you can add that to unity launcher.
To install gnome panel in Ubuntu 13.04 / 12.10 / 12.04
Run the following command in the terminal(ctrl+alt+t) and issue the password for the user when prompted.
sudo apt-get install --no-install-recommends gnome-panel
Create Application Launcher in Ubuntu 13.04 / 12.10 / 12.04 / 11.10
After installing the gnome panel, use the below command to create a launcher in Applications directory under “/usr/share/”.
sudo gnome-desktop-item-edit /usr/share/applications/ --create-new
Once you execute the above command, create launcher application will be opened. Check the screen shot below.
Here I am creating launcher for uTorrent, the same way you can create launcher for any application.
In Type field Application will be a default value, if not select Application from drop-down menu. If your creating launcher for application which has no gui, that which runs in terminal like VIM editor then you need to select Application in Terminal.
In Name field type the Application name, Here its uTorrent.
In Command field type the executable command which open your application, For example, If you like to have launcher for gedit then in command field type gedit(its already there so you don’t have to do for gedit).
For uTorrent I am using the below command in the command field.
utserver -settingspath /opt/utorrent-server-v3_0/ &
Comment field is optional.
After filling all the required field, set icon for the application launcher. Just click on the small box on the top left side near name field and chose a image for it.
That’s it. Application Launcher is created for your application. By creating application launcher, your making the application available in the Dash search results.
To add the Launcher to Unity Launcher
Go to the Dash and type the Application name. From the dash result drag your application and drop it in Unity.
Hope this will be helpful for you!!!