How To Create Desktop Launchers From Right Click Context Menu in Ubuntu 11.10
Previously, we showed you how to create desktop launchers in Ubuntu 11.10 Oneiric Ocelot. The whole process was terminal based and actually, not much of in everybody’s comfort zone . So, in this post, we will show you another easier way to create desktop launchers in Ubuntu 11.10. The new idea involves using a bash script called “Create Launcher” which will allow us to create desktop launchers from right click context menu in Ubuntu 11.10.
To get started , download the the bash script from the download link given at the end of the post. Actually, clicking the download link will open up the script in the web browser.
In order to download it , copy the whole text from the browser and paste it into a new text file using Gedit text editor. Then, from the menu click on Save as.. to save it under the name of Create Launcher.
Then, navigate to Home folder and press CTRL + H to display all of the hidden files and folders. Then, navigate to .gnome2 -> nautilus – scripts and copy and paste the script in the folder.
Once you paste the script, right click the script and under Permissions tab, tick on Allow executing file as program.

If you want a terminal based solution for this a bit long installation process of the script , you can simply install the script using following commands in terminal.
cp Create-Launcher ~/.gnome2/nautilus-scripts
chmod +x ~/.gnome2/nautilus-scripts/Create-Launcher
mv ~/.gnome2/nautilus-scripts/Create-Launcher ~/.gnome2/nautilus-scripts/”Create Launcher”
Once done , right click on any empty place at your desktop and click on Scripts -> Create Launcher. Once you click it , Create Launcher dialog opens up and you can create desktop launchers for any application you want.

In this way, you can create desktop launchers from right click context menu in Ubuntu 11.10 Oneiric Ocelot.







Don’t work….
#!/bin/bash
gnome-desktop-item-edit –create-new ~/Desktop
What is the mistake?
The script is working ..
Actually, it didn’t work on my system. It showed in the menu, but nothing happened when the item was selected. So: I ran it from the terminal:
“The program ‘gnome-desktop-item-edit’ is currently not installed. You can install it by typing:
sudo apt-get install gnome-panel”
Once I did that, problem solved.
Same problem for me, Menu shown, nothing happening when I click.
I installed gnome desktop item edit as you said, but it’s still not working…
Unfortunately, im not that familar with the terminal, could you explain what you did so you could see the missing package? Maybe, i am missing a different one.
Thank you!!! This is just what I wanted for Christmas!!
Hey! The basic script is not suitable for localized ubuntu versions (mine is italian). At first I didn’t understand why the script didn’t worked, then i realized I had to change “Desktop” with “Scrivania”
Is’nt there something like a variable for all Desktop, indipendently from language?
#!/bin/bash
linkname= $NAUTILUS_SCRIPT_CURRENT_URI
gnome-desktop-item-edit –create-new “$linkname”
the above will create the launcher where ever you happen to be…
thanxs working for me….
working here too thanks