http://www.maartenbaert.be/simplescreenrecorder/
sudo add-apt-repository ppa:maarten-baert/simplescreenrecorder sudo apt-get update sudo apt-get install simplescreenrecorder
Use the menu to start the GUI Record a fixed rectangle -> Matroska (MKV) , VP8 , 5000 kbps , CPU used: 5, Yes allow frame skipping
sudo apt-get install byzanz byzanz-record --help byzanz-record --duration=30 --delay=2 --cursor --x=0 --y=0 --width=640 --height=480 --verbose out.gif
https://github.com/GNOME/byzanz