'How-To get the current keyboard layout on Alpine Linux?

We work on many machines, direct or via SSH, not on all machines we are using the same keyboard layout. I found solutions for ArchLinux and Ubuntu (and Windows), but no solution works on Alpine-Linux.

How can I get the current keyboard-layout on Alpine-Linux? On Terminal (/bin/ash) or via script?

The layout can configured with setup-keymap us us but I found no solution to get the current layout back.



Solution 1:[1]

The currently used keymap is in the configuration file /etc/conf.d/loadkmap

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Kovács Szabolcs