You can capture a video of your linux desktop very easily with ffmpeg :
ffmpeg -f x11grab -s xga -r 25 -i :0.0 -sameq /tmp/out.mpg