//------------------------------------------------------------------------------ // XKB us improved //------------------------------------------------------------------------------ // // Description: This keyboard layout is based on Xorg's "us" and inspired by // "us(intl)". We switch Caps Lock and Escape. // // User setup: run // // $ xkbcomp -I/path/ $thisfile $DISPLAY` // // /path/ must contain a subfolder "symbols" with the "usim" file inside. // // System setup: copy the "usim" file to "/usr/{local/,}share/X11/xkb/symbols". You // can use it by selecting the "usim" layout from Xorg configuration file, or by // issuing the following command: // // $ setxkbmap usim // // ┏━━━━━━━┓ // ┃Caps ┃ // ┃Lock ⇬ ┃ // ┡━━━━━┯━┹───┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┲━━━━━━━━━┓ // │ ~ ~ │ ! ¡ │ @ ˝ │ # ¯ │ $ ¤ │ % ¢ │ ^ ^ │ & ¼ │ * ¾ │ ( ˘ │ ) ÷ │ _ × │ + ± ┃ ⌫ Back ┃ // │ ` ` │ 1 ¹ │ 2 ² │ 3 ³ │ 4 £ │ 5 € │ 6 ¥ │ 7 ½ │ 8 „ │ 9 “ │ 0 ” │ - ⋅ │ = ≠ ┃ space ┃ // ┢━━━━━┷━┱───┴─┬───┴─┬───┴─┬───┴─┬───┴─┬───┴─┬───┴─┬───┴─┬───┴─┬───┴─┬───┴─┬───┺━┳━━━━━━━┫ // ┃ ┃ Q À │ W È │ E É │ R ® │ T ™ │ Y Ù │ U Ú │ I Í │ O Ó │ P Å │ { ‘ │ } ’ ┃ Enter ┃ // ┃Tab ↹ ┃ q à │ w è │ e é │ r ® │ t © │ y ù │ u ú │ i í │ o ó │ p å │ [ « │ ] » ┃ ⏎ ┃ // ┣━━━━━━━┻┱────┴┬────┴┬────┴┬────┴┬────┴┬────┴┬────┴┬────┴┬────┴┬────┴┬────┴┬────┺┓ ┃ // ┃ ┃ A Á │ S § │ D  │ F Ê │ G Î │ H Ô │ J Û │ K Œ │ L Æ │ : ° │ " ¨ │ | ¦ ┃ ┃ // ┃Esc ┃ a á │ s ß │ d â │ f ê │ g î │ h ô │ j û │ k œ │ l æ │ ; ° │ ' ´ │ \ ¬ ┃ ┃ // ┣━━━━━━━┳┹────┬┴────┬┴────┬┴────┬┴────┬┴────┬┴────┬┴────┬┴────┬┴────┬┴────┲┷━━━━━┻━━━━━━┫ // ┃ ┃ > ≥ │ Z Ä │ X Ë │ C Ï │ V Ö │ B Ü │ N Ñ │ M Ø │ < Ç │ > µ │ ? ¿ ┃ ┃ // ┃Shift ⇧┃ < ≤ │ z ä │ x ë │ c ï │ v ö │ b ü │ n ñ │ m ø │ , ç │ . … │ / ¶ ┃Shift ⇧ ┃ // ┣━━━━━━━╋━━━━━┷━┳━━━┷━━━┱─┴─────┴─────┴─────┴─────┴─────┴───┲━┷━━━━━╈━━━━━┻━┳━━━━━━━┳━━━┛ // ┃ ┃ ┃ ┃ ␣ Non-breaking space ⍽ ┃ ┃ ┃ ┃ // ┃Ctrl ┃Meta ┃Alt ┃ ␣ Space ⍽ ┃AltGr ⇮┃Menu ┃Ctrl ┃ // ┗━━━━━━━┻━━━━━━━┻━━━━━━━┹───────────────────────────────────┺━━━━━━━┻━━━━━━━┻━━━━━━━┛ partial alphanumeric_keys xkb_symbols "usim" { name[Group1]= "English international with dead keys extended"; // Alphanumeric section key { [ grave, asciitilde, dead_grave, dead_tilde ] }; key { [ 1, exclam, onesuperior, exclamdown ] }; key { [ 2, at, twosuperior, dead_doubleacute ] }; key { [ 3, numbersign, threesuperior, dead_macron ] }; key { [ 4, dollar, sterling, currency ] }; key { [ 5, percent, EuroSign, cent ] }; key { [ 6, asciicircum, yen, dead_circumflex ] }; key { [ 7, ampersand, onehalf, onequarter ] }; key { [ 8, asterisk, doublelowquotemark, threequarters ] }; key { [ 9, parenleft, leftdoublequotemark, dead_breve ] }; key { [ 0, parenright, rightdoublequotemark, division ] }; key { [ minus, underscore, 0x10022C5, multiply ] }; key { [ equal, plus, notequal, plusminus ] }; key { [ q, Q, agrave, Agrave ] }; key { [ w, W, egrave, Egrave ] }; key { [ e, E, eacute, Eacute ] }; key { [ r, R, registered, registered ] }; key { [ t, T, copyright, trademark ] }; key { [ y, Y, ugrave, Ugrave ] }; key { [ u, U, uacute, Uacute ] }; key { [ i, I, iacute, Iacute ] }; key { [ o, O, oacute, Oacute ] }; key { [ p, P, aring, Aring ] }; key { [ bracketleft, braceleft, guillemotleft, leftsinglequotemark ] }; key { [ bracketright, braceright, guillemotright, rightsinglequotemark ] }; key { [ a, A, aacute, Aacute ] }; key { [ s, S, ssharp, section ] }; key { [ d, D, acircumflex, Acircumflex ] }; key { [ f, F, ecircumflex, Ecircumflex ] }; key { [ g, G, icircumflex, Icircumflex ] }; key { [ h, H, ocircumflex, Ocircumflex ] }; key { [ j, J, ucircumflex, Ucircumflex ] }; key { [ k, K, oe, OE ] }; key { [ l, L, ae, AE ] }; key { [ semicolon, colon, degree, dead_abovering ] }; key { [ apostrophe, quotedbl, dead_acute, dead_diaeresis ] }; key { [ z, Z, adiaeresis, Adiaeresis ] }; key { [ x, X, ediaeresis, Ediaeresis ] }; key { [ c, C, idiaeresis, Idiaeresis ] }; key { [ v, V, odiaeresis, Odiaeresis ] }; key { [ b, B, udiaeresis, Udiaeresis ] }; key { [ n, N, ntilde, Ntilde ] }; key { [ m, M, oslash, Ooblique ] }; key { [ comma, less, ccedilla, Ccedilla ] }; key { [ period, greater, 0x1002026, mu ] }; key { [ slash, question, paragraph, questiondown ] }; key { [ backslash, bar, notsign, brokenbar ] }; key { [ space, space, nobreakspace, nobreakspace ] }; key { [ less, greater, lessthanequal, greaterthanequal ] }; key { [ Escape ] }; key { [ Caps_Lock ] }; include "level3(ralt_switch)" };