Hello,
When plugging an USB keyboard to the imx8QM evalkit (thanks to a USB type C hub), it works fine in the Wayland terminals, except that I can't change the keymap to have a French layout.
I tried the following commands inside a Wayland terminal, and also through ssh :
1) loadkeys fr
2) loadkeys fr latin9
3) gunzip -d /usr/share/keymaps/i386/azerty/fr-latin9.map.gz
loadkeys -b fr-latin9.map > fr-latin9.map.bin
loadkmap < fr-latin9.map.bin
None of them changed the Wayland terminal behavior...
Solved! Go to Solution.
It does not work, but I found the solution.
Based on https://wiki.archlinux.org/index.php/Weston#Configuration,
edit the file /etc/xdg/weston/weston.ini to add :
[keyboard] keymap_rules=evdev keymap_layout=fr,fr
#keymap_variant=colemak, #keymap_options=grp:shifts_toggle #keymap_options=caps:ctrl_modifier,shift:both_capslock_cancel #repeat-rate=30 #repeat-delay=300 #numlock-on=true
Please try the command like "export XKB_DEFAULT_LAYOUT=fr-latin9".
It does not work, but I found the solution.
Based on https://wiki.archlinux.org/index.php/Weston#Configuration,
edit the file /etc/xdg/weston/weston.ini to add :
[keyboard] keymap_rules=evdev keymap_layout=fr,fr
#keymap_variant=colemak, #keymap_options=grp:shifts_toggle #keymap_options=caps:ctrl_modifier,shift:both_capslock_cancel #repeat-rate=30 #repeat-delay=300 #numlock-on=true