Logitech K400+ mapping problem

I had the same problem with the K400 keyboard with Danish layout and fixed it with the following command.

sudo apt install console-common

Choose “Select keymap from full list” and choose your keyboard and language.

If you need to reconfigure use this command

sudo dpkg-reconfigure console-data