Slackware and auto mounting usb drives, cd, dvds, etc.
SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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?
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:
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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.