Kattekrab has been fiddling around with recordmydesktop for a while, working on screencasts.

ScreenshotShe was told about the key-status-monitor utility by heathenx, who already does Inkscape screencasts. This utility monitors and displays mouse button and key press status by reading /dev/input/eventX files and displays key presses and mouse clicks in a little window, which can be part of the screencast.