Go2Linux shows you how to take a screencast on Linux ffmpeg
You have a lot of options if what you want is to take screencast (videos of your Desktop) in Linux.How to take screencast on Linux ffmpeg
But for me the simplier the better, and that is why I normally use ffmpeg
Just a simple command line, and you are taking your video.