Re: Run script on USB thumb drive connection
- From: Bill Moseley <moseley@xxxxxxxx>
- Date: Mon, 16 Feb 2009 14:52:15 -0800
On Mon, Feb 16, 2009 at 11:47:32PM +0100, Nils Kassube wrote:
Dotan Cohen wrote:
2009/2/17 Bill Moseley <moseley@xxxxxxxx>:
What I want is to have the drive mounted like it normally is, then
run a script and then umount the drive. And for a bonus pop-up a
window to DISPLAY 0:0 saying the rsync was complete.
I've not tried it, but have the script wait a bit:
sleep 10
Or let the script mount the drive.
That's what I'm doing and it works fine. The Script is pretty
trivial, really.
It's still getting mounted by gnome (I assume) after the script runs.
That's the part I'm wondering about -- how to stop that from happening
for this specific thumb drive.
Thanks.
--
Bill Moseley
moseley@xxxxxxxx
Sent from my iMutt
--
ubuntu-users mailing list
ubuntu-users@xxxxxxxxxxxxxxxx
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
- Follow-Ups:
- Re: Run script on USB thumb drive connection
- From: Cameron Hutchison
- Re: Run script on USB thumb drive connection
- References:
- Run script on USB thumb drive connection
- From: Bill Moseley
- Re: Run script on USB thumb drive connection
- From: Dotan Cohen
- Re: Run script on USB thumb drive connection
- From: Nils Kassube
- Run script on USB thumb drive connection
- Prev by Date: Re: Run script on USB thumb drive connection
- Next by Date: flashplugin-nonfree installed but fails to display the video
- Previous by thread: Re: Run script on USB thumb drive connection
- Next by thread: Re: Run script on USB thumb drive connection
- Index(es):
Relevant Pages
|