You are not logged in.
How can I get Gnome to put the plugged in devices icons to the Desktop automatically.
Example:
If I plug my USB-HD to my computer, gnome does automount it using dbus/hal but the device icon doesn't show up in the Desktop area. After i go to Nautilus and click the device shown there, the icon comes to the Desktop.
Example Ubuntu shows that icon by default, so it must be just a config issue, but where?
Offline
Hope you get an answer to this one inf. I'm seeing a somewhat similar problem with my USB stick. No icon appears on the desktop, the stick IS seen in Natutilus, but my stick is NOT mounted. As soon as I mount the USB stick in Nautilus the USB sticks icon appears on the desktop.
As you say, seems like a simple config problem....I've poked around with gconf-editor but have yet to find a setting that seems appropriate.
Bob
p.s. any CD I put into the drive is mounted fine and displays an icon on the desktop without any problems. Maybe USB is the issue???
Offline
Anybody have any idea what to fix?
It must be a config issue, but where? In Ubuntu this works like a dream, but I'm not very interested to use Ubuntu because it's so "heavy" for my oldish laptop.
Offline
Hi,
I recognized the same few weeks ago. I tried the hal-config-file from ubuntu without success. USB mass storage work. CDRoms don't work. I think it's a hal / udev / kernel bug.
Edit: Does someone knows if cdrom icons a created successfull using kde?
Greets
dojo
Offline
I think KDE shows device icons all the time, not automaticly, at least by default...
Offline
So it seems to be a gnome related problem.
Greets
dojo
Offline
go to Applications -> System tools -> configuration editor
there select: Apps, Nautilus, Desktop : volumes_visible
Now you will have all mounted volumes visible on your desktop
Unfortunately it includes your hds, which I don't want.
greets,
murkus
Offline
volumes_visible is still enabled.
To achieve that only removable Media is shown on the desktop you have to modify the default hal configuration. I tried to post it here, but the forum software was not able to display the xml code correct.
Any suggestions?
Greets
dojo
Offline
Could you tell what file to modify? Just omit the brackets and stuff from the code?
Offline
Is your user in the storage group?
if not add,
gpasswd -a username storageEverything works fine for me.
Also, what is in your daemons list in /etc/rc.conf?
Here is mine
DAEMONS=(syslog-ng network netfs crond alsa portmap fam dbus hal)Offline
Ok. I think i found the solution. After removing the lines for my optical devices in /etc/fstab it worked perfectly.
I will post the modifaction to show only removable devices in the wiki next few days. I hope the wiki can display xml-code correct.
Greets
dojo
Offline
My cdrom, windows partition, and FAT32 share are all in /etc/fstab and are automounted fine. USB isn't in /etc/fstab and it automounts/auto unmounts fine for me.
Since the windows partition and FAT32 share are in /etc/fstab
they show the name /mnt/windows, and /mnt/share on the desktop instead of disk, disk-1, disk-2, disk-X.
Offline
My cdrom, windows partition, and FAT32 share are all in /etc/fstab and are automounted fine. USB isn't in /etc/fstab and it automounts/auto unmounts fine for me.
Since the windows partition and FAT32 share are in /etc/fstab
they show the name /mnt/windows, and /mnt/share on the desktop instead of disk, disk-1, disk-2, disk-X.Can you post your /etc/fstab here?
As I promised: http://wiki.archlinux.org/index.php/HAL
Greets
dojo
Offline
Sure
#
# /etc/fstab: static file system information
#
# <file> <dir> <type> <options> <dump> <pass>
none /dev/pts devpts defaults 0 0
none /dev/shm tmpfs defaults 0 0
/dev/cdrom /mnt/cdrom iso9660 ro,user,noauto,unhide 0 0
/dev/dvd /mnt/dvd udf ro,user,noauto,unhide 0 0
/dev/fd0 /mnt/floppy vfat user,noauto 0 0
/dev/hda1 /mnt/windows ntfs user,ro,umask=0222 0 0
/dev/hdb1 swap swap defaults 0 0
/dev/hdb2 / ext3 defaults 0 1
/dev/hdd1 /mnt/share vfat user,defaults 0 0
Also, I read your HAL wiki topic and you talk about CD/DVD not being automounted.
I do not beleive It is not a good idea to remove the lines from /etc/fstab.
You should also make sure your user is in the "optical" group, as with the "storage" group. All devices automount properly for me.
gpasswd -a username storage
gpasswd -a username opticalOffline
I just tested to remove USB mass storage and CD/DVD from fstab, and suddenly automounting was working here too. It automaticly creates a mountpoint in /media, mounts and after unmount it deletes the directory.
And yes, I was in the groups optical and storage.
Offline
Well atleast it works. Mine works either way. If anything its good reference for anyone trying to get it to work.
Offline
I tried it with lines for optical devices in /etc/fstab. In KDE it works. Using gnome the device is not shown and no automount.
Stopping /etc/rc.d/hal and starting hald from command line
hald --verbose=yes --daemon=noSome errors occurs:
14:55:08.152 [W] hald_dbus.c:87: No property info.callouts.add on device with id /org/freedesktop/Hal/devices/volume_label_WXPOEM_DE
14:55:08.154 [i] hald_dbus.c:3085: OK for method 'Mount' with signature 'ssas' on interface 'org.freedesktop.Hal.Device.Volume' for UDI '/org/freedesktop/Hal/devices/volume_label_WXPOEM_DE' and execpath 'hal-system-storage-mount'
14:55:08.166 [i] hald_dbus.c:2613: no need to enqueue
Run started hal-system-storage-mount (0) (1)
! full path is '/usr/share/hal/scripts/hal-system-storage-mount', program_dir is '/usr/share/hal/scripts'
/usr/share/hal/scripts/hal-system-storage-mount exited
14:55:08.192 [i] hald_dbus.c:2635: No more methods in queue
14:55:08.192 [i] hald_dbus.c:2680: failed with 'org.freedesktop.Hal.Device.Volume.PermissionDenied' '/dev/hdc found in /etc/fstab'Maybe someone who had similiar problems before removing /etc/fstab lines can confirm this error messages.
Greets
dojo
Offline
Eh... It's a bit hard to find out as it writes out more 500 lines (in other words, more than I have history in gnome-terminal) and I can't pipe it to a file or pager...
Offline
Start hald and when it finished the start up output put a cd/dvd into you optical drive. Then hald writes some output again. The last few lines should contain the error. :-D
Greets
dojo
Offline
autofs has gone completely bonkers.
Clicking on the cdrom icon in nautilus tells me I don't have permission to create "the directory" and pmount won't execute.
The thing only mounts when I enter the /media/cdrom directory in the terminal. When I try and eject the disk, it mounts it.
My usbstick doesn't even get seen.
My pc is starting to foam at the mouth. (ok that part was made up).
Oh and for some reason, to eject the disk I have to use sudo.
:shock: :? :shock:
Intel i7-920 (stock), ASUS P6TD-Deluxe, AMD R9 270X, RAM: 6GB
Offline