Skip to content

Instantly share code, notes, and snippets.

@fegue
Last active March 30, 2023 08:51
Show Gist options
  • Save fegue/ac0ddf247b64086b15fedb9f48a68d40 to your computer and use it in GitHub Desktop.
Save fegue/ac0ddf247b64086b15fedb9f48a68d40 to your computer and use it in GitHub Desktop.
Set the correct Keyboard layout on client when using barrier
#!/bin/sh
setxkbmap -device `xinput list | grep "Virtual core XTEST keyboard" | sed -e 's/.\+=\([0-9]\+\).\+/\1/'` -layout "de" -variant "nodeadkeys"
@fegue
Copy link
Author

fegue commented Mar 30, 2023

save file, then

chmod +x set_barrier_keyboard.sh
./set_barrier_keyboard.sh

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment