Skip to Content
Linux Desktop Hacks
book

Linux Desktop Hacks

by Nicholas Petreley, Jono Bacon
March 2005
Beginner 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.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

Linux Multimedia Hacks

Linux Multimedia Hacks

Kyle Rankin
Linux Server Hacks, Volume Two

Linux Server Hacks, Volume Two

William von Hagen, Brian K. Jones
CentOS Quick Start Guide

CentOS Quick Start Guide

Shiwang Kalkhanda

Publisher Resources

ISBN: 0596009119Catalog PageErrata