GWSL-Source
GWSL-Source copied to clipboard
Can't change keyboard layout
Maybe I'm stupid, but tell me how to change the keyboard layout here? Standard keyboard shortcuts don't work...
No problem. Here is a tutorial from the discord server:
Change the keyboard layout: Use these options to change the keyboard layout of GWSL. Note this does not work with every layout. Some require more work. -wgl -compositewm -multiwindow -clipboard -xkblayout fr -xkbmodel pc105 -xkbvariant bepo Be sure to replace the values with what you need. Here is a helpful list of possible layouts and variants: https://unix.stackexchange.com/a/305373 . More info here https://manpages.debian.org/jessie/keyboard-configuration/keyboard.5.en.html
You enter the final arguments as a custom GWSL profile: right click the systray icon -->XServer Profiles --> Add a profile
I try with
-wgl -compositewm -multiwindow -clipboard -xkblayout th -xkbmodel pc105 -xkbvariant tis
The program can open but can't switch language
The options I gave change the xserver keyboard layout. If you mean the gui language, regular changing of the language should work. I do not know how to do this but it is general Linux and should not have to do with GWSL
I mean I want to switch the language (eg. ALT+SHIFT) in applications that open via GWSL like GitKraken.
when I press ALT+SHIFT to another language, But I'm still typing in English.
Now I need to type somewhere in Windows and copy-paste to GUI on WSL
Is this helpful? https://superuser.com/questions/1249316/using-ctrl-shift-to-switch-languages-prevents-from-using-other-combinations-con . The solution is possibly in the question
I didn't test it yet, But Thanks in advance!