Displays keypresses on screen on supported Wayland compositors (requires wlr_layer_shell_v1 support).

Dependencies:

cairo

libinput

pango

udev

wayland

xkbcommon

$ meson build $ ninja -C build # ninja -C build install # chmod a+s /usr/bin/wshowkeys

wshowkeys must be configured as setuid during installation. It requires root permissions to read input events. These permissions are dropped after startup.

wshowkeys [-b|-f|-s #RRGGBB[AA]] [-F font] [-t timeout] [-a top|left|right|bottom] [-m margin] [-o output]