mirror of
https://github.com/debauchee/barrier.git
synced 2026-05-15 14:16:02 -06:00
[GH-ISSUE #630] Adding section to Wiki/documentation about how to get AltGr-working #498
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#498
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 @dd1982 on GitHub (Apr 19, 2020).
Original GitHub issue: https://github.com/debauchee/barrier/issues/630
Adding this trick helped me finally get barrier to a useable state on a Ubuntu-server with a Windows 10-client - with my keyboard layout the following keys are accessible via AltGr: @${}[]~| so you can imagine my frustration trying to write code until I figured this out.
By saving the config to a file, adding the lines with the arrows below to the config and starting barrier with barrier --config /path/to/config.file I finally got AltGr working.
Props to @wjtk4444 that spelled it out clearly in #438 - I was to thick to get it to work the first time around.
@wjtk4444 commented on GitHub (Apr 19, 2020):
Well, it's just a hack that happens to work for some reason. Windows still sees the Alt key in a weird way, for example PrintScreen is getting captured as Alt+PrintScreen (and some other mild annoyances).
I also can't get Ctrl+Alt+Delete to work, and it's a surprisingly essential shortcut when a fullscreen application stops responding...EDIT: got it working!
Sources (last url is already dead, so I copy-pasted the contents above):
https://superuser.com/questions/267532/
https://superuser.com/a/974906
http://www.robertwrose.com/2012/06/enabling-ctrl-alt-del-in-windows-7-over-synergy.html
@dd1982, could you confirm if it works on Windows 10 as well?
@dd1982 commented on GitHub (Apr 19, 2020):
Yes - I'm running the server on Ubuntu 19.10 and the client on Win 10 Enterprise 1809 and so far so good.
I have a vague recall of Windows using ctrl-alt-del as a special combo that is not supposed to be interceptable by running software - so that might be a tough one. Even when using MS Remote Desktop ctrl-alt-del is intercepted by the local machine rather than the one you're interacting with.
If any dev wants to try and make a proper fix for AltGr on Windows - the reason people are having trouble can be found in the links below - in Windows pressing AltGr results in funny keycodes;
https://docs.microsoft.com/en-us/windows/win32/inputdev/wm-syskeyup?redirectedfrom=MSDN
https://stackoverflow.com/questions/12252651/right-alt-sends-two-virtual-key-codes
@github-actions[bot] commented on GitHub (Sep 24, 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.
@mclang commented on GitHub (Sep 10, 2021):
I think it would be good to add this also:
https://github.com/debauchee/barrier/issues/134