View previous topic :: View next topic |
Author |
Message |
vladobos n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/gallery/Southpark/avatar27.gif)
Joined: 15 Aug 2005 Posts: 7 Location: Macedonia
|
Posted: Mon Aug 15, 2005 12:28 pm Post subject: Automatically mounting USB devices? [SOLVED] |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
Jeremy_Z l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
![](images/avatars/1850204343409f64f2ee87d.jpg)
Joined: 05 Apr 2004 Posts: 671 Location: Shanghai
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
vladobos n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/gallery/Southpark/avatar27.gif)
Joined: 15 Aug 2005 Posts: 7 Location: Macedonia
|
Posted: Mon Aug 15, 2005 12:42 pm Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
williamg n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 02 Apr 2005 Posts: 61
|
Posted: Mon Aug 15, 2005 2:12 pm Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
Jeremy_Z l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
![](images/avatars/1850204343409f64f2ee87d.jpg)
Joined: 05 Apr 2004 Posts: 671 Location: Shanghai
|
Posted: Tue Aug 16, 2005 1:57 pm Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
v_rainer n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 11 Aug 2005 Posts: 4
|
Posted: Wed Aug 17, 2005 8:44 pm Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
vladobos n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/gallery/Southpark/avatar27.gif)
Joined: 15 Aug 2005 Posts: 7 Location: Macedonia
|
Posted: Thu Aug 18, 2005 11:36 am Post subject: [SOLVED] |
|
|
Thank you all, it is solved ![Smile :-)](images/smiles/icon_smile.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|