Skip to content
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

Right Alt doesn't work #438

Closed
wjtk4444 opened this issue Sep 18, 2019 · 7 comments
Closed

Right Alt doesn't work #438

wjtk4444 opened this issue Sep 18, 2019 · 7 comments
Labels
linux Related to Linux windows Related to Microsoft Windows

Comments

@wjtk4444
Copy link

Operating Systems

Server: Any (Linux?)
Client: Any (Windows?)

Barrier Version

Any

Steps to reproduce bug

  1. Open on-screen keyboard on Windows client - it highlights currently pressed modifier keys
  2. Press LSHIFT, LCTRL, LALT, RALT, RCTRL, RSHIFT
  3. Noitice that only RALT doesn't light up when pressed

Other info

I only use one language other than English, but I think that solving this issue could also close many others related to keyboard layouts and typing in non-latin characters.

Polish is written with the standardized Polish alphabet, which has nine additions to the letters of the basic Latin script (ą, ć, ę, ł, ń, ó, ś, ź, ż).

For instance, to type ą, I have to press RALT+a. It does work on the host, but it doesn't on the client. When I toggle the right alt manually (via on-screen keyboard), it works as expected.

I would suspect that Windows uses another keycode for RALT than Linux, and it simply ignores whatever is being sent.
key ef7e is not on keyboard
is what I get from DEBUG1 on client.

@AdrianKoshka AdrianKoshka added linux Related to Linux windows Related to Microsoft Windows labels Sep 18, 2019
@wjtk4444
Copy link
Author

So, after (two?) years of using Barrier (and other syngery forks) almost everyday, I finally realized there's an option to configure it with a .conf file. Apparently, it allows one to remap keys at will. Well, better late than never.

Looking at some issue threads while also trying things out and failing (a lot), those are the two lines that fixed the issue. It looks like it makes no sense (if anything, I expected altgr = alt to work instead of this), but it just works.

section: screens
    linux:
    windows7:
        meta = altgr
        altgr = shift
end

So, it seems that

  • the issue can be worked around
  • I'm an idiot for not reading the f@!#ing manual readme file earlier

Not sure if there's a point in keeping this one open - not a Barrier specific bug and it's already reported and described well enough in synergy-core. I'm leaving the decision on whether to close or keep this one open to repository maintainers.

@p12tic
Copy link
Member

p12tic commented Sep 21, 2019

@AdrianKoshka Does it make sense to close the issue?

@AdrianKoshka
Copy link

I suppose so, if this issue needs to be re-opened, it can be.

@Elexy
Copy link

Elexy commented Jul 23, 2020

This saved me from insanity.

For reference: I use a wired mac keyboard on a Linux server and mixed Windows10 / linux clients

@wrzomar
Copy link

wrzomar commented Dec 27, 2020

For me it doesn't work. Only the altgr = alt makes altgr "work" - the underscored characters appear in the window menu (like with left alt), but with alt the shortcuts work, with altgr not. Both client and server are using Linux. What am I missing?

Edit: It works on Mac OS X client (meta=altgr, altgr=shift), but on Raspberry Pi OS client it doesn't for some reason.

@metebyte
Copy link

metebyte commented Apr 9, 2022

Server (installed through release DMG):
macOS Monterey 12.3.1
Barrier Version: 2.4.0-release-3e0d758b

Client (installed through Pacman):
Arch Linux 5.17.1
Barrier Version: 2.4.0-release
Protocol version 1.6

Keyboard Layout on Server:
Turkish Q

Keyboard Layout on Client:
trq

Tried every method related to this issue. But couldn't get any good result.

@Eugeniusz-Gienek
Copy link

Works for Mac - I have a couple of linuxes + mac and when writing Polish letters you use alt + a letter. Right alt didn't work so this is a revelation! Thanks!!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
linux Related to Linux windows Related to Microsoft Windows
Projects
None yet
Development

No branches or pull requests

7 participants