Extended version of http://git.slaskete.net/einar-bin/blob/HEAD:/screencast.sh