LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   How to auto mount usb drives as a normal user (http://www.linuxquestions.org/questions/slackware-14/how-to-auto-mount-usb-drives-as-a-normal-user-764281/)

basheer 10-24-2009 09:44 PM

How to auto mount usb drives as a normal user
 
Hi all,
I would like to auto mount usb drives as soon as i plug in the devices as a normal user. Can some one help please.

tux_dude 10-24-2009 09:58 PM

Dbus should do that for you. What gui are you using? Are your normal users in the plugdev group?

Daedra 10-24-2009 10:03 PM

you need to add your user to the plugdev and power group.

for example, edit your /etc/group file

then change the lines

plugdev:x:83:root
power:x:84:root

to look like (just change daedra to your user name)

plugdev:x:83:root,daedra
power:x:84:root,daedra

slackd 10-24-2009 10:26 PM

First add ur user to plugdev and power group.

Automount, as far as i know will depend on which Desktop Environment/Manager your using..

in my experience XFCE auto-mounts the usb device, and opens up thunar.
KDE has a panel applet (forgot the name).

and in fluxbox i use PcmanFM as a file manager, so i mount using that. ;)


All times are GMT -5. The time now is 02:48 AM.