Configure a second keyboard in Linux
This article was originally published with instructions exclusively for X11 using xinput and setxkbmap. It has been updated to include how to do it natively in Wayland (specifically in KDE Plasma), the default graphical environment in modern distributions like Manjaro.