[GH-ISSUE #975] Wrong key when using modifier + space #782

Open
opened 2026-05-05 07:06:23 -06:00 by gitea-mirror · 1 comment
Owner

Originally created by @jrd on GitHub (Dec 7, 2020).
Original GitHub issue: https://github.com/debauchee/barrier/issues/975

Space key with a modifier (altgr in my case) seems to not send the right key code to the guest.
The key typed on the guest is not the right one.

To Reproduce
Host : Linux Manjaro (Xorg), Barrier version 2.3.3 (flatpak)
Guest : Linux Manjaro (Xorg), Barrier version 2.3.3 (flatpak)

Host keyboard Layout : fr-bepo_afnor
Guest keyboard Layout : fr-bepo_afnor

When typing <altgr>+<space> on the keyboard, it produces _ on the host (correct) and | on the guest

Expected behavior
It should obviously show _ key en the guest.

Supplemental
If I change the guest to another layout, say fr azerty_afnor, then it produces æ instead of _.
If I change the guest to another layout, say  fr oss, then it produces æ instead of nothing (because nothing is bind on this keymap for this layout).

It seems as if <altgr>+<space> typed on the host send <altgr>+<a> to the guest

More Info
<altgr>+<a> produces | with fr bepo_afnor
<altgr>+<a> produces æ with fr azerty_afnor
<altgr>+<a> produces æ with fr oss
<altgr>+<a> produces â with fr latin9

<altgr>+<space> produces _ with fr bepo_afnor
<altgr>+<space> produces   with fr azerty_afnor
<altgr>+<space> produces nothing with fr oss
<altgr>+<space> produces   with fr latin9

Originally created by @jrd on GitHub (Dec 7, 2020). Original GitHub issue: https://github.com/debauchee/barrier/issues/975 Space key with a modifier (altgr in my case) seems to not send the right key code to the guest. The key typed on the guest is not the right one. **To Reproduce** Host : Linux Manjaro (Xorg), Barrier version 2.3.3 (flatpak) Guest : Linux Manjaro (Xorg), Barrier version 2.3.3 (flatpak) Host keyboard Layout : fr-bepo_afnor Guest keyboard Layout : fr-bepo_afnor When typing `<altgr>+<space>` on the keyboard, it produces `_` on the host (correct) and `|` on the guest **Expected behavior** It should obviously show `_` key en the guest. **Supplemental** If I change the guest to another layout, say `fr azerty_afnor`, then it produces `æ` instead of `_`. If I change the guest to another layout, say  `fr oss`, then it produces `æ` instead of nothing (because nothing is bind on this keymap for this layout). It seems as if `<altgr>+<space>` typed on the host send `<altgr>+<a>` to the guest **More Info** `<altgr>+<a>` produces `|` with `fr bepo_afnor` `<altgr>+<a>` produces `æ` with `fr azerty_afnor` `<altgr>+<a>` produces `æ` with `fr oss` `<altgr>+<a>` produces `â` with `fr latin9` `<altgr>+<space>` produces `_` with `fr bepo_afnor` `<altgr>+<space>` produces ` ` with `fr azerty_afnor` `<altgr>+<space>` produces nothing with `fr oss` `<altgr>+<space>` produces ` ` with `fr latin9`
Author
Owner

@mclang commented on GitHub (Sep 10, 2021):

Maybe you have same is as here:
https://github.com/debauchee/barrier/issues/134

Helped me at least in situation where both my Linux server and clients had working US AltGr International dead keys keyboard layout, but things like AltGr+q and AltGr+5 didn't produce ä and on the client side when used through Barrier.

<!-- gh-comment-id:916782449 --> @mclang commented on GitHub (Sep 10, 2021): Maybe you have same is as here: https://github.com/debauchee/barrier/issues/134 Helped me at least in situation where both my Linux server and clients had working _US AltGr International dead keys_ keyboard layout, but things like `AltGr+q` and `AltGr+5` didn't produce `ä` and `€` on the client side when used through Barrier.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/barrier#782
No description provided.