First you need to install gnome-panel package using the following command from your terminal
sudo apt-get install --no-install-recommends gnome-panel
Create new launcher
Open the terminal and run the following command
gnome-desktop-item-edit ~/Desktop/ --create-new
This will open create laucher dialog box here you can give a suitable name for the launcher.In the Command field , type in the command to launch the application Then, click OK to create the desktop launcher.
Example
We will create nautilus launcher open the terminal and run the following command
gnome-desktop-item-edit ~/Desktop/ --create-new
This will open create laucher dialog box here you can give a suitable name for the launcher and in the command field enter nautilus and click ok
You can see it will create shortcut on desktop
If you want to add to launcher just Drag it on to launcher







Well, I wont jump on the bandwaggon and complain, but how can I add to launcher and not have on desktop as well? If I add to launcher and remove from desktop, it also deletes from launcher.
[Reply]
htunca Reply:
January 20th, 2012 at 2:35 pm
move the launcher file from the ~/Desktop folder to some other folder. Then use nautilus, open the folder you put the launcher file in, drag and drop it onto the launcher.
[Reply]
Thanks for the post on creating a shortcut. I previously had a shortcut on the desktop for Eclipse. I moved Eclipse, and could not alter the location, so I used your instructions and created a new shortcut. It does not however show the Eclipse icon which the previous shortcut did show. Can this be done (show icon)?
[Reply]
papa Reply:
January 22nd, 2012 at 9:10 pm
if you click icon in the create launcher, it allows you to enter or browse to your icon file
[Reply]
Cool
Exactly what I needed.
Just one little thing. When I launch the shell script that strats the application it creates a second icon in the launcher. When the app closes it disappears again.
Can I avoid this?
Cheers,
[Reply]
Why would they delete this feature anyway?? This kind of annoying
[Reply]
Why is Ubuntu choosing to go backwards by removing this deature?
[Reply]
I can’t get this to work:
gnome-desktop-item-edit ~/Desktop/ --create-new
I get:
file:///home/stefan/Desktop does not have a .desktop or .directory suffix
[Reply]
luckyme and Brendan:
It’s upstream (GNOME) rather than Ubuntu (or Debian).
Sadly, they really do believe that removing the ability to do things such as this is being faithful to the purity of their new desktop paradigm.
Only when their corporate masters (Red Hat) think otherwise will this change.
[Reply]