Making Life Easier With Scripts For Nautilus
- April 30th, 2010
- Posted in CrunchBang Linux . Debian . Linux . Music . NCLUG . Open Source / FOSS . OpenBox Window Manager . PekWM Window Manager . Ubuntu, Kubuntu, Xubuntu, Fluxbuntu, Nubuntu, Geubuntu . Useful Software
- Write comment
In my previous post, I talked about how you can use Nautilus and the nautilus-image-converter as tools for resizing and rotating your images. Although PCManFM is my preferred file manager, and I often use Thunar if I am bulk renaming files, I keep coming back to Nautilus for file management, network file browsing, image resizing/rotation, and for the ability to use custom scripts that help make life a little bit easier. It is the latter that I wish to mention here.
Add Music Easily to the MoC Player Using Nautilus
The Nautilus script that I use most frequently is specific to the MoC (Music on Console) music player. Credit for this one goes to Tyler “-z-” Mulligan. I’ve written in the past about the MoC Player, and of all of the music players that I’ve tried in the past, this one is by far my favorite. So how does the script work? Download Tyler’s script and save it in your ~/.gnome2/nautilus-scripts folder. Change the permissions so that the file is executable.
$ chmod +x mocp.sh
Open up an instance of MoCp (the MoC player), open up Nautilus, and navigate to your music. You can select individual files or large selections of files, then right click on the file(s), hover over the Scripts item, then select mocp.sh from the list. This will add the file(s) to your MoCp playlist. It’s an efficient way of loading music into your player, and is especially nice when you are looking to pick and choose only a song or two from various albums.
Mount and Unmount ISO Images Using Nautilus
Other scripts that I use on occasion are for mounting and unmounting an ISO file. Although there are other methods listed here and here, and likely even more here, I have had good luck with the mount.sh and unmount.sh files that were posted by Lori Kaufman on the Help Desk Geek website.
$ chmod +x *.sh
Using Nautilus, navigate to your ISO file, right-click on it, then select “Scripts” from the menu; then select mount.sh to mount the file, or unmount.sh to unmount an already mounted file.
Check out Lori’s article for more screenshots and instructions.
Note to Self: Here are some other Nautilus scripts that I have not yet explored, but will put on the backburner for later.