Saturday, March 17, 2012

Ubuntu 11.10 Right Click Desktop Shortcut Option.


Ubuntu 11.10 offers no way to create desktop shortcuts with a Right Click.  Let's make it bend to our will.

1. Install gnome-panel by opening a TERMINAL window and typing the following (it'll ask for your password)
sudo apt-get install gnome-panel

2.  Once Gnome-Panel installs we need to create a Bash Script.
    a. Open gEdit (or any text editor) and type the following;
#!/bin/bash
gnome-desktop-item-edit --create-new ~/Desktop
    b.  Save the Bash file with the name Create-Launcher

3. Copy the Bash File (Create-Launcher) to the nautilus-scripts folder by opening a TERMINAL window and typing the following;
cp Create-Launcher ~/.gnome2/nautilus-scripts

4.  Now change the permission on our new file (Create-Launcher) so that it has Execution permission by opening a TERMINAL window and typing;
chmod +x ~/.gnome2/nautilus-scripts/Create-Launcher

5. Move the new file to the right click/scripts section of nautilus by opening a TERMINAL window and typing;
mv ~/.gnome2/nautilus-scripts/Create-Launcher ~/.gnome2/nautilus-scripts/"Create Launcher"

6. Done!

Now when you Right Click on a blank spot on your desktop you see a Scripts option in the menu that appears that expands to give you a Create Laucher option.

If you select the Scripts/Create Launcher option you get the standard Desktop Shortcut Creator Wizard or to you "die hard" Linux people, the Ubuntu Create Launcher Dialogue Box. 




No comments: