How to Display the Current Keyboard Layout

keyboardkeyboard-layoutxkb

Is there a utility that allows to graphically display the current keyboard layout?

This can be useful, for example, when writing in a foreign language and having the physical keyboard only indicating the local language (positioning of symbols, etc.). I would like to get a display similar to the following:
enter image description here

Best Answer

xkeycaps seems to do what you want, if I understand you correctly.