-
-
Save simonmulser/40142093abf1d4728ebd44fdb2d758c0 to your computer and use it in GitHub Desktop.
partial file /usr/share/X11/xkb/symbols/us - settings to enable german umlaute with altgr
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
partial alphanumeric_keys | |
xkb_symbols "intl" { | |
include "us(basic)" | |
name[Group1]= "English (US, international with dead keys)"; | |
key <TLDE> { [dead_grave, dead_tilde, grave, asciitilde ] }; | |
key <AE01> { [ 1, exclam, exclamdown, onesuperior ] }; | |
key <AE02> { [ 2, at, twosuperior, dead_doubleacute ] }; | |
key <AE03> { [ 3, numbersign, threesuperior, dead_macron ] }; | |
key <AE04> { [ 4, dollar, currency, sterling ] }; | |
key <AE05> { [ 5, percent, EuroSign, dead_cedilla ] }; | |
key <AE06> { [ 6, dead_circumflex, onequarter, asciicircum ] }; | |
key <AE07> { [ 7, ampersand, onehalf, dead_horn ] }; | |
key <AE08> { [ 8, asterisk, threequarters, dead_ogonek ] }; | |
key <AE09> { [ 9, parenleft, leftsinglequotemark, dead_breve ] }; | |
key <AE10> { [ 0, parenright, rightsinglequotemark, dead_abovering ] }; | |
key <AE11> { [ minus, underscore, yen, dead_belowdot ] }; | |
key <AE12> { [ equal, plus, multiply, division ] }; | |
key <AD01> { [ q, Q, apostrophe, quotedbl ] }; | |
key <AD02> { [ w, W, aring, Aring ] }; | |
key <AD03> { [ e, E, eacute, Eacute ] }; | |
key <AD04> { [ r, R, registered, registered ] }; | |
key <AD05> { [ t, T, thorn, THORN ] }; | |
key <AD06> { [ y, Y, guillemotleft, leftdoublequotemark ] }; | |
key <AD07> { [ u, U, uacute, Uacute ] }; | |
key <AD08> { [ i, I, iacute, Iacute ] }; | |
key <AD09> { [ o, O, oacute, Oacute ] }; | |
key <AD10> { [ p, P, paragraph, degree ] }; | |
key <AD11> { [ bracketleft, braceleft, udiaeresis, Udiaeresis ] }; | |
key <AD12> { [bracketright, braceright, guillemotright, rightdoublequotemark ] }; | |
key <AC01> { [ a, A, aacute, Aacute ] }; | |
key <AC02> { [ s, S, ssharp, section ] }; | |
key <AC03> { [ d, D, eth, ETH ] }; | |
key <AC04> { [ f, F, f, F ] }; | |
key <AC05> { [ g, G, g, G ] }; | |
key <AC06> { [ h, H, h, H ] }; | |
key <AC07> { [ j, J, j, J ] }; | |
key <AC08> { [ k, K, oe, OE ] }; | |
key <AC09> { [ l, L, oslash, Ooblique ] }; | |
key <AC10> { [ semicolon, colon, odiaeresis, Odiaeresis ] }; | |
key <AC11> { [dead_acute, dead_diaeresis, apostrophe, quotedbl ] }; | |
key <AB01> { [ z, Z, ae, AE ] }; | |
key <AB02> { [ x, X, x, X ] }; | |
key <AB03> { [ c, C, copyright, cent ] }; | |
key <AB04> { [ v, V, v, V ] }; | |
key <AB05> { [ b, B, b, B ] }; | |
key <AB06> { [ n, N, ntilde, Ntilde ] }; | |
key <AB07> { [ m, M, mu, mu ] }; | |
key <AB08> { [ comma, less, ccedilla, Ccedilla ] }; | |
key <AB09> { [ period, greater, dead_abovedot, dead_caron ] }; | |
key <AB10> { [ slash, question, questiondown, dead_hook ] }; | |
key <BKSL> { [ backslash, bar, notsign, brokenbar ] }; | |
key <LSGT> { [ backslash, bar, backslash, bar ] }; | |
include "level3(ralt_switch)" | |
}; | |
partial alphanumeric_keys | |
xkb_symbols "altgr-intl" { | |
include "us(intl)" | |
name[Group1]= "English (international AltGr dead keys)"; | |
// five dead keys moved into level3: | |
key <TLDE> { [ grave, asciitilde, dead_grave, dead_tilde ] }; | |
key <AC11> { [apostrophe,quotedbl, adiaeresis, Adiaeresis ] }; | |
// diversions from the MS Intl keyboard: | |
key <AE01> { [ 1, exclam, onesuperior, exclamdown ] }; | |
key <AD04> { [ r, R, ediaeresis, Ediaeresis ] }; | |
key <AC07> { [ j, J, idiaeresis, Idiaeresis ] }; | |
key <AB02> { [ x, X, oe, OE ] }; | |
key <AB04> { [ v, V, registered, registered ] }; | |
// onequarter etc (not in iso8859-15) moved to get three unshifted deadkeys: | |
key <AE06> { [ 6, asciicircum, dead_circumflex, onequarter ] }; | |
key <AE07> { [ 7, ampersand, dead_horn, onehalf ] }; | |
key <AE08> { [ 8, asterisk, dead_ogonek, threequarters ] }; | |
include "level3(ralt_switch)" | |
}; | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment