Advertisement
kjetilcodes

.xmodmap

Feb 6th, 2019
208
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 14.28 KB | None | 0 0
  1. !
  2. ! This is an `xmodmap' input file for
  3. !   PC 105 key, wide Delete, tall Enter (XFree86; Norwegian) keyboards.
  4. ! Automatically generated on Tue Feb  5 21:02:39 2019 by kjetil with
  5. ! XKeyCaps 2.47; Copyright (c) 1991-1999 Jamie Zawinski; 2005-2006 Christoph Berg.
  6. ! http://www.jwz.org/xkeycaps/
  7. !
  8. ! This file makes the following changes:
  9. !
  10. ! The "Esc" key generates Escape, NoSymbol, and Escape
  11. ! The "F1" key generates F1, F1, F1, F1, F1, F1, and XF86Switch_VT_1
  12. ! The "F2" key generates F2, F2, F2, F2, F2, F2, and XF86Switch_VT_2
  13. ! The "F3" key generates F3, F3, F3, F3, F3, F3, and XF86Switch_VT_3
  14. ! The "F4" key generates F4, F4, F4, F4, F4, F4, and XF86Switch_VT_4
  15. ! The "F5" key generates F5, F5, F5, F5, F5, F5, and XF86Switch_VT_5
  16. ! The "F6" key generates F6, F6, F6, F6, F6, F6, and XF86Switch_VT_6
  17. ! The "F7" key generates F7, F7, F7, F7, F7, F7, and XF86Switch_VT_7
  18. ! The "F8" key generates F8, F8, F8, F8, F8, F8, and XF86Switch_VT_8
  19. ! The "F9" key generates F9, F9, F9, F9, F9, F9, and XF86Switch_VT_9
  20. ! The "F10" key generates F10, F10, F10, F10, F10, F10, and XF86Switch_VT_10
  21. ! The "F11" key generates F11, F11, F11, F11, F11, F11, and XF86Switch_VT_11
  22. ! The "F12" key generates F12, F12, F12, F12, F12, F12, and XF86Switch_VT_12
  23. ! The "PrtScr SysRq" key generates Up, NoSymbol, and Up
  24. ! The "Scroll Lock" key generates Scroll_Lock, NoSymbol, and Scroll_Lock, and has no modifiers
  25. ! The "Pause Break" key generates Home, NoSymbol, and Home
  26. ! The "§ | ¦" key generates bar, section, bar, section, brokenbar, paragraph, and brokenbar
  27. ! The "! 1" key generates 1, exclam, 1, exclam, exclamdown, onesuperior, and exclamdown
  28. ! The "" 2 @" key generates 2, quotedbl, 2, quotedbl, at, twosuperior, and at
  29. ! The "# 3 £" key generates 3, numbersign, 3, numbersign, sterling, threesuperior, and sterling
  30. ! The "¤ 4 $" key generates 4, currency, 4, currency, dollar, onequarter, and dollar
  31. ! The "% 5" key generates 5, percent, 5, percent, onehalf, U2030, and onehalf
  32. ! The "& 6" key generates 6, ampersand, 6, ampersand, yen, fiveeighths, and yen
  33. ! The "/ 7 {" key generates 7, slash, 7, slash, braceleft, division, and braceleft
  34. ! The "( 8 [" key generates 8, parenleft, 8, parenleft, bracketleft, guillemotleft, and bracketleft
  35. ! The ") 9 ]" key generates 9, parenright, 9, parenright, bracketright, guillemotright, and bracketright
  36. ! The "= 0 }" key generates 0, equal, 0, equal, braceright, degree, and braceright
  37. ! The "? +" key generates plus, question, plus, question, plusminus, questiondown, and plusminus
  38. ! The "` \ '" key generates backslash, dead_grave, backslash, dead_grave, dead_acute, notsign, and dead_acute
  39. ! The "Backspace" key generates BackSpace, BackSpace, BackSpace, and BackSpace
  40. ! The "Insert" key generates KP_Divide, U2215, KP_Divide, U2215, 0x10000F7, VoidSymbol, and XF86Ungrab
  41. ! The "Home" key generates NoSymbol
  42. ! The "Page up" key generates Hiragana, NoSymbol, and Hiragana
  43. ! The "Num Lock" key generates Num_Lock, NoSymbol, and Num_Lock
  44. ! The "/" key generates Prior, NoSymbol, and Prior
  45. ! The "*" key generates KP_Multiply, U22C5, KP_Multiply, U22C5, 0x10000D7, VoidSymbol, and XF86ClearGrab
  46. ! The "-" key generates KP_Subtract, U2212, KP_Subtract, U2212, U2212, VoidSymbol, and XF86Prev_VMode
  47. ! The "Tab" key generates Tab, ISO_Left_Tab, Tab, and ISO_Left_Tab
  48. ! The "Q" key generates q, Q, q, Q, at, Greek_OMEGA, and at
  49. ! The "W" key generates w, W, w, W, lstroke, Lstroke, and lstroke
  50. ! The "E" key generates e, E, e, E, EuroSign, cent, and EuroSign
  51. ! The "R" key generates r, R, r, R, registered, trademark, and registered
  52. ! The "T" key generates t, T, t, T, thorn, THORN, and thorn
  53. ! The "Y" key generates y, Y, y, Y, leftarrow, yen, and leftarrow
  54. ! The "U" key generates u, U, u, U, downarrow, uparrow, and downarrow
  55. ! The "I" key generates i, I, i, I, rightarrow, idotless, and rightarrow
  56. ! The "O" key generates o, O, o, O, oe, OE, and oe
  57. ! The "P" key generates p, P, p, P, Greek_pi, Greek_PI, and Greek_pi
  58. ! The "Å" key generates aring, Aring, aring, Aring, dead_diaeresis, dead_abovering, and dead_diaeresis
  59. ! The "^ ¨ ~" key generates dead_diaeresis, dead_circumflex, dead_diaeresis, dead_circumflex, dead_tilde, dead_caron, and dead_tilde
  60. ! The "Enter" key generates Return, NoSymbol, and Return
  61. ! The "Delete" key generates Print, Sys_Req, Print, and Sys_Req
  62. ! The "End" key generates NoSymbol
  63. ! The "Page Down" key generates Control_R, NoSymbol, and Control_R, and the Control modifier
  64. ! The "7 Home" key generates KP_Home, KP_7, KP_Home, and KP_7
  65. ! The "8 UpArrow" key generates KP_Up, KP_8, KP_Up, and KP_8
  66. ! The "9 Pg Up" key generates KP_Prior, KP_9, KP_Prior, and KP_9
  67. ! The "+" key generates KP_Add, 0x100002B, KP_Add, 0x100002B, 0x100002B, VoidSymbol, and XF86Next_VMode
  68. ! The "Caps Lock" key generates Caps_Lock, NoSymbol, and Caps_Lock
  69. ! The "A" key generates a, A, a, A, ordfeminine, masculine, and ordfeminine
  70. ! The "S" key generates s, S, s, S, ssharp, section, and ssharp
  71. ! The "D" key generates d, D, d, D, eth, ETH, and eth
  72. ! The "F" key generates f, F, f, F, dstroke, ordfeminine, and dstroke
  73. ! The "G" key generates g, G, g, G, eng, ENG, and eng
  74. ! The "H" key generates h, H, h, H, hstroke, Hstroke, and hstroke
  75. ! The "J" key generates j, J, j, J, dead_hook, dead_horn, and dead_hook
  76. ! The "K" key generates k, K, k, K, kra, ampersand, and kra
  77. ! The "L" key generates l, L, l, L, lstroke, Lstroke, and lstroke
  78. ! The "Ø" key generates oslash, Oslash, oslash, Oslash, dead_acute, dead_doubleacute, and dead_acute
  79. ! The "Æ" key generates ae, AE, ae, AE, dead_circumflex, dead_caron, and dead_circumflex
  80. ! The "* '" key generates apostrophe, asterisk, apostrophe, asterisk, dead_doubleacute, multiply, and dead_doubleacute
  81. ! The "4 LeftArrow" key generates KP_Left, KP_4, KP_Left, and KP_4
  82. ! The "5" key generates KP_Begin, KP_5, KP_Begin, and KP_5
  83. ! The "6 RightArrow" key generates KP_Right, KP_6, KP_Right, and KP_6
  84. ! The "Shift" key generates Shift_L, NoSymbol, and Shift_L
  85. ! The "> <" key generates less, greater, less, greater, onehalf, threequarters, and onehalf
  86. ! The "Z" key generates z, Z, z, Z, guillemotleft, less, and guillemotleft
  87. ! The "X" key generates x, X, x, X, guillemotright, greater, and guillemotright
  88. ! The "C" key generates c, C, c, C, copyright, copyright, and copyright
  89. ! The "V" key generates v, V, v, V, leftdoublequotemark, leftsinglequotemark, and leftdoublequotemark
  90. ! The "B" key generates b, B, b, B, rightdoublequotemark, rightsinglequotemark, and rightdoublequotemark
  91. ! The "N" key generates n, N, n, N, n, N, and n
  92. ! The "M" key generates m, M, m, M, mu, masculine, and mu
  93. ! The "; ," key generates comma, semicolon, comma, semicolon, dead_cedilla, dead_ogonek, and dead_cedilla
  94. ! The ": ." key generates period, colon, period, colon, ellipsis, periodcentered, and ellipsis
  95. ! The "_ -" key generates minus, underscore, minus, underscore, endash, emdash, and endash
  96. ! The "Shift" key generates Shift_R, NoSymbol, and Shift_R
  97. ! The "UpArrow" key generates Katakana, NoSymbol, and Katakana
  98. ! The "1 End" key generates KP_End, KP_1, KP_End, and KP_1
  99. ! The "2 DownArrow" key generates KP_Down, KP_2, KP_Down, and KP_2
  100. ! The "3 Pg Dn" key generates KP_Next, KP_3, KP_Next, and KP_3
  101. ! The "Enter" key generates ISO_Level3_Shift, NoSymbol, and ISO_Level3_Shift
  102. ! The "Ctrl" key generates Control_L, NoSymbol, and Control_L
  103. ! The "=/+/" key generates End, NoSymbol, and End, and has no modifiers
  104. ! The "Alt" key generates Alt_L, Meta_L, Alt_L, and Meta_L
  105. ! The "space" key generates space, space, space, space, nobreakspace, U202F, and nobreakspace
  106. ! The "Alt Gr" key generates Left, NoSymbol, and Left, and has no modifiers
  107. ! The "=/+/" key generates Down, NoSymbol, and Down
  108. ! The "##" key generates Next, NoSymbol, and Next
  109. ! The "Ctrl" key generates Linefeed, NoSymbol, and Linefeed, and has no modifiers
  110. ! The "LeftArrow" key generates Henkan_Mode, NoSymbol, and Henkan_Mode
  111. ! The "DownArrow" key generates KP_Enter, NoSymbol, and KP_Enter
  112. ! The "RightArrow" key generates Muhenkan, NoSymbol, and Muhenkan
  113. ! The "0 Ins" key generates KP_Insert, KP_0, KP_Insert, and KP_0
  114. ! The ", Del" key generates KP_Delete, KP_Separator, KP_Delete, and KP_Separator
  115.  
  116. keycode 0x09 =  Escape      NoSymbol    Escape
  117. keycode 0x43 =  F1      F1      F1      F1      F1      F1  XF86Switch_VT_1
  118. keycode 0x44 =  F2      F2      F2      F2      F2      F2  XF86Switch_VT_2
  119. keycode 0x45 =  F3      F3      F3      F3      F3      F3  XF86Switch_VT_3
  120. keycode 0x46 =  F4      F4      F4      F4      F4      F4  XF86Switch_VT_4
  121. keycode 0x47 =  F5      F5      F5      F5      F5      F5  XF86Switch_VT_5
  122. keycode 0x48 =  F6      F6      F6      F6      F6      F6  XF86Switch_VT_6
  123. keycode 0x49 =  F7      F7      F7      F7      F7      F7  XF86Switch_VT_7
  124. keycode 0x4A =  F8      F8      F8      F8      F8      F8  XF86Switch_VT_8
  125. keycode 0x4B =  F9      F9      F9      F9      F9      F9  XF86Switch_VT_9
  126. keycode 0x4C =  F10     F10     F10     F10     F10     F10 XF86Switch_VT_10
  127. keycode 0x5F =  F11     F11     F11     F11     F11     F11 XF86Switch_VT_11
  128. keycode 0x60 =  F12     F12     F12     F12     F12     F12 XF86Switch_VT_12
  129. keycode 0x6F =  Up      NoSymbol    Up
  130. keycode 0x4E =  Scroll_Lock NoSymbol    Scroll_Lock
  131. keycode 0x6E =  Home        NoSymbol    Home
  132. keycode 0x31 =  bar     section     bar     section     brokenbar   paragraphbrokenbar
  133. keycode 0x0A =  1       exclam      1       exclam      exclamdown  onesuperior exclamdown
  134. keycode 0x0B =  2       quotedbl    2       quotedbl    at      twosuperior at
  135. keycode 0x0C =  3       numbersign  3       numbersign  sterling    threesuperior   sterling
  136. keycode 0x0D =  4       currency    4       currency    dollar      onequarter  dollar
  137. keycode 0x0E =  5       percent     5       percent     onehalf     U2030   onehalf
  138. keycode 0x0F =  6       ampersand   6       ampersand   yen     fiveeighths yen
  139. keycode 0x10 =  7       slash       7       slash       braceleft   divisionbraceleft
  140. keycode 0x11 =  8       parenleft   8       parenleft   bracketleft guillemotleft   bracketleft
  141. keycode 0x12 =  9       parenright  9       parenright  bracketright    guillemotright  bracketright
  142. keycode 0x13 =  0       equal       0       equal       braceright  degree  braceright
  143. keycode 0x14 =  plus        question    plus        question    plusminus   questiondown    plusminus
  144. keycode 0x15 =  backslash   dead_grave  backslash   dead_grave  dead_acute  notsign dead_acute
  145. keycode 0x16 =  BackSpace   BackSpace   BackSpace   BackSpace
  146. keycode 0x6A =  KP_Divide   U2215       KP_Divide   U2215       0x10000F7   VoidSymbol  XF86Ungrab
  147. keycode 0x61 =  NoSymbol
  148. keycode 0x63 =  Hiragana    NoSymbol    Hiragana
  149. keycode 0x4D =  Num_Lock    NoSymbol    Num_Lock
  150. keycode 0x70 =  Prior       NoSymbol    Prior
  151. keycode 0x3F =  KP_Multiply U22C5       KP_Multiply U22C5       0x10000D7   VoidSymbol  XF86ClearGrab
  152. keycode 0x52 =  KP_Subtract U2212       KP_Subtract U2212       U2212       VoidSymbol  XF86Prev_VMode
  153. keycode 0x17 =  Tab     ISO_Left_Tab    Tab     ISO_Left_Tab
  154. keycode 0x18 =  q       Q       q       Q       at      Greek_OMEGA at
  155. keycode 0x19 =  w       W       w       W       lstroke     Lstroke lstroke
  156. keycode 0x1A =  e       E       e       E       EuroSign    cent    EuroSign
  157. keycode 0x1B =  r       R       r       R       registered  trademarkregistered
  158. keycode 0x1C =  t       T       t       T       thorn       THORN   thorn
  159. keycode 0x1D =  y       Y       y       Y       leftarrow   yen leftarrow
  160. keycode 0x1E =  u       U       u       U       downarrow   uparrow downarrow
  161. keycode 0x1F =  i       I       i       I       rightarrow  idotlessrightarrow
  162. keycode 0x20 =  o       O       o       O       oe      OE  oe
  163. keycode 0x21 =  p       P       p       P       Greek_pi    Greek_PIGreek_pi
  164. keycode 0x22 =  aring       Aring       aring       Aring       dead_diaeresis  dead_abovering  dead_diaeresis
  165. keycode 0x23 =  dead_diaeresis  dead_circumflex dead_diaeresis  dead_circumflex dead_tilde  dead_caron  dead_tilde
  166. keycode 0x24 =  Return      NoSymbol    Return
  167. keycode 0x6B =  Print       Sys_Req     Print       Sys_Req
  168. keycode 0x67 =  NoSymbol
  169. keycode 0x69 =  Control_R   NoSymbol    Control_R
  170. keycode 0x4F =  KP_Home     KP_7        KP_Home     KP_7
  171. keycode 0x50 =  KP_Up       KP_8        KP_Up       KP_8
  172. keycode 0x51 =  KP_Prior    KP_9        KP_Prior    KP_9
  173. keycode 0x56 =  KP_Add      0x100002B   KP_Add      0x100002B   0x100002B   VoidSymbol  XF86Next_VMode
  174. keycode 0x42 =  Caps_Lock   NoSymbol    Caps_Lock
  175. keycode 0x26 =  a       A       a       A       ordfeminine masculineordfeminine
  176. keycode 0x27 =  s       S       s       S       ssharp      section ssharp
  177. keycode 0x28 =  d       D       d       D       eth     ETH eth
  178. keycode 0x29 =  f       F       f       F       dstroke     ordfeminine dstroke
  179. keycode 0x2A =  g       G       g       G       eng     ENG eng
  180. keycode 0x2B =  h       H       h       H       hstroke     Hstroke hstroke
  181. keycode 0x2C =  j       J       j       J       dead_hook   dead_horndead_hook
  182. keycode 0x2D =  k       K       k       K       kra     ampersandkra
  183. keycode 0x2E =  l       L       l       L       lstroke     Lstroke lstroke
  184. keycode 0x2F =  oslash      Oslash      oslash      Oslash      dead_acute  dead_doubleacute    dead_acute
  185. keycode 0x30 =  ae      AE      ae      AE      dead_circumflex dead_caron  dead_circumflex
  186. keycode 0x33 =  apostrophe  asterisk    apostrophe  asterisk    dead_doubleacute    multiply    dead_doubleacute
  187. keycode 0x53 =  KP_Left     KP_4        KP_Left     KP_4
  188. keycode 0x54 =  KP_Begin    KP_5        KP_Begin    KP_5
  189. keycode 0x55 =  KP_Right    KP_6        KP_Right    KP_6
  190. keycode 0x32 =  Shift_L     NoSymbol    Shift_L
  191. keycode 0x5E =  less        greater     less        greater     onehalf     threequarters   onehalf
  192. keycode 0x34 =  z       Z       z       Z       guillemotleft   less    guillemotleft
  193. keycode 0x35 =  x       X       x       X       guillemotright  greater guillemotright
  194. keycode 0x36 =  c       C       c       C       copyright   copyrightcopyright
  195. keycode 0x37 =  v       V       v       V       leftdoublequotemark leftsinglequotemark leftdoublequotemark
  196. keycode 0x38 =  b       B       b       B       rightdoublequotemark    rightsinglequotemark    rightdoublequotemark
  197. keycode 0x39 =  n       N       n       N       n       N   n
  198. keycode 0x3A =  m       M       m       M       mu      masculinemu
  199. keycode 0x3B =  comma       semicolon   comma       semicolon   dead_cedilla    dead_ogonek dead_cedilla
  200. keycode 0x3C =  period      colon       period      colon       ellipsis    periodcentered  ellipsis
  201. keycode 0x3D =  minus       underscore  minus       underscore  endash      emdash  endash
  202. keycode 0x3E =  Shift_R     NoSymbol    Shift_R
  203. keycode 0x62 =  Katakana    NoSymbol    Katakana
  204. keycode 0x57 =  KP_End      KP_1        KP_End      KP_1
  205. keycode 0x58 =  KP_Down     KP_2        KP_Down     KP_2
  206. keycode 0x59 =  KP_Next     KP_3        KP_Next     KP_3
  207. keycode 0x6C =  ISO_Level3_Shift    NoSymbol    ISO_Level3_Shift
  208. keycode 0x25 =  Control_L   NoSymbol    Control_L
  209. keycode 0x73 =  End     NoSymbol    End
  210. keycode 0x40 =  Meta_L      Alt_L       Meta_L Alt_L       
  211. keycode 0x41 =  space       space       space       space       nobreakspace    U202F   nobreakspace
  212. keycode 0x71 =  Left        NoSymbol    Left
  213. keycode 0x74 =  Down        NoSymbol    Down
  214. keycode 0x75 =  Next        NoSymbol    Next
  215. keycode 0x6D =  Linefeed    NoSymbol    Linefeed
  216. keycode 0x64 =  Henkan_Mode NoSymbol    Henkan_Mode
  217. keycode 0x68 =  KP_Enter    NoSymbol    KP_Enter
  218. keycode 0x66 =  Muhenkan    NoSymbol    Muhenkan
  219. keycode 0x5A =  KP_Insert   KP_0        KP_Insert   KP_0
  220. keycode 0x5B =  KP_Delete   KP_Separator    KP_Delete   KP_Separator
  221.  
  222. clear Shift
  223. clear Lock
  224. clear Control
  225. clear Mod1
  226. clear Mod2
  227. clear Mod3
  228. clear Mod4
  229. clear Mod5
  230.  
  231. add    Shift   = Shift_L Shift_R
  232. add    Lock    = Caps_Lock
  233. add    Control = Control_L Control_R
  234. !add    Mod1    = Alt_L 0x00CD
  235. add    Mod1    =  Meta_L Alt_L
  236. add    Mod2    = Num_Lock
  237. add    Mod4    = Super_L Super_R 0x00CE 0x00CF
  238. add    Mod5    = ISO_Level3_Shift Mode_switch
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement