Skip to content

Instantly share code, notes, and snippets.

@seyuf
Last active October 19, 2019 19:14
Show Gist options
  • Save seyuf/57bfba92c0d1c77f59a3f8fee3ddea2e to your computer and use it in GitHub Desktop.
Save seyuf/57bfba92c0d1c77f59a3f8fee3ddea2e to your computer and use it in GitHub Desktop.
Convert xmodmap to xkbmap

1.Load the current xmodmap file

  • xmodmap ~/.Xmodmap
  1. Generate xkb mapping file
  • xkbcomp $DISPLAY $HOME/.xkbmap
  1. Load xkb mapping
  • xkbcomp /home/madalien/.xkbmap ":0"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment