[GH-ISSUE #783] Hotkey synthesis doesn't work on Linux screens. #616

Open
opened 2026-05-05 06:47:33 -06:00 by gitea-mirror · 5 comments
Owner

Originally created by @notanimposter on GitHub (Jul 6, 2020).
Original GitHub issue: https://github.com/debauchee/barrier/issues/783

Operating Systems

Server: elementary OS Hera (Ubuntu bionic)

Client: Windows 10

Barrier Version

2.3.2

Steps to reproduce bug

Try to synthesize a key. For example,

keystroke(KP_0) = keyDown(Space, Linux_Screen)
keystroke(KP_1) = keyDown(Space, Windows_Screen)

KP_1 will send a space to the Windows screen, but KP_0 will do nothing.

Other info

When did the problem start to occur?

As far as I know it has never worked correctly. https://github.com/symless/synergy-core/issues/80

Is there a way to work around it?

Not that I know of.

Does this bug prevent you from using Barrier entirely?

No.

Would be pretty nice to see this fixed finally. It's really annoying having to switch back and forth between my screens just to hit pause on a video, skip to the next song, etc.

Originally created by @notanimposter on GitHub (Jul 6, 2020). Original GitHub issue: https://github.com/debauchee/barrier/issues/783 ### Operating Systems ### Server: elementary OS Hera (Ubuntu bionic) Client: Windows 10 ### Barrier Version ### 2.3.2 ### Steps to reproduce bug ### Try to synthesize a key. For example, ``` keystroke(KP_0) = keyDown(Space, Linux_Screen) keystroke(KP_1) = keyDown(Space, Windows_Screen) ``` KP_1 will send a space to the Windows screen, but KP_0 will do nothing. ### Other info ### > When did the problem start to occur? As far as I know it has never worked correctly. https://github.com/symless/synergy-core/issues/80 > Is there a way to work around it? Not that I know of. > Does this bug prevent you from using Barrier entirely? No. Would be pretty nice to see this fixed finally. It's really annoying having to switch back and forth between my screens just to hit pause on a video, skip to the next song, etc.
Author
Owner

@JasonPoole commented on GitHub (Jul 19, 2020):

I am also having the same issue from server Ubuntu to client windows 10. I also have a phobia of using the mouse.

section: options
 	keystroke(Alt+f) = switchToScreen(comp)
 	keystroke(Alt+g) = switchInDirection(up)
<!-- gh-comment-id:660563760 --> @JasonPoole commented on GitHub (Jul 19, 2020): I am also having the same issue from server Ubuntu to client windows 10. I also have a phobia of using the mouse. ``` section: options keystroke(Alt+f) = switchToScreen(comp) keystroke(Alt+g) = switchInDirection(up) ```
Author
Owner

@JasonPoole commented on GitHub (Jul 19, 2020):

Hotkeys work for me after a restart

<!-- gh-comment-id:660565777 --> @JasonPoole commented on GitHub (Jul 19, 2020): Hotkeys work for me after a restart
Author
Owner

@notanimposter commented on GitHub (Jul 21, 2020):

That's definitely a different issue. In your example, you're not generating new keypresses. My switchToScreen hotkeys are working fine, just not synthesis of new keystrokes.

<!-- gh-comment-id:661502042 --> @notanimposter commented on GitHub (Jul 21, 2020): That's definitely a different issue. In your example, you're not generating new keypresses. My switchToScreen hotkeys are working fine, just not synthesis of new keystrokes.
Author
Owner

@github-actions[bot] commented on GitHub (Sep 19, 2020):

This issue has been automatically marked as stale due to inactivity. It will be closed if no further activity occurs. Thank you for your contributions.

<!-- gh-comment-id:695146209 --> @github-actions[bot] commented on GitHub (Sep 19, 2020): This issue has been automatically marked as stale due to inactivity. It will be closed if no further activity occurs. Thank you for your contributions.
Author
Owner

@p12tic commented on GitHub (Jan 10, 2021):

Let's not close valid bug reports.

<!-- gh-comment-id:757534343 --> @p12tic commented on GitHub (Jan 10, 2021): Let's not close valid bug reports.
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#616
No description provided.