//------------------------------------------------------------------------------ // XKB us improved //------------------------------------------------------------------------------ // // Description: This keyboard layout is based on Xorg's "us" and inspired by // "us(intl)". We switch Caps Lock and Left Control. // // User setup: run `xkbcomp $thisfile $DISPLAY`. // // System setup: copy this file to '/usr/{local/,}share/X11/xkb/symbols'. You // can use it by selecting the "usex" layout from Xorg configuration file, or by // using the following command: // $ setxkbmap usex // // ┌─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┲━━━━━━━━━┓ // │ ~ ~ │ ! ¡ │ @ ˝ │ # ¯ │ $ ¤ │ % ¢ │ ^ ^ │ & ¼ │ * ˛ │ ( ˘ │ ) ÷ │ _ × │ + ± ┃ ⌫ 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 Æ │ : ° │ " ¨ │ | ¦ ┃ ┃ // ┃Ctrl ┃ 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 ⇧ ┃ // ┣━━━━━━━╋━━━━━┷━┳━━━┷━━━┱─┴─────┴─────┴─────┴─────┴─────┴───┲━┷━━━━━╈━━━━━┻━┳━━━━━━━┳━━━┛ // ┃Caps ┃ ┃ ┃ ␣ Non-breaking space ⍽ ┃ ┃ ┃ ┃ // ┃Lock ⇬ ┃Meta ┃Alt ┃ ␣ Space ␣ ┃AltGr ⇮┃Menu ┃Ctrl ┃ // ┗━━━━━━━┻━━━━━━━┻━━━━━━━┹───────────────────────────────────┺━━━━━━━┻━━━━━━━┻━━━━━━━┛ xkb_keymap { xkb_keycodes { include "evdev+aliases(qwerty)" }; xkb_types { include "complete" }; xkb_compat { include "complete" }; partial alphanumeric_keys xkb_symbols "usim" { include "pc" 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, threequarters, dead_ogonek ] }; key { [ 9, parenleft, leftsinglequotemark, dead_breve ] }; key { [ 0, parenright, rightsinglequotemark, 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, leftdoublequotemark ] }; key { [ bracketright, braceright, guillemotright, rightdoublequotemark ] }; 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, mu, mu ] }; key { [ comma, less, ccedilla, Ccedilla ] }; key { [ period, greater, 0x1002026, 0x1002026 ] }; key { [ slash, question, paragraph, questiondown ] }; key { [ backslash, bar, notsign, brokenbar ] }; key { [ space, space, space, nobreakspace ] }; key { [ less, greater, lessthanequal, greaterthanequal ] }; key { [ Control_L ] }; key { [ Caps_Lock ] }; include "level3(ralt_switch)" include "inet(evdev)" }; };