My OS is Ubuntu 12.04. I searched on google hundreds of times and I couldn't find any solution for desktop recorder software. There is the Kazam unstable version, but shortcut keys didn't work. I need a stable desktop recorder with keyboard shortcuts. There are many options on windows for this. But on ubuntu, I couldn't find a desktop recorder with global keyboard shortcuts.
I didnt know that recordmydesktop has shortkeys.
to pause recording, just push
control + mod1 + p (modal1 is generally left alt)
to stop recording
control + mod1 + s
you can check shortkeys for recordmydesktop here click
From Ubuntu Software Center:
Istanbul Desktop Session Recorder https://live.gnome.org/Istanbul