from Darren Kitchen (Hak5.org)

if you do NOT have ffmpeg installed do:


sudo apt-get install ffmpeg

Next:


ffmpeg -f x11grab -s 1024x768 -r 15 -i :0.0 -s 1024x768 -r 15 -sameq video.avi

Thanks Darren!