Last active
March 30, 2023 08:51
-
-
Save fegue/ac0ddf247b64086b15fedb9f48a68d40 to your computer and use it in GitHub Desktop.
Set the correct Keyboard layout on client when using barrier
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
setxkbmap -device `xinput list | grep "Virtual core XTEST keyboard" | sed -e 's/.\+=\([0-9]\+\).\+/\1/'` -layout "de" -variant "nodeadkeys" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
save file, then