Yocto Zeus Keymap (azerty French keyboard)

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

Yocto Zeus Keymap (azerty French keyboard)

跳至解决方案
2,325 次查看
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 项奖励
1 解答
2,304 次查看
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

在原帖中查看解决方案

2 回复数
2,312 次查看
b36401
NXP Employee
NXP Employee

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

0 项奖励
2,305 次查看
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