showkey

Simple keystroke visualizer for displaying pressed keys on screen

brewmacoslinux
Try with needOr install directly
Source

About

Simple keystroke visualizer

Commands

showkey

Examples

Start the keystroke visualizer to display keys as they are pressed$ showkey
Run showkey and record a screencast showing keyboard input$ showkey &
Display keystrokes while giving a presentation or tutorial$ showkey