Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Desktop Environments
  • Search

Nautilus Desktop / Computer icon for HAL automounted devices

Problems with GUI applications? Questions about X, KDE, Gnome, Fluxbox, etc.? Come on in. NOTE: For multimedia, go up one forum
Post Reply
Advanced search
15 posts • Page 1 of 1
Author
Message
astralbat
n00b
n00b
Posts: 33
Joined: Sun Jan 23, 2005 7:44 pm

Nautilus Desktop / Computer icon for HAL automounted devices

  • Quote

Post by astralbat » Sat Oct 01, 2005 9:53 pm

I'm using Gnome 2.12 and after spending some time working out the correct components to enable automounting of my external USB HDD and ipod to /media, I still don't get an icon on my desktop when the devices are automounted. I've looked everywhere to the solution to this, but can't seem to find it.

I have:
udev-070
HAL-0.5.4
pmount-0.9.3-r3
gnome-volume-manager-1.5.1
Ivman-0.6.4
Interestingly I've found pmount is enough to automount stuff not found in /etc/fstab, contrary to what I been reading on these forums. Ivman has basically done nothing for me from what I can tell. Am I right in thinking Ivman is basically just an event -> action layer above pmount? If so, then it seems pretty redundent in this scenario.

I don't have my HDD partitions in /etc/fstab and my user is a member of the plugdev group. I've also added gnome-volume-manager to my gnome session on startup.

Should it be working for me by now? Is there anyway of creating a device icon in 'Computer' manually?
Last edited by astralbat on Sun Oct 02, 2005 11:30 am, edited 1 time in total.
Top
apmurray
Apprentice
Apprentice
Posts: 221
Joined: Sat May 29, 2004 2:02 pm
Location: Adelaide, Australia
Contact:
Contact apmurray
Website

  • Quote

Post by apmurray » Sun Oct 02, 2005 1:34 am

gnome-volume-manager does the same thing as ivman so I would get rid of Ivman..
Also have you added yourself to the plugdev group??
Top
infiniteedge
Tux's lil' helper
Tux's lil' helper
Posts: 149
Joined: Wed Mar 03, 2004 8:52 pm
Contact:
Contact infiniteedge
Website

  • Quote

Post by infiniteedge » Sun Oct 02, 2005 4:39 am

http://forums.gentoo.org/viewtopic-t-38 ... ight-.html

try adding yourself to the haldaemon group too
Top
maKKus
Guru
Guru
User avatar
Posts: 356
Joined: Wed Aug 07, 2002 9:01 am
Location: /Universe/Milky Way/Sol/Earth/Europe/EEC/The Netherlands/Limburg/Beek/Neerbeek
Contact:
Contact maKKus
Website

  • Quote

Post by maKKus » Sun Oct 02, 2005 8:21 am

Tried the haldaemon thing, but this isn working either. There is something very wrong with mounting and displaying removable strorage in Gnome 2.12 on my amd64 laptop, my x86 desktop with Gnome 2.10 is working without a hitch. Filed a bug a week ago but there isn a reaction at the moment.

http://bugs.gentoo.org/show_bug.cgi?id=106766
Top
maKKus
Guru
Guru
User avatar
Posts: 356
Joined: Wed Aug 07, 2002 9:01 am
Location: /Universe/Milky Way/Sol/Earth/Europe/EEC/The Netherlands/Limburg/Beek/Neerbeek
Contact:
Contact maKKus
Website

  • Quote

Post by maKKus » Sun Oct 02, 2005 8:22 am

Tried the haldaemon thing, but this isn working either. There is something very wrong with mounting and displaying removable strorage in Gnome 2.12 on my amd64 laptop, my x86 desktop with Gnome 2.10 is working without a hitch. Filed a bug a week ago but there isn a reaction at the moment.

http://bugs.gentoo.org/show_bug.cgi?id=106766
Top
astralbat
n00b
n00b
Posts: 33
Joined: Sun Jan 23, 2005 7:44 pm

  • Quote

Post by astralbat » Sun Oct 02, 2005 11:27 am

I tried adding my user to the haldaemon group, but that didn't work.

I then tried adding my devices to /etc/fstab anyway and surely enough they did show up in the Computer window when the 'user' option was added.
I could then get my devices to mount and unmount using Nautilus and also my devices showed up on the Desktop when mounted.

Obviously this still isn't the required solution since I shouldn't need entries in /etc/fstab.
I read the bug report posted by makkus and while my problems seem identical, things do work for me when my device is in /etc/fstab and the icon changes from unmounted to mounted.

Maybe it has something to do with inotify in the kernel since I'm using 0.23 with 2.6.12?
Also, I'm on Intel 32-bit, so this isn't just related to 64-bit.
Top
rel
Tux's lil' helper
Tux's lil' helper
Posts: 137
Joined: Sat Apr 20, 2002 11:00 am

  • Quote

Post by rel » Sun Oct 02, 2005 11:42 am

Hi,

you are not the only one with this problem, gnome-vfs that is responsible for placing icons
on the desktop seems broken. The problem seems to be in new HAL package.
New HAL has functionality that gnome-vfs did and still does. They fight over devices.

Lokheed has posted a patch for this that fixes things a bit.

Search in the main gnome 2.12 thread for lokheeds gnome-vfs ebuild + patch.

I myself havn't looked at this, have chatted with someone who tried everything. Even using ubuntu patches
for gnome-vfs without luck.

People with same problem should post here. Also people who run 2.12 and have no problem with auto-icon placing.
So that we can find out where the problem lies and if it's a structural issue. Gnome, Gentoo, kernel version?

Please provide kernel version and overlay used.


rel
Top
astralbat
n00b
n00b
Posts: 33
Joined: Sun Jan 23, 2005 7:44 pm

  • Quote

Post by astralbat » Sun Oct 02, 2005 2:20 pm

I had a look at gnome-vfs and discovered that because I had compiled HAL after Gnome 2.12 that I hadn't compiled gnome-vfs with the hal USE flag.
I recompiled gnome-vfs with the 'hal' use flag and now everything works as expected!

Additionally, I had to run chmod +s /usr/bin/eject so that my user could unmount correctly.
Now when a device gets automounted, it's mounting my ipod to /media/sda2 instead of /media/ipod as in my HAL fdi custom rules.
I guess this is to do with the conflict between gnome-vfs and HAL and I may look into trying lokheed's suggested patch.

Lokheed's ebuild and patch is on the gnome 2.12 thread: http://forums.gentoo.org/viewtopic-t-37 ... t-175.html
Top
pharon
n00b
n00b
Posts: 19
Joined: Sun Mar 13, 2005 1:02 am
Contact:
Contact pharon
Website

Please fix this !

  • Quote

Post by pharon » Fri Oct 07, 2005 3:29 am

I have the same problem.. I setup my partitions manually in fstab and they get
automounted , but the icons never show up anywhere in gnome, removable drives
work just fine. If I turn off hal the partitions show up and work perfectly, but
the removeable drives disappear.

http://bugs.gentoo.org/show_bug.cgi?id=108260

gnome-2.12.1 packages don't help, all the patches under the sun from everywhere
didn't help either ( gentoo, ubuntu, lokheed etc..).

http://bugs.gentoo.org/show_bug.cgi?id=106766
Top
pharon
n00b
n00b
Posts: 19
Joined: Sun Mar 13, 2005 1:02 am
Contact:
Contact pharon
Website

Please fix this !

  • Quote

Post by pharon » Fri Oct 07, 2005 3:41 am

I have the same problem.. I setup my partitions manually in fstab and they get
automounted , but the icons never show up anywhere in gnome, removable drives
work just fine. If I turn off hal the partitions show up and work perfectly, but
the removeable drives disappear.

http://bugs.gentoo.org/show_bug.cgi?id=108260

gnome-2.12.1 packages don't help, all the patches under the sun from everywhere
didn't help either ( gentoo, ubuntu, lokheed etc..).

http://bugs.gentoo.org/show_bug.cgi?id=106766
Top
pharon
n00b
n00b
Posts: 19
Joined: Sun Mar 13, 2005 1:02 am
Contact:
Contact pharon
Website

[ double post ]

  • Quote

Post by pharon » Fri Oct 07, 2005 3:43 am

oops sorry about the double post. my connection isn't playing nice. please remove.
Top
AllenB
n00b
n00b
Posts: 64
Joined: Tue Jan 25, 2005 5:21 pm
Location: Portland, Oregon

  • Quote

Post by AllenB » Thu Nov 03, 2005 8:47 am

Having the same problems as you guys. I saw a update for gnome-volume-manager today while performing an update to the system but this did not fix it.

I am using kernel-2.6.13-gentoo-r5.

latest hal, dbus, pmount, gnome-volume-manager, and gnome-vfs.

I did a fresh install of Gnome-2.12. Never had Gnome-2.10.

My media does automount but no icon on desktop.

reemerged gnome-vfs with hal flag. no change.
Top
AllenB
n00b
n00b
Posts: 64
Joined: Tue Jan 25, 2005 5:21 pm
Location: Portland, Oregon

  • Quote

Post by AllenB » Fri Nov 04, 2005 7:50 pm

update:

I followed the advice from this thread and compiled my kernel without preempt. The icons now show up on the desktop when the media is automounted.

Now I wonder what effects will I see without preempt enabled?
Top
gour
Apprentice
Apprentice
User avatar
Posts: 231
Joined: Wed Apr 16, 2003 7:32 am
Location: Zagreb, Croatia

  • Quote

Post by gour » Sat Nov 05, 2005 8:56 pm

AllenB wrote:update:

I followed the advice from this thread and compiled my kernel without preempt. The icons now show up on the desktop when the media is automounted.

Now I wonder what effects will I see without preempt enabled?
I wonder the same :roll:

However, being noob on gnome, I have another problem - icons for floppy, cdrom & dvd in 'Computer' folder
are identical (distinguished only by name), but in 'disk mount' applet, the are the same (floppy, cdrom & dvd) plus 4 icons for my usb card reader.

If I try to change icons with Properties --> Select Custom Icon and browsing in gnome-theme folder, nothing
happens :?

So, the simple question is how is one supposed to change icons for objects in 'Computer' folder :?:

(I can change icons for all the other objects and never had such issue under kde.)

Sincerely,
Gour

Edit: OK; I figured out this icons-in-Computer-folder issue and will try to live with it :roll:
Top
gour
Apprentice
Apprentice
User avatar
Posts: 231
Joined: Wed Apr 16, 2003 7:32 am
Location: Zagreb, Croatia

  • Quote

Post by gour » Sun Nov 06, 2005 9:25 pm

rel wrote:People with same problem should post here. Also people who run 2.12 and have no problem with auto-icon placing.
So that we can find out where the problem lies and if it's a structural issue. Gnome, Gentoo, kernel version?

Please provide kernel version and overlay used.
I definitely solved my problem by disabling option for preemptive kernel.

Now my cdrom, dvd, usb sticks devices automount, I see appropriate icons in disk-mount applet and icons are created on the desktop as well as appropriate mount points under /media/* :lol:

Sincerely,
Gour
Top
Post Reply

15 posts • Page 1 of 1

Return to “Desktop Environments”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic