Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Automatically mounting USB devices? [SOLVED]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
vladobos
n00b
n00b


Joined: 15 Aug 2005
Posts: 7
Location: Macedonia

PostPosted: Mon Aug 15, 2005 12:28 pm    Post subject: Automatically mounting USB devices? [SOLVED] Reply with quote

How can I enable any USB device (memory stick, camera) to be automatically mounted and show an icon on Desktop when it is pluged-in? Currently I must manualy to mount the devices and enter in it with console, as there is no icons appears in Storage Device section. I use latest Gentoo 2005-1 with both Gnome and KDE, an none of them currently can't do this.

Last edited by vladobos on Thu Aug 18, 2005 11:37 am; edited 1 time in total
Back to top
View user's profile Send private message
Jeremy_Z
l33t
l33t


Joined: 05 Apr 2004
Posts: 671
Location: Shanghai

PostPosted: Mon Aug 15, 2005 12:32 pm    Post subject: Reply with quote

you need udev and hal (compile kde with HAL use flag)
_________________
"Because two groups of consumers drive the absolute high end of home computing: the gamers and the porn surfers." /.
My gentoo projects, Kelogviewer and a QT4 gui for etc-proposals
Back to top
View user's profile Send private message
vladobos
n00b
n00b


Joined: 15 Aug 2005
Posts: 7
Location: Macedonia

PostPosted: Mon Aug 15, 2005 12:42 pm    Post subject: Reply with quote

Quote:
you need udev and hal (compile kde with HAL use flag)


How do you mean to recompile? I install KDE with the command: emerge --usepkg kde where PKGDIR=/mnt/cdrom
Then it download two days the packages from servers (I'm on dial-up) and automatically compile them. I can't do that once again. Isn't there some solution with changing some options, or recompiling the kernel (the kernel see the devices, just don't mount them)?
Back to top
View user's profile Send private message
williamg
n00b
n00b


Joined: 02 Apr 2005
Posts: 61

PostPosted: Mon Aug 15, 2005 2:12 pm    Post subject: Reply with quote

Good howto on getoo wiki. Look at http://gentoo-wiki.com/HOWTO_ivman
Also take a look at the required software on that page.
Back to top
View user's profile Send private message
Jeremy_Z
l33t
l33t


Joined: 05 Apr 2004
Posts: 671
Location: Shanghai

PostPosted: Tue Aug 16, 2005 1:57 pm    Post subject: Reply with quote

vladobos wrote:
Quote:
you need udev and hal (compile kde with HAL use flag)


How do you mean to recompile? I install KDE with the command: emerge --usepkg kde where PKGDIR=/mnt/cdrom
Then it download two days the packages from servers (I'm on dial-up) and automatically compile them. I can't do that once again. Isn't there some solution with changing some options, or recompiling the kernel (the kernel see the devices, just don't mount them)?


Well obviously dialup is a problem with gentoo. KDE can use HAL to detect your device when plugged. So when you plug your usb key you have a nice icon appearing on your desktop. But for that you need to compile kde-base with hal use flag.
Gnome also has a feature like that.

Now you can also use ivman i guess, but i've heard it conflicts with hal somehow (not sure, i do not use ivman) and make script to add/remove icons on desktop too. See what fits you best. But KDE / Gnome can do it "natively", with ivman you may need to hack a bit.
_________________
"Because two groups of consumers drive the absolute high end of home computing: the gamers and the porn surfers." /.
My gentoo projects, Kelogviewer and a QT4 gui for etc-proposals
Back to top
View user's profile Send private message
v_rainer
n00b
n00b


Joined: 11 Aug 2005
Posts: 4

PostPosted: Wed Aug 17, 2005 8:44 pm    Post subject: Reply with quote

you can emerge hal separately

If you want KDE to auto-mount your devices you'll need to install dbus, hal and ivman as well after which you add each one of them to the default run level:

Code Listing 2.4: Setup auto-mounting

# emerge dbus hal ivman
# rc-update add dbus default
# rc-update add hald default
# rc-update add ivman default
(http://www.gentoo.org/doc/en/kde-config.xml)
_________________
Rainer
Back to top
View user's profile Send private message
vladobos
n00b
n00b


Joined: 15 Aug 2005
Posts: 7
Location: Macedonia

PostPosted: Thu Aug 18, 2005 11:36 am    Post subject: [SOLVED] Reply with quote

Thank you all, it is solved :-)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware 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