Am 10/15/12 17:50, schrieb Armin K.: > > Thunar can utilize Gvfs in order to auto mount removable media such as > usb sticks or cd's. I'd recommend using previous version of Gvfs > (1.12.x) if you want to use it with Xfce. Current version in the book > had some issues. You will also need to make sure that your session is > properly registered with ConsoleKit (start your session with > ck-launch-session or use some desktop manager which supports consolekit). >
xfce is started with - "startxfce4 --with-ck-launch". (i start with runlevel 3, without starting x. so i can kill the x session and go to the commandline to fiddle arround and don't have to reboot but just to start my x4 which is a script with just 1 line: 'startxfce4 --with-ck-launch') i had gvfs 1.13.9, the latest 1.13. as far as i remember 1.14 requires gnome3. i now removed 1.13.9 and installed 1.12.3, the latest 1.12. but no change. even after a reboot. in 'removable drives and media' i have 'mount removable drives when hot-plugged', 'mount removable media when inserted' and 'browse removable media when inserted' active. inserting a cd/dvd behaves as expected. inserting a sd- or cf-card into the card-reader behaves as inserting an usb-stick: nothing happens. for with udev i have a script (based on usbmount from debian) which detects plugged in usb-sticks and sd-/cf-cards and mounts / unmounts fine. but thunar / xfce does not do anything. the kernel-log shows the system recognises the devices. fdisk -l shows them too. but nothing happens. if i have /media open in the file-manager, i can see the devices occur on insert and vanish on remove if my script is active. but i expect to get either a new file-manager window with the new device or at least a new desktop icon with a link the this device. whenever i changed something i always try twice: once with my udev/usbmount and once without (meaning a 'exit 0' as line 2, where as line 1 is the standard '#!/bin/bash'. my script always mountd/umounts the stick or card, but whatever i try, thunar / xfce just seems to ignore any usb- and / or mount-events. as cd/dvd are recognised and even open a window, the notification seems to be ok. if there would be a global desktop-directory, i could just create a symlink to the mountpoint. but i was not able to find any "global desktop"-directory for xfce. as the script is started by udev, i don't know how to see which user(s) are active, thus i can't even put the link into the active users desktop-directory. what i can do is putting a link into each defined users desktop-directory. this works fine, but i really would like to learn and understand how to to it the RIGHT way. i have no idea about d-bus, polkit or consolekit. maybe i have to fiddle there... btw: inserting a cd/dvd behaves as expected: the cd/dvd i mounted and a windows pops up. BUT: i can't find a eject button. the drive is locked, i even can't eject by pressing the drives button - i have to go to the commandline. thanks for your help tobias -- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
