Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 06-26-2004, 10:45 AM   #1
Registered: Aug 2003
Posts: 83

Rep: Reputation: 15
Project Utopia + Slackware 10

For those of you that don't know, Project Utopia is an attempt to pull together a linux system from the kernel on up to the desktop environment to make the system easier to use. Some of the basic goals involve easier and more robust interprocess communication and an abstraction of hardware in an operating system independent way.

What does this mean for you, the end user? In the short term, it means hardware should 'just work.' When you put in a USB flash drive, hotplug will automatically load any necessary kernel modules, HAL will recognize the device, update your fstab, and send out a message over D-BUS informing the system of the new device. A program listening on the bus such as gnome-volume-manager will then mount the volume and Nautilus will display an icon for the device on your desktop. Similarly, when you put a CD in your CD-ROM drive, it's mounted automagically. When you put a DVD in, totem will start and play the DVD for you. If it's a music CD, then gnome-cd will run and play your CD.

Now, I'm going to help you set it up. A few weeks ago I installed the software, got it working, and created Slackware packages for easy installation later. I shared them with some people on another forum and they worked well. I figured a few users on this forum may be interested in trying out this software.


That said, they should work just fine as they do for myself and others. I just wanted to get that out of the way


Linux Kernel 2.6.6 or greater. It may work with previous versions of 2.6, but you absolutely must have a 2.6 kernel installed and working.

Slackware 10.0 or a recent version from -current. I built these packages on June 8th and my system was synced with -current. I highly recommend you are running 10.0 if you'd like to try this out.

udev must be installed and running properly. To check this, run 'udevinfo -d' from a terminal. If it spits out a bunch of device information, you're fine.

You will need GNOME installed as gnome-volume-manager depends on GNOME libraries.

From here on, I'll assume you are running Slackware 10.0, kernel 2.6.x (I'm running 2.6.7-rc1-mm1), sysfs is properly mounted, and udev is running properly. (If udev is running, then that means sysfs is mounted properly).


1) Download the D-BUS, HAL, and gnome-volume-manager packages from my website.

2) Install the packages using installpkg as root.

3) Start the D-BUS and HAL daemons. As root:

# . /etc/rc.d/rc.messagebus start
# . /etc/rc.d/rc.hal start
4) Start gnome-volume-manager. From a terminal as a normal user, run:

$ gnome-volume-manager
This will allow you to see messages as you test the software.

Now you should be set. Try plugging in a USB flash drive, or putting a music CD into your CD-ROM drive and observe!

To configure the software, log out and then back into GNOME. Unfortunately, since FAM is not included in Slackware, GNOME's menus do not automatically update when new software was installed.

Now go to Applications -> Desktop Preferences -> Removable Storage. Or run the gnome-volume-properties program.

Final Configuration

Now then, to get all of this to work automatically every time your computer starts, I suggest adding the following to /etc/rc.d/rc.local:

# Start the system message bus
if [ -x /etc/rc.d/rc.messagebus ]; then
  . /etc/rc.d/rc.messagebus start

# Start the HAL daemon
if [ -x /etc/rc.d/rc.hal ]; then
  . /etc/rc.d/rc.hal start
Finally, open Applications -> Desktop Preferences -> Advanced -> Sessions. Navigate to the Startup tab, click add, and type gnome-volume-manager. Voila!

Final notes

1) A program called hal-device-manager is included in the HAL package that will let you view the device heirarchy of your system. There is no menu entry for this program, but you can add one or just run it manually. In order to run it, you will need pygtk2 and gnome-python installed. I recommend installing those packages from

2) If you don't run a full gnome session, you can add gnome-volume-manager to your xinitrc or however you start software automatically for your X session.

3) If I remember correctly, the default command for DVD Videos is incorrect. Change it to 'totem dvd://' or 'xine dvd://' or any command you'd want to use.

4) The rc.messagebus and rc.hal scripts are written in the typical Slackware fashion. Passing 'restart' to the script will restart the program, 'start' will start it and 'stop' will stop it. Similarly, if you add the lines I gave you above to rc.local, making either script non-executable will prevent it from loading on start up. Finally, the messagebus must be running before HAL can start.

Hopefully this works for all of you. Enjoy and feel free to ask any questions you have here.
Old 06-26-2004, 11:08 AM   #2
Registered: Oct 2003
Location: Memphis, TN
Distribution: Slackware current
Posts: 485

Rep: Reputation: 30
Well, everything works except gnome-volume-manager which craps out with this error:

manager.c/92: daemon exit: no point living

Have you ever run into this?

edit: I got the error above but it all works perfectly... great!!

Last edited by lupin_the_3rd; 06-26-2004 at 11:30 AM.
Old 06-26-2004, 11:33 AM   #3
Registered: Aug 2003
Posts: 83

Original Poster
Rep: Reputation: 15
Wierd, I've never seen that error, but atleast it works!
Old 06-26-2004, 03:18 PM   #4
Registered: Sep 2003
Distribution: ubuntu 5.04 knoppix Slack91/10 freebsd51 vector4 redhat9
Posts: 304

Rep: Reputation: 30
I was trying to find the project hp.
What is that eye candy things? gdesklets?
Old 06-26-2004, 03:24 PM   #5
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 471Reputation: 471Reputation: 471Reputation: 471Reputation: 471
This'd work as a Linux Tutorial - have you thought about submitting it?
Old 06-26-2004, 09:42 PM   #6
Registered: Aug 2003
Posts: 83

Original Poster
Rep: Reputation: 15
codec: That's a screenshot from when I was running FVWM some time ago. Those are icons of minimized programs with a screenshot of the application as the icon. For more information on how to do that, just google for 'taviso fvwm2rc' and you should be able to figure it out. It does require FVWM which is a pain to setup, but it's a nice window manager.

XavierP: No, I wasn't aware of that part of the site. When I have some free time I'll re-type it out to submit it.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
The Unofficial Revised Slackware Book Project Update +Alan Hicks+ Slackware 7 02-21-2005 07:29 PM
utopia and automatic mount pen drives mikepj Linux - Newbie 0 11-01-2004 11:21 AM
slackware routing project Fluzz Linux - Networking 3 10-06-2004 09:40 PM
newbie seeks expert advice on special Slackware 10 project kthiessen Slackware - Installation 2 08-30-2004 11:51 PM
Slackware DVD-project? svarreby Slackware 11 07-26-2004 02:39 AM > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 10:12 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration