Yocto Zeus Keymap (azerty French keyboard)

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Yocto Zeus Keymap (azerty French keyboard)

Jump to solution
2,277 Views
jishin42
Contributor III

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...

0 Kudos
1 Solution
2,256 Views
jishin42
Contributor III

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

View solution in original post

2 Replies
2,264 Views
b36401
NXP Employee
NXP Employee

Please try the command like "export XKB_DEFAULT_LAYOUT=fr-latin9".

0 Kudos
2,257 Views
jishin42
Contributor III

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