-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Wrong keyboard layout between Server and Client #134
Comments
I think this happens because the XTEST extension is used to deliver the keystrokes, and it has its own virtual keyboard. You can see this if you run
This can be fixed using
This sets it to layout us, variant colemak. You can work out the correct values for your system, along with any |
Really curious: if I use your method with
I get correct Anyway thank you very much for this workaround! |
Now it works with |
that is awesome!, a couple of years ago I looking for this solution with no luck. Thanks a lot! |
I don't think this issue should be closed just because some people have found workarounds - this really needs to be something addressed by barrier in a way that most users will be able to configure it - which I would not say applies to the proposed solutions above. |
Sadly this hack doesn't work on my issue (french keyboard on linux server & windows client, everything is fine up until i try some AltGr symbols, then the windows switch from FR to "Other Language" and things go awry). Anyway just wanted to point out that while grep and sed are usefull tool, they are also often not the best ones, xinput is able to select the device to list and natively support reporting only the device id with "--id": so it then give:
|
Agreed, reopening the issue. |
I have two devices with Manjaro installed. The configured keyboard configuration in /etc/X11/xorg. conf. d / 00-keyboard. conf does not apply on the client (two layout languages) for the virtual device described here. I get around this by running the command in the terminal after the barrier client and server connection is established: |
I had this same issue between my two Linux boxes Server: Manjaro Information gathered using
For the longest time I tried all the things suggested in the various Windows client issues, but finally the working fix was to run:
and restart the client. Now Maybe this can be fixed in some point, but thanks for the workaround 👍 |
Thanks a lot, I had the same problem: Server: Ubuntu 20.04 on iMac mid 2011 Keboard layout: Italian (Winkeys) Now it works fine on the Raspberry. |
I tested some more with my Linux server/client setup. It seems that the keyboard layout Barrier client uses is right from the start:
but key combinations like
I hope this helps to figure out the issue. |
Manjaro (Server) and Arch Linux (Client) with German (nodeadkeys) layoutBarrier Version: 2.4.0 1) ConfigurationI configured both (Server) and (Client) with the same layout for the
2) Restart
🥳 Keystrokes with |
Also after client/server computer reboot? |
fixed my AltGr 7 , 8 , 9 and 0 Thank you |
Workaround exists… and worked until now. I now have a very crazy keyboard layout. It doesn't even produce an event for all keys. The main keys (letters, digits) are fine (except for being US). But anything else is screwed. I dicked around with setting up barrier as autostart app, but it also get started from the session info, which might or might not be a factor. Either way, this needs a real fix. |
I had same issue on my RPi 3 Raspbery Pi OS Client with my ArchLabs Lenovo Thinkpad T16 Server However when I selected Generic 105 PC (int), Portuguese, Portuguese it all worked! |
Hi, I'm sorry , I think I mixed up things , I was looking for keyboard problems under x11vnc and tigervnc and novnc and I ended up comment here because set "nodeadkeys" on my PT-pt keyboard, solve AltGr 7 , 8 , 9 and 0 problem , I used https://symless.com/synergy but now I use more x2vnc https://github.com/sergiomb2/x2vnc/blob/master/start_x2vnc.txt . So I did a comment here , and later I saw that set "nodeadkeys" is not a fix, it disable composed keys and is probably a bug in x11vnc. Because only with x11vnc + tigervnc, Altgr doesn't work , if I use just tigervnc and novnc works correctly . The curiosity is set nodeadkeys at least in my layout keyboard makes some AltGr keys works but have the downgrade of disable composed keys . I wonder if barrier source code is based on some of these software x11vnc, libvnc (http://libvnc.github.io/ ) , novnc , tigervnc ? Best regards |
BTW , (I hope that is an useful information ) LibVNC/x11vnc#115 (comment) |
For those who are still looking for a solution to map the right layout on boot, use ~/.xprofile with the following content:
|
Operating Systems
Server: Windows 10
Client: Arch Linux
Barrier Version
2.1.0
Steps to reproduce bug
Other info
The text was updated successfully, but these errors were encountered: