Nautilus Quick Burner

This script comes from an idea launched on the Nautilus mailing list by Tuomas Kuosmanen, who wished a workaround while waiting for somebody to implement drag and drop CD-RW burning in Nautilus.

Note: That idea is now implemented and included in the official Nautilus release.

I don’t think I can implement his whole idea, but I can quickly hack a simple Python/GTK+ script that does part of the job.

The script is meant to be used as a Nautilus script, but it doesn’t contain anything Nautilus related, so you can use it from the CLI too: just specify as command line arguments the files/directories you want to burn. You can also launch it as a standalone program and drop the files in the main window.

The script is simple and dirty, almost no error checking is performed, and to configure it you must edit the source file.

By default it will not burn anything, it will just create an image.img file in the directory where you run it. If you want the script to actually burn your CDs, you should edit the file, change the command line (a commented out example is provided) and remove the -dummy option (yeah, I know this sucks, but I don’t want to burn your CD writer with some wrong option).

Clicking the Cancel button or closing the burning window will immediately stop the execution. You’ll not be asked for confirmation, but you’ve been warned now! ;o)

You can see the results of the script by loopback-mounting the generated image.img file:

# mount -t iso9660 -o loop image.img /mnt/cdrom

Screenshots

Screenshot 1 Screenshot 2

Requirements

To run the Nautilus Quick Burner you’ll need GTK+ 2.x (1.3.x may work, too), the latest version of PyGTK (anything over 1.99.7 should work) and a recent version mkisofs and cdrecord (tested with 1.10).

Also note that the user running the script needs to have execution permissions on mkisofs and cdrecord (this isn’t true by default on Red Hat systems).

Download & install

Download quickburn, copy it in your Nautilus scripts directory and make sure it has execution permissions. Then select some files and folders, right click and select Scripts -> QuickBurn.

Older posts: 1 2