How To Create Desktop Launchers From Right Click Context Menu in Ubuntu 11.10

By Sajan Gurung on November 6th, 201112 Comments

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.

create_launcher_properties

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.

wget  http://dl.dropbox.com/u/47950494/Create-Launcher
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.

create_launcher

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

Download Create Launcher Script

Related posts:

Follow the Author:  
share
  • csola48

    Don’t work…. :(
    #!/bin/bash
    gnome-desktop-item-edit –create-new ~/Desktop
    What is the mistake?

    • Sajan

      The script is working ..

  • http://YourWebsite... Mike

    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.

    • Mirko

       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.

  • Pingback: How To: Create A Launcher On Your Desktop On Ubuntu 11.10 | n00bs on Ubuntu

  • Pingback: Ubuntu - pomoc | [Ubuntu 11.10] Opcja tworzenia aktywatorów w menu kontekstowym prawego przycisku myszy

  • http://YourWebsite... Greg

    Thank you!!! This is just what I wanted for Christmas!! :D

  • Pingback: طريقة وضع اختصار لأي برنامج على سطح المكتب اوبنتو 11.04 + 11.10 “Create Launcher” « شروحات أعجبتني >> tariq

  • http://YourWebsite... Lilliput

    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?

    • http://ghettocottage.com Endle Winters

      #!/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…

  • Binu Balan

    thanxs working for me….

  • Krughanh

     working here too thanks