
Perfect USB Devices with Project Utopia #93
Chapter 11, Hardware
|
283
HACK
If the versions of GNOME Volume Manager available to you don’t contain
pmount, you will need to patch the GNOME Volume Manager source your-
self and compile it. Before you do this, be certain you have the following
programs installed:
• pmount
• python-gnome2-dev
• libgnomeui-dev
• libglade2-dev
You can download the source code to the GNOME Volume Manager from
http://ftp.gnome.org/pub/GNOME/sources/gnome-volume-manager, and you
can get the
pmount patch from http://people.debian.org/~mpitt/gnome-
volume-manager.pmount.patch. Extract the Gnome Volume Manager code
to a work directory, copy the patch to that directory, and
cd to the work
directory. Then patch the code using this command:
foo@bar:~$ patch -p1 < ubuntu-pmount.diff
You might see some patch errors referring to a Debian control file. You can
safely ignore these errors when you’re not running on a Debian system.
Finally, you can compile the code with this:
foo@bar:~$ ./autogen.sh
foo@bar:~$ make
foo@bar:~$ make install (you may need to be root to do this)
Now you have a patched GNOME Volume Manager that can use pmount.
Configure Your System
With the GNOME Volume Manager installed you can configure your sys-
tem to respond intelligently when devices are plugged in. You configure this
with the
gnome-volume-properties tool. You should run this tool from the
command line, and then