key-mon on lubuntu 20.04

Solution 1:

You still can install keymon using packages from 18.04 LTS:

cd ~/Downloads
wget -c http://archive.ubuntu.com/ubuntu/pool/universe/p/pygtk/python-gtk2_2.24.0-5.1ubuntu2_amd64.deb
wget -c http://archive.ubuntu.com/ubuntu/pool/universe/k/key-mon/key-mon_1.17-1ubuntu1_all.deb

sudo apt-get install ./python-gtk2_2.24.0-5.1ubuntu2_amd64.deb ./key-mon_1.17-1ubuntu1_all.deb

Note: for Ubuntu 21.04 (hirsute) and 21.10 (impish) the list of dependencies is longer:

cd ~/Downloads
wget -c http://archive.ubuntu.com/ubuntu/pool/universe/p/python-xlib/python-xlib_0.23-2build1_all.deb
wget -c http://archive.ubuntu.com/ubuntu/pool/universe/p/pycairo/python-cairo_1.16.2-2ubuntu2_amd64.deb
wget -c http://archive.ubuntu.com/ubuntu/pool/universe/p/pygobject-2/python-gobject-2_2.28.6-14ubuntu1_amd64.deb
wget -c http://archive.ubuntu.com/ubuntu/pool/universe/p/pygtk/python-gtk2_2.24.0-5.1ubuntu2_amd64.deb
wget -c http://archive.ubuntu.com/ubuntu/pool/universe/k/key-mon/key-mon_1.17-1ubuntu1_all.deb

sudo apt-get install ./key-mon_1.17-1ubuntu1_all.deb ./python-cairo_1.16.2-2ubuntu2_amd64.deb ./python-gobject-2_2.28.6-14ubuntu1_amd64.deb ./python-gtk2_2.24.0-5.1ubuntu2_amd64.deb ./python-xlib_0.23-2build1_all.deb

Solution 2:

I could find two alternatives to keymon:

  • screenkey is packaged, maintained, but is not really useful for most screencast tasks.

  • kmcaster is not packaged, but the .jar file provided by the project should run on Ubuntu. A video compares it to key-mon:

    comparison