Skip to Main Content
Linux Desktop Hacks
book

Linux Desktop Hacks

by Nicholas Petreley, Jono Bacon
March 2005
Beginner to intermediate content levelBeginner to intermediate
342 pages
15h 55m
English
O'Reilly Media, Inc.
Content preview from Linux Desktop Hacks
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
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Linux Server Hacks, Volume Two

Linux Server Hacks, Volume Two

William von Hagen, Brian K. Jones
Introducing Linux Distros

Introducing Linux Distros

Jose Dieguez Castro

Publisher Resources

ISBN: 0596009119Supplemental ContentCatalog PageErrata