There is a desktop session recorder for Linux called recordMyDesktop that attemps to be easy to use, yet also effective at it’s primary task.recordMyDesktop offers also the ability to record audio through ALSA, OSS or the JACK audio server.
To install recordMyDesktop
Go to System->Administration->Synaptic Package Manager,type recordmydesktop in Quicksearch field.
Right click gtk-recordmydesktop,select mark for installation.Mark to be install in next window.
Then click Apply button to start install recordmydesktop.
After installation,click to Applications->Sound&Video->gtk-recordMyDeskop to openup.
Click on Save As to set where to save screencast and click Advanced for more settings.
Click Record to start record,and this window will disappear.You can see this button on top right:
It’s used to control the recording,you can right-click it to pause and left-click to stop the recording.
When stop,a window pops up prompt waiting for encode the recording.You can double click to view the screencast after this prompt.