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.