wslg: Can not switch input languages

Environment

Windows build number: 21390.1010
Your Distribution version: Ubuntu 20.04
Your WSLg version: 1.0.22

I have multiple input languages installed in my system (English and Russian). But in WSL GUI apps, I only have Russian and can’t switch to English.

About this issue

  • Original URL
  • State: open
  • Created 3 years ago
  • Reactions: 1
  • Comments: 25 (9 by maintainers)

Most upvoted comments

I have the same issue when trying to use Ukrainian keyboard layout in WSLg apps. Could you please add it?

Entry in /mnt/wslg/weston.log:

[21:33:40.966] Client: LanguageImeInfo: ProfileType: 2 (TF_PROFILETYPE_KEYBOARDLAYOUT)
[21:33:40.967] Client: LanguageImeInfo: LanguageID: 0x422
[21:33:40.967] Client: LanguageImeInfo: LanguageProfileCLSID: GUID_NULL
[21:33:40.967] Client: LanguageImeInfo: ProfileGUID: GUID_NULL
[21:33:40.967] Client: LanguageImeInfo: KeyboardLayout: 0x20422
[21:33:40.967] convert_rdp_keyboard_to_xkb_rule_names: matching model=pc105 layout=(null) variant=(null) options=(null)
[21:33:40.967] rail_client_LanguageImeInfo_callback: Failed to switch to kbd_layout:0x20422 kbd_type:0x4 kbd_subType:0x0

WSL version:

WSL version: 1.1.3.0
Kernel version: 5.15.90.1
WSLg version: 1.0.49
MSRDC version: 1.2.3770
Direct3D version: 1.608.2-61064218
DXCore version: 10.0.25131.1002-220531-1700.rs-onecore-base2-hyp
Windows version: 10.0.19044.2364

@ParSal123, Persian keyboard layout is supported by https://github.com/microsoft/weston-mirror/pull/32, and it looks you are on very older version of WSL/WSLg, please update it from aka.ms/wslstorepage, thanks!

@RiccardoManzan, you need to one time manual update from aka.ms/wslstorepage, then newer version of wsl.exe will check update from Store. There is a plan to update Windows’s version of wsl.exe with Store version of wsl.exe, but it hasn’t been released to public yet. If you are on Windows’s insider program, then your wsl.exe should check update from Store, thanks!