LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Slackware and auto mounting usb drives, cd, dvds, etc. (https://www.linuxquestions.org/questions/slackware-14/slackware-and-auto-mounting-usb-drives-cd-dvds-etc-697279/)

wufo 01-14-2009 11:20 AM

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?

tj

Lufbery 01-14-2009 11:55 AM

Yes.

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:

Quote:

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 http://slackbuilds.org/repository/12.0/system/ivman/ and http://slackbuilds.org/repository/12.0/system/pmount/.
Regards,

-Drew

cab15625 01-14-2009 12:27 PM

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.

Cheers

Woodsman 01-14-2009 03:51 PM

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.


All times are GMT -5. The time now is 06:33 PM.