How to record screencast on Linux with mouse clicks and key hits shown

Posted on

Problem :

Basically I’m looking for an application to record a series of tutorials for a program I wrote.

It’s important to show the actions like mouse click, mouse right click, and all what’s coming out from the keyboard. In the similar way to this video which is made using OSX and ScreenFlick

Is there such an option?


Solution :

My application for Linux is called Screenkey. It’s a useful tool to create screencasts, I was inspired by Screenflick for Mac OS and it’s based on the key-mon project code.
Here you can watch a demo
This open source project is hosted on and anyone is welcome to help me with suggestions or reporting bugs.

The best one I’ve found is Key Status Monitor (KSM). Most other programs only show mouse activity or only keyboard activity, KSM shows both. KSM is an open source GTK+ application used to show live keyboard and mouse status for teaching and screencasts.

you can feed it a ton of different command-line switches for a different display.

For example, using the --smaller switch:

and the --larger switch:

and --theme=apple:


  • The window and buttons are scalable to any size.
  • Different keyboard themes/styles supported, for instance the Mac look.
  • Starts without a window border.
  • Right click provides an application menu.
  • Supports the META (aka Windows) key.
  • Supports the scroll wheel.
  • Supports all three mouse buttons.
  • Should support multiple mouses or keyboards (untested).
  • Move the window by dragging from anywhere inside.
  • Swap the left and right mouse buttons.
  • Emulate middle click by clicking left and right mouse buttons.
  • When the dialog is smaller a different set of images are used for a
    better look.
  • Support for foreign keyboards.
  • Ability to make your own keyboard scancode maps, for when the defaults
    don’t work.

I’ve used DebugMode Wink on Windows before for screencasting. They also have a linux version. I haven’t tried it, but if it’s like the windows version, it should be pretty easy to use, and is pretty flexible. It outputs to SWF or a series of PNGs.

You could try Any-Key.

Any-Key is a small tool made to simplify screencasting. Whenever you press a key combination or click the different mouse buttons Any-Key will display it in its window. This makes it possible to easily show complicated key combinations while recording. Of Course it is also possible to disable it with the so called “toogle-key” which will toggle between on and off.


  • Shows both key presses and mouse clicks
  • Self defined toggle key for on or off (hence the name)
  • Possible to toggle which screen you want it to display on.

Here is a videoe where I use it. Go to about the 15th second mark to see it in action.

Full disclosure: I was involved in designing it back in the day and it hasn’t really been updated in a while. But it still works on my kubuntu 13.04 and I use it regularly.