View previous topic :: View next topic |
Author |
Message |
Jmaxxz Apprentice
Joined: 16 Sep 2006 Posts: 166
|
Posted: Wed Oct 04, 2006 5:30 am Post subject: Mounting flash drives |
|
|
You know how Knoppix autmaticly mount flash drives? Is there a way to do this in gentoo?
Thanks in advance |
|
Back to top |
|
|
yabbadabbadont Advocate
Joined: 14 Mar 2003 Posts: 4791 Location: 2 exits past crazy
|
Posted: Wed Oct 04, 2006 5:39 am Post subject: |
|
|
There is. I don't like it myself, but I believe that you can do this using a combination of hal, dbus, and ivman. _________________
Bones McCracker wrote: | On the other hand, regex is popular with the ladies. |
|
|
Back to top |
|
|
Headrush Watchman
Joined: 06 Nov 2003 Posts: 5597 Location: Bizarro World
|
Posted: Wed Oct 04, 2006 5:43 am Post subject: Re: Mounting flash drives |
|
|
Jmaxxz wrote: | You know how Knoppix autmaticly mount flash drives? Is there a way to do this in gentoo?
Thanks in advance |
What desktop environment are you using?
And when you say automount, do you really want all volumes to be mounted automatically, or just a desktop icon to appear for the media and then it gets mounted when you use it? |
|
Back to top |
|
|
Jmaxxz Apprentice
Joined: 16 Sep 2006 Posts: 166
|
Posted: Wed Oct 04, 2006 5:49 am Post subject: |
|
|
sorry for the confusion I just want an icon somewhere that will mount flash drives when I click on it.
I would perfer not to have it automaticly make icons for all drives, just external one, so not hd??s jus sd??s.
I am using KDE |
|
Back to top |
|
|
Headrush Watchman
Joined: 06 Nov 2003 Posts: 5597 Location: Bizarro World
|
Posted: Wed Oct 04, 2006 5:53 am Post subject: |
|
|
Jmaxxz wrote: | sorry for the confusion I just want an icon somewhere that will mount flash drives when I click on it.
I would perfer not to have it automaticly make icons for all drives, just external one, so not hd??s jus sd??s.
I am using KDE |
KDE has this functionality already built in.
Was kdelibs and kdebase-kioslaves built with hal USE flag enabled? If not it has to be enabled and then check in kcontrol -> Peripherals -> Storage Media for settings.
Edit: Kcontrol -> Desktop -> Behavior -> Device Icons to select the icons that appear.
Last edited by Headrush on Wed Oct 04, 2006 6:07 am; edited 1 time in total |
|
Back to top |
|
|
Jmaxxz Apprentice
Joined: 16 Sep 2006 Posts: 166
|
Posted: Wed Oct 04, 2006 6:02 am Post subject: |
|
|
sorry noob13 here.
I checked kcontrol -> Peripherals -> Storage Media for settings.
And iI could not figure out what I need to do |
|
Back to top |
|
|
Headrush Watchman
Joined: 06 Nov 2003 Posts: 5597 Location: Bizarro World
|
Posted: Wed Oct 04, 2006 6:05 am Post subject: |
|
|
Jmaxxz wrote: | sorry noob13 here.
I checked kcontrol -> Peripherals -> Storage Media for settings.
And iI could not figure out what I need to do |
Can you post the output of these first: Code: | emerge kdelibs kdebase-kioslaves hal dbus -pv
rc-update -s | grep hal |
|
|
Back to top |
|
|
Jmaxxz Apprentice
Joined: 16 Sep 2006 Posts: 166
|
Posted: Wed Oct 04, 2006 6:09 am Post subject: |
|
|
Code: | jmaxxz # emerge kdelibs kdebase-kioslaves hal dbus -pv
These are the packages that would be merged, in order:
Calculating dependencies... done!
[blocks B ] kde-base/kde-env (is blocking kde-base/kdelibs-3.5.4-r2)
[blocks B ] =kde-base/kdebase-3.5* (is blocking kde-base/kdialog-3.5.4, kde-base/kdebase-kioslaves-3.5.4-r1)
[ebuild U ] kde-base/kdelibs-3.5.4-r2 [3.5.4-r1] USE="arts cups kerberos lua%* ssl zeroconf -acl -alsa -debug -doc -fam -jpeg2k -kdeenablefinal -kdehiddenvisibility -legacyssl -noutempter -openexr -spell -tiff -xinerama" 35 kB
[ebuild N ] kde-base/kdialog-3.5.4 USE="arts -debug -kdeenablefinal -kdehiddenvisibility -xinerama" 0 kB
[ebuild N ] kde-base/kdebase-kioslaves-3.5.4-r1 USE="arts hal samba -debug -kdeenablefinal -kdehiddenvisibility -ldap -openexr -xinerama" 20 kB
[ebuild U ] sys-apps/hal-0.5.7.1-r1 [0.5.7.1] USE="acpi crypt -debug -dmi -doc -pcmcia (-selinux)" 0 kB
[ebuild U ] sys-apps/dbus-0.62-r1 [0.62] USE="X gtk python qt3 qt4 -debug -doc -mono (-selinux)" 0 kB
|
|
|
Back to top |
|
|
Headrush Watchman
Joined: 06 Nov 2003 Posts: 5597 Location: Bizarro World
|
Posted: Wed Oct 04, 2006 6:11 am Post subject: |
|
|
And the second line? |
|
Back to top |
|
|
Jmaxxz Apprentice
Joined: 16 Sep 2006 Posts: 166
|
Posted: Wed Oct 04, 2006 6:13 am Post subject: |
|
|
second line returns nothing |
|
Back to top |
|
|
Headrush Watchman
Joined: 06 Nov 2003 Posts: 5597 Location: Bizarro World
|
Posted: Wed Oct 04, 2006 6:16 am Post subject: |
|
|
Jmaxxz wrote: | second line returns nothing |
Ok. Do this as root: Code: | rc-update add hald default
rc-update add dbus default
/etc/init.d/hald start
/etc/init.d/dbus start |
I added the dbus to be safe, it won't hurt if it is already running. Now log out and back in. |
|
Back to top |
|
|
|