thanks to all who replied...will definitely try the dbus/udev thingy
--- On Tue, 3/17/09, Alvin Delagon <[email protected]> wrote:
> From: Alvin Delagon <[email protected]>
> Subject: Re: [plug] Antivirus-for-Windows Linux programs (was: AntiVirus for
> Linux with real time scanning, reporting)
> To: "Philippine Linux Users' Group (PLUG) Technical Discussion List"
> <[email protected]>
> Date: Tuesday, March 17, 2009, 3:10 PM
> Oh look somebody already thought about
> this already:
>
> http://stackoverflow.com/questions/469243/how-can-i-listen-for-usb-device-inserted-events-in-linux-in-python
>
>
> All you have to do is import the subprocess module and
> insert a subprocess.call(<clamAV shell command
> here...>) somewhere in the do_something method.
>
> :-)
>
> ---
> Alvin
>
>
> On Tue, Mar 17, 2009 at 9:48 AM, Alvin Delagon <[email protected]>
> wrote:
>
> KDE uses dbus. You can write a program that will listen to
> some events.
>
> ---
> Alvin
>
> On Mon, Mar 16, 2009 at 9:42 PM,
> Michael Tinsay <[email protected]>
> wrote:
>
>
>
>
> ----- Original Message ----
>
> > From: plug bert <[email protected]>
>
> >
>
> > Basically we want to automate things for
> our users..and we really don't trust
>
> > them to do a manual scan. Much safer to perform a real
> time scan the instant the
>
> > usb drive is plugged in.
>
> >
>
>
>
>
>
>
>
> I use KDE. Whenever I insert a flash drive, it
> opens konqueror. I think there is a way to have it do
> something else, like run a virus scanner on it.
>
>
>
> --- mike t.
>
> _________________________________________________
>
> Philippine Linux Users' Group (PLUG) Mailing List
>
> http://lists.linux.org.ph/mailman/listinfo/plug
>
> Searchable Archives: http://archives.free.net.ph
>
>
>
>
> --
> http://www.alvinatorsplayground.blogspot.com/
>
>
>
>
>
> --
> http://www.alvinatorsplayground.blogspot.com/
>
>
> -----Inline Attachment Follows-----
>
> _________________________________________________
> Philippine Linux Users' Group (PLUG) Mailing List
> http://lists.linux.org.ph/mailman/listinfo/plug
> Searchable Archives: http://archives.free.net.ph
_________________________________________________
Philippine Linux Users' Group (PLUG) Mailing List
http://lists.linux.org.ph/mailman/listinfo/plug
Searchable Archives: http://archives.free.net.ph