-
Notifications
You must be signed in to change notification settings - Fork 29.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Keyboard layout changes are not detected on Linux #23690
Comments
Yes, keyboard layout changes are not detected on Linux. The workaround is to restart vscode. This method needs to be implemented: https://github.com/Microsoft/node-native-keymap/blob/master/src/keyboard_x.cc#L235 |
restarting VS code dos not make it loar right keybord for shortkut |
@nicolaslussier Have you tried the workaround suggested at #24166 (comment) |
I'm having trouble with this, especially because I open VS Code with the French keyboard layout enabled (my OS default), then I switch to US for coding. The |
@Spone You can reload VS Code |
Yes, but doing so every time I launch VS Code? 🤣 |
More possible workarounds:
(or)
|
Oh, great! The second workaround did the job! Thanks a lot @alexandrudima that was the main pain point while adopting VS Code :) |
Coming from #88269 . If it matters, my keyboard layout is set via X starts my WM, my WM starts VSCode, shouldn't it work? Thanks |
I am switching frequently between EN and FR keyboard. This bug makes VSCode barely usable for me on Ubuntu 18.04. |
I am using EN and FR keyboards on Ubuntu 18.04. I made a custom alias for the command : |
Exact same issue, cannot find a way to fix. |
@alexdima you mention
Since this is not how the default keybindings are defined, I assume that there are drawbacks to this method, can you tell what they are (or why the default keybindings don't use this ? ) thanks |
Same issue here. Nothing changed, except update to Version: 1.53.2 |
This option has solved the problem in the Editor when I changed the keyboard layout once VS code is running. But the shortcuts and the terminal input keep the previous layout.
This action does nothing to fix the shortcuts or the terminal input. Is there any hard restart command ? |
File > exit (or |
ubuntu 16 and latest vs code still an issue. |
…rosoft/vscode#23690)" This reverts commit 65b214d.
Found verifying #1549
Steps to Reproduce on Linux under Parallels with a US keyboard (did not reproduce on Mac):
It seems like the layout switch doesn't clear out the old binding.
The text was updated successfully, but these errors were encountered: