<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
</head>
<body bgcolor="#ffffff" text="#000000">
Hello,<br>
<br>
I've been working on a construction which adds an autofs managed
mountpoint to the homedirectory, when:<br>
a. an usb device or more than one is detected when logging in<br>
b. an usb device is plugged in during a session<br>
<br>
This looks like:<br>
<br>
/home/sbon/Connections<br>
<br>
is the base directory for all kinds of connections (network, all kind
of hardware)<br>
Earlier I've been working on a construction to create a browseable
network map here, also with autofs.<br>
Network resources like SMB shares, FTP servers and SSH access is
possible. (SMB via cifs, FTP via curlftpfs/FUSE, SSH via sshfs/FUSE).
Access to Novell networks should also be possible.<br>
<br>
Now about devices. When I add a device during my session, the (virtual)
directory Devices is added, and therein my USB stick:<br>
<br>
/home/sbon/Connections/Devices/USB_DISK_Pro<br>
<br>
Other devices should also appear in this directory. <br>
I do not have published this yet anywhere, but it is simular to the one
you can find here:<br>
<br>
<a class="moz-txt-link-freetext" href="http://www.gentoo-wiki.info/Autofs#UDEV_with_autofs">http://www.gentoo-wiki.info/Autofs#UDEV_with_autofs</a><br>
<br>
The big difference with my construction is that the mountpoint is <b>in</b>
the users homedirectory, not in /media: direct accessible for users
from their homedirectory, where going to a "foreign" place like /media
is not that userfriendly.<br>
<br>
Now when mounted this is detected correctly by dolphin. In the "places"
sidebar the pictogram for the device says it is mounted, and when I
click on it it goes to the right directory, in this case:<br>
<br>
/home/sbon/Connections/Devices/USB_DISK_Pro<br>
<br>
But when it's not mounted (this can of course happen when using autofs:
this construction doe not mount it when it's detected, and when
mounted, it gets unmounted when not used for some time)  clicking on
the USB pictogram mounts it at  /media/USB.<br>
Now here goes something wrong! Dolphin falls back to it's default
behaviour.<br>
<br>
Is it an idea/possible to configure the way devices are detected?<br>
To start: disableing the default detection of devices by dolpin <br>
<br>
I can add a pictogram to the places bar myself, pointing to this
directory (thus in:/home/sbon/Connections/Devices/USB_DISK_Pro), but
this is always on my sidebar, also when the device is not plugged in. <br>
Also it doesn't show any information it's mounted or not.<br>
<br>
Futher it would be very nice to have a wizard popup when a device is
added which is not formatted.<br>
Note also the difference between the name Dolphin is using(USB), and
mine (USB_DISK_Pro). The first is (I'm not sure)<br>
the label (ID_FS_LABEL_ENC) where I'm using the modelname (ID_MODEL).
It would be very nice also to configure the name this device is given.
It should here be very easy to let the user give their own name to the
device, and remember this for any next time, by creating a table
mapping the devices name to the uuid. <br>
<br>
Stef Bon<br>
<br>
<br>
<br>
 <br>
</body>
</html>