Per-keyboard layout settings in Gnome (and any other wayland DE)

2023-05-11 (Updated 2023-06-10)

The one thing I missed most from SwayWM after my transition from SwayWM to GNOME, was the ability to change keyboard layout for each keyboard and mouse.

Fortunately, there is a way to do that, although a little bit complicated: https://askubuntu.com/questions/1389720/gnome-tweak-tools-keyboard-layout-options-set-only-for-bluetooth-keyboard/1390841#1390841