On Tue, Mar 17, 2009 at 4:10 PM, plug bert <[email protected]> wrote:
> > Hello All, > > i fiddled around with udev rules this afternoon...added the ff rule: > > > KERNEL=="sda1", ACTION=="add", RUN+="/tmp/avscan.sh /media/%k " You might want to trigger the script upon detection of the kernel driver used in loading flash disk instead. > i've verified that avgscan gets exeuted whenever i plug in a usb > drive...but for some reason i didn't get the info boxes that zenity was > supposed to generate. Any ideas? > I think it is related to an X permission problem. For a quick hack type "xhost +" and trigger the script again. Holden
_________________________________________________ Philippine Linux Users' Group (PLUG) Mailing List http://lists.linux.org.ph/mailman/listinfo/plug Searchable Archives: http://archives.free.net.ph

