Skip to content

Instantly share code, notes, and snippets.

@AlexDaniel
Last active July 12, 2018 08:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save AlexDaniel/3b59e107a41a57e9c92dc7d553b32ad3 to your computer and use it in GitHub Desktop.
Save AlexDaniel/3b59e107a41a57e9c92dc7d553b32ad3 to your computer and use it in GitHub Desktop.
default alphanumeric_keys modifier_keys function_keys alternate_group
xkb_symbols "awesome" {
include "us"
name[Group1]= "My Awesome Layout";
key <AE07> { [ checkmark, ballotcross ] };
};

Put file awesome somewhere, then run this:

setxkbmap 'awesome' -print | xkbcomp -I"$HOME/PATH-TO-DIRECTORY-HOLDING-YOUR-AWESOME-LAYOUT" - "$DISPLAY"

Change PATH-TO-DIRECTORY-HOLDING-YOUR-AWESOME-LAYOUT to the appropriate path. Once executed you will be using this new layout, press 7 key on your keyboard to check the result.

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