Nautilus scripts are a collection of bash scripts that add a load of useful commands to your right click menu.
It's meant to be used in the Gnome Desktop manager. Sorry KDE users.
So how do you get these scripts? Simple. Go to this page and grab the package that interests you.
From a single script to the whole collection. That decision is up to you.
Get Nautilus Scripts
http://g-scripts.sourceforge.net/
Now open up your Home folder and click on the View button in the tool bar. Select show hidden files. Now browse your Home folder and look for the .gnome2 folder. Now look for the folder named nautilus-scripts and open it.
Extract the Nautilus archive you downloaded into this folder. NOTE!: The archive extracts the scripts into a folder named nautilus-scripts. This will create a double layered entry so copy the scripts from within the extracted folder and paste them into the original nautilus-scripts folder then delete the nautilus-scripts folder that was created when you extracted the files.
Example of what you will have;
.gnome2/nautilus-scripts/nautilus-scripts/'FOLDERS WITH SCRIPTS'
What you want is this;
.gnome2/nautilus-scripts/'FOLDERS WITH SCRIPTS'
Now select a file and right click on it and check the properties. Make sure the file is executable.
Close the folder and reboot Nautilus or the computer.
Now when you are back up and running you can right click on a file, folder or even the Desktop and from the menu you will see an entry called Scripts.
Move your cursor to it and from the flyout menu you will see several folder entries that are named for what they can do.
Open a folder and you will see the collection of scripts. Click on one to make it work.
If it doesn't work, check the file properties and make sure it's executable.
The list of scripts in the complete package is extensive but some of the useful ones include Root-Nautilus Here, Scale Images, Convert PNG to JPG, Convert JPG to PNG, CHMOD, RPM Tools, Set As Wallpaper and about 140 more!
Also, if you grab the Split Rar script from one of my earlier blog entries and put it in the nautilus-scripts folder it will be available from the right click menu.
Enjoy!
TaZMAn
Showing posts with label Menu. Show all posts
Showing posts with label Menu. Show all posts
Monday, November 17, 2008
Sunday, July 6, 2008
Editing the Grub Loader Menu
You have your computer set up as a dual boot system and the list of menu items keep growing every time there's a kernel update.
You know that annoying look. That screen shows your Microsoft OS, Memtest and several kernel entries along with their recovery mode images.
Here's how to pare down that list.
WARNING!
Not properly following the directions below may cause your system to not boot.
Proceed at your own risk. I will not be responsible for any damages incurred by your inability to follow directions.
We first need to open up the menu list for emitting. To do that open up a terminal window and type in the following;
sudo gedit /boot/grub/menu.lst
Type in your pasword when prompted.
Now your menu list will open with the permissions needed to edit it.
Look for entries in your menu list that look similar to this;
## ## End Default Options ##
title Ubuntu 7.10, kernel 2.6.22-15-generic
root (hd0,0)
kernel /boot/vmlinuz-2.6.22-15-generic root=UUID=15024b26-e9da-497b-8744-ccfd6170eb84 ro quiet splash
initrd /boot/initrd.img-2.6.22-15-generic
quiet
title Ubuntu 7.10, kernel 2.6.22-15-generic (recovery mode)
root (hd0,0)
kernel /boot/vmlinuz-2.6.22-15-generic root=UUID=15024b26-e9da-497b-8744-ccfd6170eb84 ro single
initrd /boot/initrd.img-2.6.22-15-generic
title Ubuntu 7.10, kernel 2.6.22-14-generic
root (hd0,0)
kernel /boot/vmlinuz-2.6.22-14-generic root=UUID=15024b26-e9da-497b-8744-ccfd6170eb84 ro quiet splash
initrd /boot/initrd.img-2.6.22-14-generic
quiet
title Ubuntu 7.10, kernel 2.6.22-14-generic (recovery mode)
root (hd0,0)
kernel /boot/vmlinuz-2.6.22-14-generic root=UUID=15024b26-e9da-497b-8744-ccfd6170eb84 ro single
initrd /boot/initrd.img-2.6.22-14-generic
title Ubuntu 7.10, kernel 2.6.22-13-generic
root (hd0,0)
kernel /boot/vmlinuz-2.6.22-13-generic root=UUID=15024b26-e9da-497b-8744-ccfd6170eb84 ro quiet splash
initrd /boot/initrd.img-2.6.22-13-generic
quiet
title Ubuntu 7.10, kernel 2.6.22-13-generic (recovery mode)
root (hd0,0)
kernel /boot/vmlinuz-2.6.22-13-generic root=UUID=15024b26-e9da-497b-8744-ccfd6170eb84 ro single
initrd /boot/initrd.img-2.6.22-13-generic
title Ubuntu 7.10, memtest86+
root (hd0,0)
kernel /boot/memtest86+.bin
quiet
### END DEBIAN AUTOMAGIC KERNELS LIST
What we need to do is comment out all the older kernels and their recovery mode entries.
I strongly suggest that you keep the 2 newest entries and their recovery mode entries.
Here's how;
In the above example we can see there are 3 kernel entries.
The newest being 2.6.22-15-generic and the oldest being 2.6.22-13-generic
We want to get rid of the 2.6.22-13-generic and the 2.6.22-13-generic (recovery mode) entries from the boot menu.
So we will comment those entries out. To do that we will use the ## characters to do the commenting.
When it's done it should look like this;
## ## End Default Options ##
title Ubuntu 7.10, kernel 2.6.22-15-generic
root (hd0,0)
kernel /boot/vmlinuz-2.6.22-15-generic root=UUID=15024b26-e9da-497b-8744-ccfd6170eb84 ro quiet splash
initrd /boot/initrd.img-2.6.22-15-generic
quiet
title Ubuntu 7.10, kernel 2.6.22-15-generic (recovery mode)
root (hd0,0)
kernel /boot/vmlinuz-2.6.22-15-generic root=UUID=15024b26-e9da-497b-8744-ccfd6170eb84 ro single
initrd /boot/initrd.img-2.6.22-15-generic
title Ubuntu 7.10, kernel 2.6.22-14-generic
root (hd0,0)
kernel /boot/vmlinuz-2.6.22-14-generic root=UUID=15024b26-e9da-497b-8744-ccfd6170eb84 ro quiet splash
initrd /boot/initrd.img-2.6.22-14-generic
quiet
title Ubuntu 7.10, kernel 2.6.22-14-generic (recovery mode)
root (hd0,0)
kernel /boot/vmlinuz-2.6.22-14-generic root=UUID=15024b26-e9da-497b-8744-ccfd6170eb84 ro single
initrd /boot/initrd.img-2.6.22-14-generic
##title Ubuntu 7.10, kernel 2.6.22-13-generic
##root (hd0,0)
##kernel /boot/vmlinuz-2.6.22-13-generic ##root=UUID=15024b26-e9da-497b-8744-ccfd6170eb84 ro quiet splash
##initrd /boot/initrd.img-2.6.22-13-generic
##quiet
##title Ubuntu 7.10, kernel 2.6.22-13-generic (recovery mode)
##root (hd0,0)
##kernel /boot/vmlinuz-2.6.22-13-generic ##root=UUID=15024b26-e9da-497b-8744-ccfd6170eb84 ro single
##initrd /boot/initrd.img-2.6.22-13-generic
title Ubuntu 7.10, memtest86+
root (hd0,0)
kernel /boot/memtest86+.bin
quiet
### END DEBIAN AUTOMAGIC KERNELS LIST
As you can see, we put a ## in front of all the entries for the 2.6.22-13-generic kernel.
You need to do this to all the kernel entries older then the newest 2.
That way, should you have a problem with the newest kernel, you can boot into the next oldest one and fix the problem.
Now that we have that cleaned up, let's set the menu so that it doesn't keep adding new kernels to the list that we just cleaned up.
Here's what you need to do.
Look for an entry similar to this in the menu list;
## controls how many kernels should be put into the menu.lst
## only counts the first occurence of a kernel, not the
## alternative kernel options
## e.g. howmany=all
## howmany=7
# howmany=all
We need to edit the last entry that says # howmany=all
Change the =all to =2
It should look something like this;
## controls how many kernels should be put into the menu.lst
## only counts the first occurence of a kernel, not the
## alternative kernel options
## e.g. howmany=all
## howmany=7
# howmany=2
Now your list should never display more then 2 kernel versions along with the recovery mode links.
Close the menu list and select the option to save the changes.
Now for the moment of truth.
Reboot your computer.
If you did everything properly you should only see the 2 newest kernels listed in the grub menu and it will boot up properly when you select the kernel to boot to.
Good luck and enjoy!!!
TaZMAn
You know that annoying look. That screen shows your Microsoft OS, Memtest and several kernel entries along with their recovery mode images.
Here's how to pare down that list.
WARNING!
Not properly following the directions below may cause your system to not boot.
Proceed at your own risk. I will not be responsible for any damages incurred by your inability to follow directions.
We first need to open up the menu list for emitting. To do that open up a terminal window and type in the following;
sudo gedit /boot/grub/menu.lst
Type in your pasword when prompted.
Now your menu list will open with the permissions needed to edit it.
Look for entries in your menu list that look similar to this;
## ## End Default Options ##
title Ubuntu 7.10, kernel 2.6.22-15-generic
root (hd0,0)
kernel /boot/vmlinuz-2.6.22-15-generic root=UUID=15024b26-e9da-497b-8744-ccfd6170eb84 ro quiet splash
initrd /boot/initrd.img-2.6.22-15-generic
quiet
title Ubuntu 7.10, kernel 2.6.22-15-generic (recovery mode)
root (hd0,0)
kernel /boot/vmlinuz-2.6.22-15-generic root=UUID=15024b26-e9da-497b-8744-ccfd6170eb84 ro single
initrd /boot/initrd.img-2.6.22-15-generic
title Ubuntu 7.10, kernel 2.6.22-14-generic
root (hd0,0)
kernel /boot/vmlinuz-2.6.22-14-generic root=UUID=15024b26-e9da-497b-8744-ccfd6170eb84 ro quiet splash
initrd /boot/initrd.img-2.6.22-14-generic
quiet
title Ubuntu 7.10, kernel 2.6.22-14-generic (recovery mode)
root (hd0,0)
kernel /boot/vmlinuz-2.6.22-14-generic root=UUID=15024b26-e9da-497b-8744-ccfd6170eb84 ro single
initrd /boot/initrd.img-2.6.22-14-generic
title Ubuntu 7.10, kernel 2.6.22-13-generic
root (hd0,0)
kernel /boot/vmlinuz-2.6.22-13-generic root=UUID=15024b26-e9da-497b-8744-ccfd6170eb84 ro quiet splash
initrd /boot/initrd.img-2.6.22-13-generic
quiet
title Ubuntu 7.10, kernel 2.6.22-13-generic (recovery mode)
root (hd0,0)
kernel /boot/vmlinuz-2.6.22-13-generic root=UUID=15024b26-e9da-497b-8744-ccfd6170eb84 ro single
initrd /boot/initrd.img-2.6.22-13-generic
title Ubuntu 7.10, memtest86+
root (hd0,0)
kernel /boot/memtest86+.bin
quiet
### END DEBIAN AUTOMAGIC KERNELS LIST
What we need to do is comment out all the older kernels and their recovery mode entries.
I strongly suggest that you keep the 2 newest entries and their recovery mode entries.
Here's how;
In the above example we can see there are 3 kernel entries.
The newest being 2.6.22-15-generic and the oldest being 2.6.22-13-generic
We want to get rid of the 2.6.22-13-generic and the 2.6.22-13-generic (recovery mode) entries from the boot menu.
So we will comment those entries out. To do that we will use the ## characters to do the commenting.
When it's done it should look like this;
## ## End Default Options ##
title Ubuntu 7.10, kernel 2.6.22-15-generic
root (hd0,0)
kernel /boot/vmlinuz-2.6.22-15-generic root=UUID=15024b26-e9da-497b-8744-ccfd6170eb84 ro quiet splash
initrd /boot/initrd.img-2.6.22-15-generic
quiet
title Ubuntu 7.10, kernel 2.6.22-15-generic (recovery mode)
root (hd0,0)
kernel /boot/vmlinuz-2.6.22-15-generic root=UUID=15024b26-e9da-497b-8744-ccfd6170eb84 ro single
initrd /boot/initrd.img-2.6.22-15-generic
title Ubuntu 7.10, kernel 2.6.22-14-generic
root (hd0,0)
kernel /boot/vmlinuz-2.6.22-14-generic root=UUID=15024b26-e9da-497b-8744-ccfd6170eb84 ro quiet splash
initrd /boot/initrd.img-2.6.22-14-generic
quiet
title Ubuntu 7.10, kernel 2.6.22-14-generic (recovery mode)
root (hd0,0)
kernel /boot/vmlinuz-2.6.22-14-generic root=UUID=15024b26-e9da-497b-8744-ccfd6170eb84 ro single
initrd /boot/initrd.img-2.6.22-14-generic
##title Ubuntu 7.10, kernel 2.6.22-13-generic
##root (hd0,0)
##kernel /boot/vmlinuz-2.6.22-13-generic ##root=UUID=15024b26-e9da-497b-8744-ccfd6170eb84 ro quiet splash
##initrd /boot/initrd.img-2.6.22-13-generic
##quiet
##title Ubuntu 7.10, kernel 2.6.22-13-generic (recovery mode)
##root (hd0,0)
##kernel /boot/vmlinuz-2.6.22-13-generic ##root=UUID=15024b26-e9da-497b-8744-ccfd6170eb84 ro single
##initrd /boot/initrd.img-2.6.22-13-generic
title Ubuntu 7.10, memtest86+
root (hd0,0)
kernel /boot/memtest86+.bin
quiet
### END DEBIAN AUTOMAGIC KERNELS LIST
As you can see, we put a ## in front of all the entries for the 2.6.22-13-generic kernel.
You need to do this to all the kernel entries older then the newest 2.
That way, should you have a problem with the newest kernel, you can boot into the next oldest one and fix the problem.
Now that we have that cleaned up, let's set the menu so that it doesn't keep adding new kernels to the list that we just cleaned up.
Here's what you need to do.
Look for an entry similar to this in the menu list;
## controls how many kernels should be put into the menu.lst
## only counts the first occurence of a kernel, not the
## alternative kernel options
## e.g. howmany=all
## howmany=7
# howmany=all
We need to edit the last entry that says # howmany=all
Change the =all to =2
It should look something like this;
## controls how many kernels should be put into the menu.lst
## only counts the first occurence of a kernel, not the
## alternative kernel options
## e.g. howmany=all
## howmany=7
# howmany=2
Now your list should never display more then 2 kernel versions along with the recovery mode links.
Close the menu list and select the option to save the changes.
Now for the moment of truth.
Reboot your computer.
If you did everything properly you should only see the 2 newest kernels listed in the grub menu and it will boot up properly when you select the kernel to boot to.
Good luck and enjoy!!!
TaZMAn
Edit The Menu
Your Applications Menu can be used to install or remove software by using the Add/Remove link at the bottom of the menu.
And that menu can be customized to add or remove listings and/or category.
You can even add a new menu to the main menu.
Here's how;
Place your cursor over the Applications button in the tool bar.
Now right click on it and from the menu select Edit Menus.
There you will see each category and software listed within it.
Place a check mark next to the software to have it appear in the menu. Uncheck it to not have it listed in the menu.
You can even move a software listing from one category to another using the 'Drag and Drop' method.
One word of caution;
When you drag a software listing from one category to another you are actually doing a Copy and Paste.
The original stays put and a new listing will show up in the category you dragged it to.
So you will need to right click on the original listing and delete it unless you want it listed in 2 categories.
You can even add new categories (Menus).
There are many options and tools available to fully customize the menu to suit your liking.
TaZMAn
And that menu can be customized to add or remove listings and/or category.
You can even add a new menu to the main menu.
Here's how;
Place your cursor over the Applications button in the tool bar.
Now right click on it and from the menu select Edit Menus.
There you will see each category and software listed within it.
Place a check mark next to the software to have it appear in the menu. Uncheck it to not have it listed in the menu.
You can even move a software listing from one category to another using the 'Drag and Drop' method.
One word of caution;
When you drag a software listing from one category to another you are actually doing a Copy and Paste.
The original stays put and a new listing will show up in the category you dragged it to.
So you will need to right click on the original listing and delete it unless you want it listed in 2 categories.
You can even add new categories (Menus).
There are many options and tools available to fully customize the menu to suit your liking.
TaZMAn
Subscribe to:
Posts (Atom)
