Skip to content

Instantly share code, notes, and snippets.

@tenken
Created February 18, 2016 15:48
Show Gist options
  • Save tenken/255119da7a8f29ec4d9c to your computer and use it in GitHub Desktop.
Save tenken/255119da7a8f29ec4d9c to your computer and use it in GitHub Desktop.
#!/usr/bin/env bash
echo "Nooma.tv Recording Script"
hash recordmydesktop 2>/dev/null || { echo >&2 "I require recordmydesktop but it's not installed. Aborting."; exit 1; }
recordmydesktop --x=100 --channels 2 --freq 44100 --width 1200 -height 720 --follow-mouse --no-frame -o /home/dgurba/720.ogv &
PID=$!
sleep 9000
# Send recordmydesktop the Ctrl+C it wants to Stop recording.
kill -INT $PID
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment