Results 1 to 2 of 2
Hi, So I'm teaching myself some scripting to try and create a fairly simple photobooth type affair... I've got gphoto2 playing fairly nicely with my canon, and imagemagick taking that ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 11-04-2010 #1
- Join Date
- Nov 2010
Display Images Whilst Running Other Functions
So I'm teaching myself some scripting to try and create a fairly simple photobooth type affair... I've got gphoto2 playing fairly nicely with my canon, and imagemagick taking that output and rearranging it to a vertical format...
Fairly simple to do what I needed initially:
feh -FZ -D 1 --cycle-once $COUNTDOWN & sleep 2 & feh -FZ -D 20 --cycle-once $SMILE
So my question is thus... (fairly basic but I can't get my head round the use of & and sleep in this context) what's the best way to call my gphoto instructions (or a script with them in) mid way through the above code?!
this kind of thing seems like the way, but the'sleep 5' and 'gphoto code' doesn't start until feh is finished in this case?? It's late and I must be missing something obvious - but any pointers appreciated.
Last edited by raguff; 11-05-2010 at 12:45 AM.
- 12-11-2010 #2
'feh code' & sleep 5 'gphoto code' wait