-
Notifications
You must be signed in to change notification settings - Fork 1.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
Many shortcuts don't work with the Neo 2 keyboard layout #1363
Comments
cc @spoenemann |
@kreibaum we need your help to solve this issue. Could you do the following:
I know this is quite some work, but there is no way we can fix the issue without a Neo 2 keyboard (I don't have one). Doing these steps on Windows is important so the generated layout data will work on both Linux and Windows. It will not work properly on Windows if you do it on Linux. |
I think there may be a bit of a misunderstanding about the keyboard. It is a normal German QWERTZ keyboard and I am just using a different layout through software (and blind typing). Do your comments still apply in that case? (I can also try to debug what exactly happens in theira if you give me some hints where to start) |
There's no need to debug, we just need to generate a layout file using the generator script. You're right, I forgot that it's usually sufficient to set the keyboard layout in the operating system (independently of the actual hardware). In this case someone should check whether the layout is available on Windows, and if yes generate it from there as described above. If not, it's ok to generate it on Linux with the same steps. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
This is for gitpod-io/gitpod#1363 where I have executed the generate-layout script on an Ubuntu 20.10. (Windows 10 does not support Neo 2 layouts afaik)
Sorry for the delay, I had some problem building it on my machines. I just now got around to setting up a fresh Ubuntu on an older Laptop and here I was able to build theia. |
Hi @kreibaum, does this issue still reproduce if you switch your IDE to Code in https://gitpod.io/settings/ ? (Under Feature Preview -- but Code will soon become the default IDE in Gitpod) |
This is amazing ❤️ It does not work out of the box but the same fix that works for vscode (microsoft/vscode#24043) works in the browser as well. Thank you for telling me about this new editor frontend! |
Describe the bug
When using gitpod with the Neo 2 layout multiple shortcuts don't work. Most prominently, this includes ctrl+S for saving as well as ctrl+C, ctrl+V for copy and paste.
I am on Ubuntu 19.10 and this is a Problem in both Firefox and in Chromium
The layout Neo 2 is a special German layout included with most Linux distributions. I have included an image of the layout to give an idea of its "alien-ness".
Steps to reproduce
Use the German Neo 2 layout on Ubuntu and try to save or try to use copy paste in Gitpod.
Expected behavior
I expect those shortcuts to work, as if I where using a standard QWERTZ/QWERTY layout.
Additional information
In vscode there is a bug with Neo 2 where parts of layer 4 don't work (arrow keys on the home row). This must be worked around by setting
"keyboard.dispatch": "keyCode"
which is not a setting available in Gitpod/Theia. microsoft/vscode#24043I did not check this with other niche keyboards like Bépo, but I suspect those will have similar issues.
Example repository
I am trying out Gitpod in https://github.com/kreibaum/pacosako but I already had that problem with the animal doctor example project.
The text was updated successfully, but these errors were encountered: