On Sat, Jan 05, 2008 at 11:38:53PM +0100, Klaus Ade Johnstad wrote: > The attached patch creates corresponding icons on the users kde > desktop when they insert a removable device.
i'm wondering if we should create some sort of plugins/hooks system that people can drop scripts into... this way rather than modifying ltspfsmounter for every feature that comes along, it could add the plugin/hook as part of the KDE related package, or a sysadmin could install a custom hook for whatever bizarre purpose they could dream up. it would basically need to call with the device and/or path, the mode of operation (add, remove, cleanup)... this could be implemented with some run-parts-like thing (to remain distro-independent), executing any files that match the appropriate criteria found in a directory ... i.e. /usr/share/ltspfs/mounter.d contains a script called kde-desktop-files and when the add function is called, it calls: /usr/share/ltspfs/mounter.d/kde-desktop-files /media/USER/USBSTICK add thoughts? live well, vagrant p.s. the full bug report is available at http://bugs.debian.org/459369 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]