mirror of
https://github.com/debauchee/barrier.git
synced 2026-05-15 14:16:02 -06:00
[GH-ISSUE #1073] When configuring keystrokes in the hotkeys gui, the windows/super key is not captured. #853
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#853
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 @dlobue on GitHub (Feb 20, 2021).
Original GitHub issue: https://github.com/debauchee/barrier/issues/1073
Describe the bug
When configuring keystrokes in the hotkeys gui, the windows/super key is not captured.
This happens when defining the initiating hotkey, as well as when defining keystrokes for the resulting action.
To Reproduce
Steps to reproduce the behavior:
Newto create a new hotkeySuper+vkeystroke(v)Expected behavior
I expect the captured keystroke to read
keystroke(Super+v)Desktop (please complete the following information):
Additional context
I am not running Wayland. I'm running kde/plasma 5 on x11.
I discovered this issue when I was creating a hotkey to map ctrl+v to super+v for my mac client.
@matiferrigno commented on GitHub (Mar 31, 2021):
Did you solve it? Today I read your issue because I was looking the same solution and decided to look on KDE configuration after I notice you use too. Actually I notice that (my) problem** was on KDE and is not a bug on barrier.
@duhow commented on GitHub (Jul 6, 2021):
Same for me. Debian 11 bullseye x86_64 Linux 5.10.0-6-amd64, KDE 5.78.0 / Plasma 5.20.5. Using last Barrier release 2.3.3 .
@edanaher commented on GitHub (Sep 12, 2021):
I'm also seeing this on NixOS using FVWM, which definitely doesn't eat the keypress. It was easy enough to work around by exporting the config to a text file and adding it there, but it's inconvenient.
@matiferrigno commented on GitHub (Sep 13, 2021):
I had this issue but I haven't it any more. Try add this config to your screen.
@PhilCS commented on GitHub (Nov 5, 2021):
I tried adding these to my config, but neither works. It's quite unfortunate.Without Shift, both work, which is really weird. With justShift+z, Shift is not sent at all.EDIT: For some reason,
Zhas to be uppercase! This works okay-ish (although far from perfect, you gotta release Ctrl to press Ctrl-Z after)Which also works alongside
@mhagnumdw commented on GitHub (Aug 16, 2022):
Has anyone found a workaround yet?
@edanaher commented on GitHub (Aug 16, 2022):
Regarding a workaround, as I said above (emphasis added):
More explicitly:
keystroke(Alt+Super+Control+j) = switchToScreen(other). Note also his issues with shift; apparently if you want to do something with the Shift modifier, you need to capitalize the key.Sadly, AFAICT there's no way to import the config back, so you have to either make further updates in the text file (which honestly, I prefer anyway), or else re-export and fix Super every time you update your configuration.