Hi, I attempted to do what I wanted. (just a POF, but I'm still without any advice about the correct way to do) So here comes 11k of noobish-bloated code which :
- parse some config files of this format (GKeyFile) : [spec] name=this_device event=DeviceMounted exec=echo ADDED docus >> /tmp/dk.log IdLabel=docus IdUuid=f2574b18-3fa6-4649-9908-eaa8503cab33 - then monitor org.freedesktop.DeviceKit.Disks - and foreach event received : - - try to match against the files (internally called Settings). - - if the match success the exec is printed (should be execve in the future). Any advices (of course I will have to rewrite the whole) ? Raph _______________________________________________ devkit-devel mailing list devkit-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/devkit-devel