Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 01-14-2009, 11:20 AM   #1
Registered: Oct 2004
Posts: 188

Rep: Reputation: 15
Slackware and auto mounting usb drives, cd, dvds, etc.

I have been a long time user of Slackware but then went to Ubuntu for a while, but know I am coming back to Slackware. But, there is one thing about Ubunutu with gnome I got really used to. The auto mounting and icon appearing when you insert a USB drive or camera or insert a cd/dvd disc.

Some quick research revealed HAL and the such. So, my question, is this auto mounting feature avaiable under Slackware using xfce or gnome? And, if so, what is involved in its setup?

Old 01-14-2009, 11:55 AM   #2
Senior Member
Registered: Aug 2006
Location: Harrisburg, PA
Distribution: Slackware 64 14.0
Posts: 1,155
Blog Entries: 29

Rep: Reputation: 129Reputation: 129

If you use KDE or XFCE, then those devises are auto-mounted. There's a cool task bar widget in KDE that shows the mounted devices and makes a menu of appropriate actions for them. Right click on the task bar, and look for something like "Add Tool." Scroll through and you'll see the widget I'm talking about.

If you need to auto mount devices in a regular console, then check out the advice from the "12.0 and HAL" thread that is sticky at the top of this forum:

Re: Mounting devices in console (not in X)

For those using a desktop environment other than KDE, GNOME, or Xfce and still want to make use of HAL, have a look at and

Old 01-14-2009, 12:27 PM   #3
LQ Newbie
Registered: May 2005
Distribution: Slackware 11.0/current
Posts: 23

Rep: Reputation: 15
Slackware and auto mounting usb drives, cd, dvds, etc.

It can be done, and can be done easily in KDE, XFCE, and Gnome, but ...

1) You need to make sure you setup your users properly. For this to work for users, they must be part of the plugdev group. If you create users with "adduser" in an xterm or from the console, read the prompts carefully the first time you do it and things will be obvious. Basically, you are prompted for two sets of groups, the initial group (defaults to users, which is generally fine) and additional groups. Make sure plugdev is one of the additional groups. In newer Slackware, you can cursor up at this stage to get a default recommended list.

2) Slackware nolonger comes with Gnome out of the box. You need to install it separately. I've been using "Gnome Slackbuild" for a while and it works nicely (google for "GSB slackware"). For the truly masochistic (or sufficiently clever) I've heard garnome works well too.

3) In KDE, you can play with config settings to have icons show up or not when things are inserted and mounted or not. GSB gnome it defaults to opening the drive when you plug it in or insert the disk.

Old 01-14-2009, 03:51 PM   #4
Senior Member
Registered: Oct 2005
Distribution: Slackware 14.1
Posts: 3,482

Rep: Reputation: 544Reputation: 544Reputation: 544Reputation: 544Reputation: 544Reputation: 544
In KDE you also must have the KDED Media Manager and Media Notifier Daemon services enabled to start. Look in Control Center, KDE Components, Service Manager.


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
How to disable auto-mounting of USB Devices on Slackware 12.2? sertmusluman Slackware 31 12-20-2008 03:57 AM
Mounting External DVDs, Flash Drives, etc. depam Linux - Software 4 02-09-2006 03:07 PM
Problems auto-mounting usb drives in kernel dizzi Slackware 8 10-29-2005 01:41 PM
Auto mounting CDs & DVDs Gonto SUSE / openSUSE 3 05-29-2005 05:51 AM
Auto-mounting drives at startup MandrakeDave Linux - General 7 09-29-2003 05:19 PM > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 02:40 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