mirror of
https://github.com/debauchee/barrier.git
synced 2026-05-15 14:16:02 -06:00
[GH-ISSUE #366] Capslock not forwarded #293
Labels
No labels
HiDPI
bounty
bsd/freebsd
bsd/openbsd
bug
bug
build-infra
cantfix
critical
doc
duplicate
enhancement
fix-available
from git
from release
good first issue
help wanted
installer/package
invalid
linux
macOS
meta
needs testing
pull-request
query
question
regression
regression
v2.4.0
windows
wontfix
work-in-progress
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/barrier#293
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @xgdgsc on GitHub (Jul 21, 2019).
Original GitHub issue: https://github.com/debauchee/barrier/issues/366
Operating Systems
Server: Windows 10 737504
Client: Ubuntu 18.04
READ ME, DELETE ME: On Windows, hold the Windows key and press 'r', type 'winver' and hit return to get your OS version. On Mac, hit the Apple menu (top left of the screen) and check 'About this Mac'. Linux users... you know what you're using ;)
Barrier Version
2.3.0
Steps to reproduce bug
Other info
Since I usually use caps as ctrl. This is a deal breaker for me. I also runs autohotkey on windows to set caps lock as ctrl. Exiting autohotkey doesn't fix it for me. I also tried using the "Fix Caps Lock" option in server config on both screens and it doesn' t change the result, still capslock is pressed on server.
@xgdgsc commented on GitHub (Jul 21, 2019):
The reverse server-ubuntu client-windows config doesn' t have this issue.
@xgdgsc commented on GitHub (Jul 25, 2019):
A manjaro-server and ubuntu-client works well.
@endrift commented on GitHub (Oct 15, 2020):
I use caps lock for compose key on Linux, and have a similar problem.
@Dragovorn commented on GitHub (Dec 18, 2020):
I noticed something running a Void Linux Server and Windows Client, when caps-lock is pushed it actually sends the button press once before a new key press and once after. So if caps lock is on and I hit A, the client would acts as so: Caps Lock -> A -> Caps Lock. Was very frustrating considering I use caps lock as a keybind in a game.
@jose1711 commented on GitHub (Apr 21, 2021):
FWIW
barrierrunning both on Arch Linux, Caps-lock is not detected byxevrunning on the client (other keys are detected and shown properly). What it means (maybe as a side effect) is that things keyboard layouts that read Caps-lock state are only partially usable.Here's one example:
keyboard layout: https://gitlab.com/vojta_vogo/vok/raw/master/xorg/vok_sk
key definition:
So I get:
4when I hit 4 alone$when I hit Shift + 4č(lowercase) when I hit AltGr + 4Č(uppercase) when I hit AltGr + 4 while CapsLock is activeOn the client however the last example is not working the same way and it always produces lowercase
ccaron(č) symbol quite likely due to the fact that Caps Lock state is not propagated to the client.@inebritov commented on GitHub (Feb 21, 2022):
I'm using caps as layout switch (on logitech mx keys) and any system I tested (win10/mac12/ubuntu20) either as server or as client do have the issue. Seems this bug affects synergy too.
@davzaman commented on GitHub (Apr 6, 2022):
Windows server with mac client has this problem pretty frustrating as I can't untoggle caps unless I move my mouse back to the client and then untoggle it and come back
@Adnios commented on GitHub (Jun 17, 2022):
Same issue when windows10 server, manjaro client
@fiftyfathoms commented on GitHub (Jul 16, 2022):
I have the same issue with Windows server and windows client. The server uses autohotkey for mapping ctrl to caps lock. The client can't recognize this key press._
@Malvineous commented on GitHub (Dec 17, 2025):
Is there any workaround for this? Every time I accidentally press Caps Lock while a client machine has the focus, every second letter I type is in capitals and the space bar stops working, sOeVeRyThInGiTyPeLoOkSwEiRd. Sometimes if I press Caps Lock a bunch of times it returns to normal, but otherwise the only workaround I've found is to restart X11 on the affected machine, or to physically plug in the keyboard and press the Caps Lock to switch it back off again. Using
xdotoolto send key codes for Caps Lock has no effect, and neither does restarting the Barrier server and client. I think the problem is that the first Caps Lock press switches Caps Lock on, on the remote machine, but then it's not possible to switch it back off again without pressing it on a physical keyboard.@nbolton commented on GitHub (Dec 17, 2025):
Barrier is no longer in development. Check out Deskflow (upstream) or Input Leap (fork).
https://github.com/deskflow/deskflow
https://github.com/input-leap/input-leap
If this is still an issue in those projects, we would appreciate a cross-post of this issue.
@Malvineous commented on GitHub (Dec 17, 2025):
Oh sorry I didn't realise, thanks for the heads up!
@nbolton commented on GitHub (Dec 17, 2025):
Most people don't. Wouldn't it be useful if the maintainers of this project archived it and let people know there are active projects?