Re: Run script on USB thumb drive connection



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



Relevant Pages

  • Re: Internet Explorer - Firefox
    ... Firefox, the problem is how publisher displayed it in IE. ... I imagine it is a problem with how the script is ... suppose to display a search box for flights..i am pretty sure that the ...
    (microsoft.public.publisher.webdesign)
  • Re: Display a block of text in Firefox & Safari
    ... in FireFox and Safari it appears as a narrow ... There seems to be a needless reliance on the global variable 'NumberOfQuestionsShown', I've suggested a different strategy below that should be easier to maintain - it uses a single class to hide/show questions so the script doesn't need to know how many questions there are nor do they need to be consecutively numbered. ... var questionNum; ... Instead of going through all questions, how about giving them all the same style, then just modify the style to change display from 'none' to ''. ...
    (comp.lang.javascript)
  • Re: Conditional formatting
    ... happens if you step through the script in Script Debugger? ... I'd like to dynamically place a button on my layout. ... I only want the "Show All" button to display when I'm ... calculation determining how the button is labelled and describing what ...
    (comp.databases.filemaker)
  • Re: Internet Explorer - Firefox
    ... the Pub 2003 coding engine produces the code. ... the problem is how publisher displayed it in IE. ... original script given to you from the source, ... suppose to display a search box for flights..i am pretty sure ...
    (microsoft.public.publisher.webdesign)
  • Re: Internet Explorer - Firefox
    ... the Pub 2003 coding engine produces the code. ... the problem is how publisher displayed it in IE. ... I imagine it is a problem with how the script ... suppose to display a search box for flights..i am pretty sure ...
    (microsoft.public.publisher.webdesign)