Search This Blog

2020-09-29

programming us keyboard layout with pt characters

!! ~/.xmodmaprc

  !! make AltGr to switch mode

keycode 108 = Mode_switch

  !! Programming keys

keycode 34 = bracketleft braceleft parenleft less
keycode 35 = bracketright braceright parenright greater

keycode 18 = 9 parenleft less
keycode 19 = 0 parenright greater degree

  !! Acentuação e sinais auxiliares

  ! A Á À Â Ã   Á Â
  ! E É - Ê -   É Ê
  ! I Í - - -   Í À  *
  ! O Ó - Ô Õ   Ó Ô 
  ! U Ú - - -   Ú Õ  *

  ! C - - - -   Ç Ã  *

  ! note: use caps lock to select case.

keycode 38 = a A aacute acircumflex
keycode 26 = e E eacute ecircumflex 
keycode 31 = i I iacute agrave
keycode 32 = o O oacute ocircumflex
keycode 30 = u U uacute otilde

keycode 54 = c C ccedilla atilde

  !! primeir@ :: º and ª

keycode 48 = quoteright quotedbl masculine ordfeminine

  !! « » at < >

keycode 59 = comma less guillemotleft
keycode 60 = period greater guillemotright

  !! r R ® ©

keycode 27 = r R registered copyright

  !! Superiors

  ! 1 ! ¹
  ! 2 @ ²
  ! 3 # ³

keycode 10 = 1 exclam onesuperior
keycode 11 = 2 at twosuperior
keycode 12 = 3 numbersign threesuperior

  !! Currency :: 4 $ € £

keycode 13 = 4 dollar EuroSign sterling

  !! αβit

keycode 90 = KP_Insert KP_0 Greek_alpha
keycode 91 = KP_Delete KP_Decimal Greek_beta