Display key presses on screen

Useful for presenting at conferences or webinars.

Install Link to heading

sudo pacman -S screenkey

Run Link to heading

Start it with:

screenkey -s small -t 0.5 --opacity 0.3 --compr-cnt 2

Stop it by killing the process:

killall screenkey

Key Bindings Link to heading

Better have it as a system wide key binding for fast access:

Key Description
Super + K Start screenkey.
Super + Shift + K Stop screenkey.

Set them with:

xfconf-query --reset                 \
  --channel xfce4-keyboard-shortcuts \
  --property /commands/custom/'<Super>k'

xfconf-query --create                    \
  --channel xfce4-keyboard-shortcuts     \
  --property /commands/custom/'<Super>k' \
  --type string                          \
  --set 'screenkey -s small -t 0.5 --opacity 0.3 --compr-cnt 2'

xfconf-query --reset                 \
  --channel xfce4-keyboard-shortcuts \
  --property /commands/custom/'<Super><Shift>K'

xfconf-query --create                           \
  --channel xfce4-keyboard-shortcuts            \
  --property /commands/custom/'<Super><Shift>K' \
  --type string                                 \
  --set 'killall screenkey'

Add them to any automation script you have for maximum productivity!

WARNING! Don’t forget to turn it off when typing passwords…