Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Mounting flash drives
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
Jmaxxz
Apprentice
Apprentice


Joined: 16 Sep 2006
Posts: 166

PostPosted: Wed Oct 04, 2006 5:30 am    Post subject: Mounting flash drives Reply with quote

You know how Knoppix autmaticly mount flash drives? Is there a way to do this in gentoo?

Thanks in advance
Back to top
View user's profile Send private message
yabbadabbadont
Advocate
Advocate


Joined: 14 Mar 2003
Posts: 4791
Location: 2 exits past crazy

PostPosted: Wed Oct 04, 2006 5:39 am    Post subject: Reply with quote

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
View user's profile Send private message
Headrush
Watchman
Watchman


Joined: 06 Nov 2003
Posts: 5597
Location: Bizarro World

PostPosted: Wed Oct 04, 2006 5:43 am    Post subject: Re: Mounting flash drives Reply with quote

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
View user's profile Send private message
Jmaxxz
Apprentice
Apprentice


Joined: 16 Sep 2006
Posts: 166

PostPosted: Wed Oct 04, 2006 5:49 am    Post subject: Reply with quote

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
View user's profile Send private message
Headrush
Watchman
Watchman


Joined: 06 Nov 2003
Posts: 5597
Location: Bizarro World

PostPosted: Wed Oct 04, 2006 5:53 am    Post subject: Reply with quote

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
View user's profile Send private message
Jmaxxz
Apprentice
Apprentice


Joined: 16 Sep 2006
Posts: 166

PostPosted: Wed Oct 04, 2006 6:02 am    Post subject: Reply with quote

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
View user's profile Send private message
Headrush
Watchman
Watchman


Joined: 06 Nov 2003
Posts: 5597
Location: Bizarro World

PostPosted: Wed Oct 04, 2006 6:05 am    Post subject: Reply with quote

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
View user's profile Send private message
Jmaxxz
Apprentice
Apprentice


Joined: 16 Sep 2006
Posts: 166

PostPosted: Wed Oct 04, 2006 6:09 am    Post subject: Reply with quote

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
View user's profile Send private message
Headrush
Watchman
Watchman


Joined: 06 Nov 2003
Posts: 5597
Location: Bizarro World

PostPosted: Wed Oct 04, 2006 6:11 am    Post subject: Reply with quote

And the second line?
Back to top
View user's profile Send private message
Jmaxxz
Apprentice
Apprentice


Joined: 16 Sep 2006
Posts: 166

PostPosted: Wed Oct 04, 2006 6:13 am    Post subject: Reply with quote

second line returns nothing
Back to top
View user's profile Send private message
Headrush
Watchman
Watchman


Joined: 06 Nov 2003
Posts: 5597
Location: Bizarro World

PostPosted: Wed Oct 04, 2006 6:16 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum