Keyboard layout messed up for KBD_PORTUGUESE_BRAZILIAN_ABNT2.
When I try to type any text on any of the GUI applicatuins, the letter doesnt matches the keyboard layout (it works just fine from the command prompt).
@tb110188 , would you please attach weston.log from /mnt/wslg ? and what keyboard layout do you use in Windows side ?
@tb110188 , would you please attach weston.log from /mnt/wslg ? and what keyboard layout do you use in Windows side ?
i'm reinstalling Ubuntu... And sure, also I do use PT BR (ABNT2)
I'm having the same issue. My keyboard layout is PT-BR (ABNT2) too, and here's my weston.log file:
@jordan080 Thanks...
From your weston.log.
[23:07:28.183] kbd_layout:0x416 kbd_type:0x4 kbd_subType:0x0 kbd_functionKeys:0xc
RDP client is correctly reports 0x416, which is ...
#define KBD_PORTUGUESE_BRAZILIAN_ABNT 0x00000416
Would you please do "setxkbmap -print -verbose 10" on Linux side to see if corresponding layout is installed/configured in Xkb ?
Setting verbose level to 10 locale is C Trying to load rules file ./rules/evdev... Trying to load rules file /usr/share/X11/xkb/rules/evdev... Success. Applied rules from evdev: rules: evdev model: pc105 layout: us Trying to build keymap using the following components: keycodes: evdev+aliases(qwerty) types: complete compat: complete symbols: pc+us+inet(evdev) geometry: pc(pc105) xkb_keymap { xkb_keycodes { include "evdev+aliases(qwerty)" }; xkb_types { include "complete" }; xkb_compat { include "complete" }; xkb_symbols { include "pc+us+inet(evdev)" }; xkb_geometry { include "pc(pc105)" }; };
From your weston.log.
[23:07:28.183] kbd_layout:0x416 kbd_type:0x4 kbd_subType:0x0 kbd_functionKeys:0xc
RDP client is correctly reports 0x416, which is ...
#define KBD_PORTUGUESE_BRAZILIAN_ABNT 0x00000416
Would you please do "setxkbmap -print -verbose 10" on Linux side to see if corresponding layout is installed/configured in Xkb ?
My output from "setxkbmap" is pretty much the same as that of @tb110188:
Setting verbose level to 10 locale is C Trying to load rules file ./rules/evdev... Trying to load rules file /usr/share/X11/xkb/rules/evdev... Success. Applied rules from evdev: rules: evdev model: pc105 layout: us Trying to build keymap using the following components: keycodes: evdev+aliases(qwerty) types: complete compat: complete symbols: pc+us+inet(evdev) geometry: pc(pc105) xkb_keymap { xkb_keycodes { include "evdev+aliases(qwerty)" }; xkb_types { include "complete" }; xkb_compat { include "complete" }; xkb_symbols { include "pc+us+inet(evdev)" }; xkb_geometry { include "pc(pc105)" }; };
Assuming you are on Ubuntu, can you configure keyboard layout using "sudo dpkg-reconfigure keyboard-configuration" and restart WSLg by wsl --shutdown or wsl --terminate [distro name] ?
@hideyukn88 Nope, still the same issue...
when I try to type "qwerty" this is what it shows "/,.hxw"...
I don't know exactly what i did, i installed full gnome pckages and change my locale to pt_BR.UTF8, also changind some stuff related to the keyboar... and now it's working just fine...
I don't know exactly what i did, i installed full gnome pckages and change my locale to pt_BR.UTF8, also changind some stuff related to the keyboar... and now it's working just fine...
What exactly did you change in the keyboard settings? And did you install the full GNOME DE?
I don't know exactly what i did, i installed full gnome pckages and change my locale to pt_BR.UTF8, also changind some stuff related to the keyboar... and now it's working just fine...
What exactly did you change in the keyboard settings? And did you install the full GNOME DE?
Tried again, but without installing Full Gnome Desktop Experience...
I think we need that...
Update:
We don't need Gnome Desktop Experience, but i don't know what else...
The same here. It only worked here after removing the Brazilian ABTN2 keyboard and have restarted WSL. It is working with United States-International.
there shoul be a way to make it work without messing with the keyboard...
Unfortunately, while they don't fix it, we won't be able to use GUI apps with ABNT2 keyboards
setxkbmap -model abnt2 -layout br -variant abnt2
Didn't work for me
Did you changed the LOCALE too???