GWSL-Source icon indicating copy to clipboard operation
GWSL-Source copied to clipboard

Can't change keyboard layout

Open transer11 opened this issue 4 years ago • 6 comments

Maybe I'm stupid, but tell me how to change the keyboard layout here? Standard keyboard shortcuts don't work...

transer11 avatar Jul 21 '21 19:07 transer11

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

Pololot64 avatar Jul 21 '21 20:07 Pololot64

I try with

-wgl -compositewm -multiwindow -clipboard -xkblayout th -xkbmodel pc105 -xkbvariant tis

The program can open but can't switch language

PePoDev avatar Aug 29 '21 17:08 PePoDev

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

Pololot64 avatar Aug 29 '21 18:08 Pololot64

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

PePoDev avatar Aug 29 '21 18:08 PePoDev

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

Pololot64 avatar Aug 29 '21 18:08 Pololot64

I didn't test it yet, But Thanks in advance!

PePoDev avatar Sep 02 '21 07:09 PePoDev