Skip to content

Instantly share code, notes, and snippets.

@bupy7
Last active March 23, 2023 07:23
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 bupy7/1c8f881133f69ded4e39fe82d149cf41 to your computer and use it in GitHub Desktop.
Save bupy7/1c8f881133f69ded4e39fe82d149cf41 to your computer and use it in GitHub Desktop.
Remap keys of Apple Magic Keyboard 2 for Linux (EN/RU)
! Usage: xmodmap ~/.xmodmaprc_apple
! ===
! 4 $ 4 %
keycode 13 = 4 dollar 4 percent
! 5 % 5 :
keycode 14 = 5 percent 5 colon
! 6 ^ 6 ,
keycode 15 = 6 asciicircum 6 comma
! 7 & 7 .
keycode 16 = 7 ampersand 7 period
! 8 * 8 ;
keycode 17 = 8 asterisk 8 semicolon
! / ?
keycode 61 = slash question
! § ± > <
keycode 94 = section plusminus less greater
! \ | ё Ё
keycode 51 = backslash bar Cyrillic_io Cyrillic_IO
! ` ~ ] [
keycode 49 = grave asciitilde bracketleft bracketright
! DEL
keycode 160 = Delete
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment