Showkeys is a simple program to display keys being pressed on the screen.
It is useful while making presentations and screencasts. The audience will be able to see the keys being pressed.
It is similar to key-mon. Key-mon has more features that showkeys. The advantages of showkeys are
- Doesn't use gtk/gnome.
- Uses libxosd to display keys directly onto the screen.
- No floating windows that always need to be on top. This is very useful if you're using a tiling WM like Xmonad.
- Keystroke history. key-mon has this but doesn't show modifiers. showkeys does using and Emacs style key notation.
The list of things which key-mon does better than showkeys is far longer but I wanted something that fixed these specific issues.
You will need
- The Xlib development libraries. (available as
- The libxosd development libraries (available as
- The libXtst development libraries (available as
- Your X server should have the record extension enabled. You can check if this is enabled by running
xdpyinfoand searching the list of extensions for
RECORD. The command itself is part of the
x11-utilspackage (alteast on Debian which I run).
- Unzip the tarball.
- Edit the file
make showkeys. It should create the executable.
This program uses some Gnu extensions to libc so might not work with a pure POSIX libc.
The project is on Github. Please report bugs using the issue tracker.