From: Jonatan L. <th...@ho...> - 2005-10-21 17:10:56
|
On Fri, 21 Oct 2005 17:30:31 +0100 Stephen Watson <st...@ke...> wrote: > Jonatan Liljedahl <th...@ho...> wrote: > > > BTW, It would be nice if the PinboardAdd soap rpc call didn't need > > X and Y parms, but added it to some available space on the > > pinboard. Then it would be easy to set the above rule so that > > /Mount/Media/Device was added to the pinboard. > > The RISC OS way was to put it on the left of the panel. Only files > explicitly placed there by the user went to the pinboard. Yes, that's even nicer, you're right. I've tried to get this working, but: 1) in IvmConfigActions.xml, hal.volume.mount_point isn't available, seems like the root ivman hasn't mounted it yet or something... 2) in IvmConfigProperties.xml, hal.volume.mount_point is reset to "" BEFORE hal.volume.is_mounted gets changed to "false", so the action here can not remove the device from the panel becouse we don't know the mountpoint used to put it there... =/ Very annoying... Anyone got a clue on how to make any of these methods work? ... Regarding the unmounting, I made this eject script which i Put in ~/bin: #!/bin/sh pumount "$1" 2>/dev/null || fusermount -u "$1" 2>/dev/null || echo "Could not unmount with pumount or fusermount -u" >&2 It works very well! I can now use the "Eject" menu entry to unmount everything, both pmounts, usual mounts (/etc/fstab) and FUSE mounts. /Jonatan -=( http://kymatica.com )=- |