diff --git a/README b/README index 6ecbca5..66fc042 100644 --- a/README +++ b/README @@ -1,3 +1,7 @@ + http://chtaube.de/xkbmap + http://github.com/chtaube/Keymap +--- + This is a modified keymap for X11 which I prefer to use on my systems. It's a US-based layout with some special characters available on the @@ -13,22 +17,22 @@ the char you want to get accented. Overview: 1) German umlauts, ß and Euro-sign: - RAlt + A, O, U ==> Ä, Ö, Ü - RAlt + s ==> ß - RAlt + e ==> € + RAlt + A, O, U ==> Ä, Ö, Ü + RAlt + s ==> ß + RAlt + e ==> € 2) Some technical stuff: - RAlt + m ==> µ - RAlt + 1, 2, 3 ==> ¹, ², ³ - RAlt + + RAlt + m ==> µ + RAlt + 1, 2, 3 ==> ¹, ², ³ + RAlt + 3) Dead keys for creating accented chars: - RAlt + , + ... ==> ¸, ç, ȩ, ţ, ḑ, ... - RAlt + . + ... ==> ˙, ȧ, ė, ṫ, ḋ, ... - RAlt + ` + ... ==> à, è, ì, ò, ù, ... - RAlt + ' + ... ==> á, é, í, ó, ú, ... - RAlt + ; + ... ==> ą, ę, į, ǫ, ų, ... - + RAlt + , + ... ==> ¸, ç, ȩ, ţ, ḑ, ... + RAlt + . + ... ==> ˙, ȧ, ė, ṫ, ḋ, ... + RAlt + ` + ... ==> à, è, ì, ò, ù, ... + RAlt + ' + ... ==> á, é, í, ó, ú, ... + RAlt + ; + ... ==> ą, ę, į, ǫ, ų, ... + To use this keymap, simply concatenate the file 'us.dev-de' to '/usr/share/X11/xkb/symbols/us' using the 'cat' command: diff --git a/layout.svg b/layout.svg new file mode 100644 index 0000000..19208c7 --- /dev/null +++ b/layout.svg @@ -0,0 +1,3918 @@ + + + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + unshifted symbol + shifted symbol + level + group + } + } + unmodified + with Alt-R + ^6 + symbol is dead key + + ¼^ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @2 + !1 + #3 + $4 + %5 + ^6 + &7 + *8 + )0 + (9 + _- + += + ~` + backspace + A + capslock + S + D + F + G + H + J + L + K + :; + "' + enter + Z + shift + X + C + V + B + N + M + >. + <, + ?/ + shift + W + Q + E + R + T + Y + U + I + P + O + {[ + }] + tab + |\ + space + ctrl + menu + mod4 + alt + alt + mod4 + ctrl + += + f2 + f1 + f3 + f4 + f5 + f6 + f7 + f8 + f10 + f9 + f11 + f12 + esc + + + + + 6 + + Shift + + = 6 + = ^ + AltR + Shift + + = ê + = ¼ + AltR + + , + + + 6 + + + + 6 + + + + 6 + + + + E + + protected space + + + + + + + + + + + + + + + + ×µ + ²² + ¡¹ + §³ + + ¼^ + ½̛ + ¾° + ° + ˘ + ̣¯ + ̛˝ + + + ˙ + Ää + Üü + Öö + Σß + Ææ + Œœ + ̉ + ¢ + ˛ + "' + Ω + Δ + π + « + » + + + ~` + + ˇ¸ + + + diff --git a/us.dev-de b/us.dev-de index 2e146e1..d0c7188 100644 --- a/us.dev-de +++ b/us.dev-de @@ -1,9 +1,9 @@ - // Layout file for those developers in Germany typing on US keyboards. // German Umlauts and the Eszett are available on +, +, // + and +. All deadkeys are on the AltGr layer, no // deadkeys for symbols used on the shell or in programming languages. // +// http://chtaube.de/xkbmap // http://github.com/chtaube/Keymap partial alphanumeric_keys @@ -11,36 +11,47 @@ xkb_symbols "dev-de" { name[Group1]= "USA - German developers"; include "us(basic)" include "ctrl(nocaps)" - - key { [ grave, asciitilde, dead_grave, dead_tilde ] }; - key { [ 1, exclam, onesuperior, exclamdown ] }; - key { [ 2, at, twosuperior, twosuperior ] }; - key { [ 3, numbersign, threesuperior, section ] }; - key { [ 5, percent, EuroSign ] }; - key { [ 6, asciicircum, dead_circumflex, onequarter ] }; - key { [ 7, ampersand, dead_horn, onehalf ] }; - key { [ 8, asterisk, degree, threequarters ] }; - key { [ 9, parenleft, leftsinglequotemark, dead_breve ] }; - key { [ 0, parenright, rightsinglequotemark, dead_abovering ] }; - key { [ minus, underscore, dead_macron, dead_belowdot ] }; - key { [ equal, plus, dead_doubleacute, dead_horn ] }; - - key { [ e, E, EuroSign, cent ] }; - key { [ u, U, udiaeresis, Udiaeresis ] }; - key { [ o, O, odiaeresis, Odiaeresis ] }; - - key { [ a, A, adiaeresis, Adiaeresis ] }; - key { [ s, S, ssharp, S ] }; - key { [ semicolon, colon, dead_ogonek, dead_diaeresis ] }; - key { [ apostrophe, quotedbl, dead_acute, dead_diaeresis ] }; - - key { [ z, Z, ae, AE ] }; - key { [ x, X, oe, OE ] }; - key { [ m, M, mu, mu ] }; - key { [ comma, less, dead_cedilla, dead_caron ] }; - key { [ period, greater, dead_abovedot, dead_circumflex ] }; - key { [ slash, question, dead_hook, U2E2E ] }; - + + // normal, Shift, AltGr, AltGr+Shift + // ---------------------------------------------------------------------- + key { [ grave, asciitilde, dead_grave, dead_tilde ] }; + key { [ 1, exclam, onesuperior, exclamdown ] }; + key { [ 2, at, twosuperior, twosuperior ] }; + key { [ 3, numbersign, threesuperior, section ] }; + key { [ 5, percent, EuroSign ] }; + key { [ 6, asciicircum, dead_circumflex, onequarter ] }; + key { [ 7, ampersand, dead_horn, onehalf ] }; + key { [ 8, asterisk, degree, threequarters ] }; + key { [ 9, parenleft, leftsinglequotemark, dead_breve ] }; + key { [ 0, parenright, rightsinglequotemark, dead_abovering ] }; + key { [ minus, underscore, dead_macron, dead_belowdot ] }; + key { [ equal, plus, dead_doubleacute, dead_horn ] }; + + key { [ e, E, EuroSign, cent ] }; + key { [ r, R, U2126, U03A9 ] }; + key { [ u, U, udiaeresis, Udiaeresis ] }; + key { [ o, O, odiaeresis, Odiaeresis ] }; + key { [ p, P, U03C0, U03C0 ] }; + key { [bracketleft, braceleft, guillemotleft, U2039 ] }; + key { [bracketright, braceright, guillemotright, U203A ] }; + + key { [ a, A, adiaeresis, Adiaeresis ] }; + key { [ s, S, ssharp, U03A3 ] }; + key { [ d, D, U0394, U0394 ] }; + key { [ f, F, f, ordfeminine ] }; + key { [ j, J, doublelowquotemark, singlelowquotemark ] }; + key { [ k, K, leftdoublequotemark, leftsinglequotemark ] }; + key { [ semicolon, colon, endash, dead_ogonek ] }; + key { [ apostrophe, quotedbl, dead_acute, dead_diaeresis ] }; + + key { [ z, Z, ae, AE ] }; + key { [ x, X, oe, OE ] }; + key { [ m, M, mu, U00D7 ] }; + key { [ comma, less, dead_cedilla, dead_caron ] }; + key { [ period, greater, ellipsis, dead_abovedot ] }; + key { [ slash, question, dead_hook, U2E2E ] }; + key { [ space, space, nobreakspace, nobreakspace ] }; + include "level3(ralt_switch)" };