// based on a keyboard map from an 'xkb/symbols/de' file // // $XKeyboardConfig$ // $XFree86: xc/programs/xkbcomp/symbols/de,v 1.6 2003/09/08 13:12:51 pascal Exp $ default xkb_symbols "basic" { include "latin(type4)" name[Group1]="Germany"; key { [ 2, quotedbl, twosuperior, oneeighth ] }; key { [ 3, section, threesuperior, sterling ] }; key { [ 4, dollar, onequarter, currency ] }; key {type[Group1]="FOUR_LEVEL_PLUS_LOCK", symbols[Group1]= [ssharp, question, backslash, questiondown, 0x1001E9E ]}; // The unicode capital letter sharp s U+1E9E is transformed to "SS" // to match the rules for capitalizing sharp s in german. // If the capital sharp s is needed, delete the line // starting with from /usr/share/X11/locale/iso8859-15/Compose. // If both doubled S and capital sharp s are needed, use 0x1001E9E // for capital sharp s and some free unicode codepoint like 0x1001E9C // for doubled S. Don`t forget to change this in the Compose file, too. key { [dead_acute, dead_grave, dead_cedilla, dead_ogonek ] }; key { [ e, E, EuroSign, EuroSign ] }; key { [ z, Z, leftarrow, yen ] }; key { [udiaeresis, Udiaeresis, dead_diaeresis, dead_abovering ] }; key { [ plus, asterisk, dead_tilde, dead_macron ] }; key { [ s, S, U017F, U1E9E ] }; key { [ j, J, dead_belowdot, dead_abovedot ] }; key { [odiaeresis, Odiaeresis, dead_doubleacute, dead_belowdot ] }; key { [adiaeresis, Adiaeresis, dead_circumflex, dead_caron ] }; key { [dead_circumflex, degree, U2032, U2033 ] }; key { [numbersign, apostrophe, rightsinglequotemark, dead_breve ] }; key { [ y, Y, guillemotright, U203A ] }; key { [ x, X, guillemotleft, U2039 ] }; key { [ v, V, doublelowquotemark, singlelowquotemark ] }; key { [ b, B, leftdoublequotemark, leftsinglequotemark ] }; key { [ n, N, rightdoublequotemark, rightsinglequotemark ] }; key { [ comma, semicolon, periodcentered, multiply ] }; key { [ period, colon, U2026, division ] }; key { [ minus, underscore, endash, emdash ] }; include "kpdl(comma)" include "level3(ralt_switch)" }; partial alphanumeric_keys xkb_symbols "nodeadkeys" { // modify the basic German layout to not have any dead keys include "de(basic)" name[Group1]="Germany - Eliminate dead keys"; key { [asciicircum, degree, notsign, notsign ] }; key { [ acute, grave, cedilla, cedilla ] }; key { [udiaeresis, Udiaeresis, diaeresis, diaeresis ] }; key { [ plus, asterisk, asciitilde, macron ] }; key { [odiaeresis, Odiaeresis, doubleacute, doubleacute ] }; key { [adiaeresis, Adiaeresis, asciicircum, asciicircum ] }; key { [numbersign, apostrophe, grave, grave ] }; key { [ minus, underscore, dead_belowdot, abovedot ] }; }; partial alphanumeric_keys xkb_symbols "deadgraveacute" { // modify the basic German layout to have only acute and grave // as dead keys (tilde and circumflex are needed as spacing characters // in many programming languages) include "de(basic)" name[Group1]="Germany - Dead grave acute"; key { [asciicircum, degree, notsign, notsign ] }; key { [ plus, asterisk, asciitilde, dead_macron ] }; key { [numbersign, apostrophe, grave, grave ] }; }; partial alphanumeric_keys xkb_symbols "deadacute" { // modify the basic German layout to have only acute as // dead keys (ASCII grave, tilde and circumflex are needed as // spacing characters in many programming languages and text formatters) include "de(deadgraveacute)" name[Group1]="Germany - Dead acute"; key { [dead_acute, grave, dead_cedilla, dead_ogonek ] }; key { [numbersign, apostrophe, dead_grave, dead_grave ] }; }; partial alphanumeric_keys xkb_symbols "ro" { // add romanian-specific letters to the basic German layout. // Romanian symbols are accessible with combination of and // 'a', 's', 't', 'i', 'ä (ä)' (+ for capital letters). // To view romanian-specific symbols, add "export LC_CTYPE=ro_RO" // or "export LC_CTYPE=de_DE.utf8" to your .profile. include "de(basic)" name[Group1]="Germany - Romanian keyboard with German letters"; key { [ t, T, tcedilla, Tcedilla ] }; key { [ i, I, icircumflex, Icircumflex ] }; key { [ a, A, acircumflex, Acircumflex ] }; key { [ s, S, scedilla, Scedilla ] }; key { [ adiaeresis, Adiaeresis, abreve, Abreve ] }; }; partial alphanumeric_keys xkb_symbols "ro_nodeadkeys" { // add romanian-specific letters to the German nodeadkeys layout. // Read the comment for de_ro ! include "de(nodeadkeys)" name[Group1]="Germany - Romanian keyboard with German letters, eliminate dead keys"; key { [ t, T, tcedilla, Tcedilla ] }; key { [ i, I, icircumflex, Icircumflex ] }; key { [ a, A, acircumflex, Acircumflex ] }; key { [ s, S, scedilla, Scedilla ] }; key { [ adiaeresis, Adiaeresis, abreve, Abreve ] }; }; // German Dvorak keymap by Thorsten Staerk (www.staerk.de/thorsten) // Have acute and grave as dead keys, tilde and circumflex alive as they are needed // in many programming languages. // to use this keymap, use a 105-key-keyboard and the command setxkbmap -model pc105 -layout dvorak -variant de // source: http://www-lehre.informatik.uni-osnabrueck.de/~rfreund/dvorak.php partial alphanumeric_keys xkb_symbols "dvorak" { include "us(dvorak)" name[Group1]="Germany - Dvorak"; key { [ asciicircum, degree ] }; key { [ 1, exclam, onesuperior ] }; key { [ 2, quotedbl, twosuperior ] }; key { [ 3, section, threesuperior ] }; key { [ 4, dollar, bar ] }; key { [ 5, percent, bar ] }; key { [ 6, ampersand, brokenbar ] }; key { [ 7, slash, braceleft ] }; key { [ 8, parenleft, bracketleft ] }; key { [ 9, parenright, bracketright ] }; key { [ 0, equal, braceright ] }; key { [ plus, asterisk, asciitilde ] }; key { [ less, greater, dead_grave ] }; key { [ udiaeresis, Udiaeresis, at ] }; key { [ comma, semicolon, dead_diaeresis ] }; key { [ period, colon ] }; key { [ c, C, copyright, Cacute ] }; key { [ t, T, trademark ] }; key { [ z, Z, zabovedot, Zabovedot ] }; key { [ question, ssharp ] }; key { [ slash, backslash, dead_acute ] }; key { [ a, A, at, aogonek ] }; key { [ o, O, oacute, Oacute ] }; key { [ e, E, EuroSign, eogonek ] }; key { [ i, I ] }; key { [ u, U ] }; key { [ h, H ] }; key { [ d, D ] }; key { [ r, R, registered ] }; key { [ n, N, nacute, Nacute ] }; key { [ s, S, sacute, Sacute] }; key { [ l, L, lstroke, Lstroke ] }; key { [ odiaeresis, Odiaeresis ] }; key { [ q, Q, at ] }; key { [ m, M, mu ] }; key { [ numbersign, apostrophe ] }; key { [ minus, underscore, hyphen, diaeresis] }; key { [ adiaeresis, Adiaeresis, bar ] }; include "level3(ralt_switch)" }; partial alphanumeric_keys xkb_symbols "Sundeadkeys" { // For naming consistency include "de(basic)" }; partial alphanumeric_keys xkb_symbols "sundeadkeys" { // For naming consistency include "de(Sundeadkeys)" name[Group1]="Germany - Sun dead keys"; }; // German NEO-Layout Version 2.0rc1 (rev: 1331) // adopted 2004 by Hanno Behrens // inspired by Dvorak/de-ergo http://www.goebel-consult.de/de-ergo/ // // Authors: // // Benjamin Kellermann // Erik Streb // and many other contributers // // http://www.neo-layout.org partial alphanumeric_keys modifier_keys keypad_keys xkb_symbols "neo" { name[Group1]= "Germany - Neo 2"; // Levels in Neo jargon // -------------------------------------------------------------- // Ebene 1: normal // Ebene 2: Shift // Ebene 3: Mod3 // Ebene 4: Mod4 (for marking something use Shift+Mod4) // Ebene 5: Shift+Mod3 // Ebene 6: Mod3+Mod4 (in this order) // Compose (not a level): Mod3+Tab // Feststelltaste (Capslock): Mod3+Mod3 // // Levels in Xkbmap jargon to be found here in the definitions. // These are the levels used, and Xorg's translations with type="EIGHT_LEVEL": // -------------------------------------------------------------- // Modifier: None Shift Mod3 Shift+Mod3 Mod4 Shift+Mod4 Mod3+Mod4 // Xorg calls it: Level1 Level2 Level3 Level4 Level5 Level6 Level7 // Neo calls it: Ebene1 Ebene2 Ebene3 Ebene5 Ebene4 Ebene4+Shift Ebene6 // Modifier definitions // -------------------------------------------------------------- // Definition of the so called Neo-Mod3 key.type[Group1]="THREE_LEVEL"; key { [ ISO_Level3_Shift, ISO_Level3_Shift, Caps_Lock ] }; key { [ ISO_Level3_Shift, ISO_Level3_Shift, Caps_Lock ] }; // Definition of the so called Neo-Mod4 key.type[Group1]="ONE_LEVEL"; key { [ ISO_Level5_Shift ]}; key { [ ISO_Level5_Shift ]}; modifier_map Mod3 { , }; // Attention: ^^^ This is a X server variable, not the Neo-Mod3. key.type[Group1]="EIGHT_LEVEL_ALPHABETIC" ; // Tab as Multi_key (Compose) // -------------------------------------------------------------- key { [ Tab, ISO_Left_Tab, Multi_key ] }; // number row // -------------------------------------------------------------- key { [ dead_circumflex, dead_tilde, dead_abovering, dead_breve, dead_caron, NoSymbol, dead_macron ] }; key { [ 1, degree, onesuperior, onesubscript, ordfeminine, NoSymbol, notsign ] }; key { [ 2, section, twosuperior, twosubscript, masculine, NoSymbol, logicalor ] }; key { [ 3, U2113, threesuperior, threesubscript, numerosign, NoSymbol, logicaland ] }; key { [ 4, guillemotright, U203A, dagger, Prior, Prior, U22A5 ] }; key { [ 5, guillemotleft, U2039, femalesymbol, periodcentered, NoSymbol, U2221 ] }; key { [ 6, EuroSign, cent, malesymbol, sterling, NoSymbol, U2225 ] }; key { [ 7, dollar, yen, Greek_kappa, currency, NoSymbol, rightarrow ] }; key { [ 8, doublelowquotemark, singlelowquotemark, leftanglebracket, NoSymbol, NoSymbol, U221E ] }; key { [ 9, leftdoublequotemark, leftsinglequotemark, rightanglebracket, slash, NoSymbol, U220B ] }; key { [ 0, rightdoublequotemark, rightsinglequotemark, zerosubscript, asterisk, NoSymbol, emptyset ] }; key { [ minus, emdash, NoSymbol, U2011, minus, NoSymbol, hyphen ] }; key { [ dead_grave, NoSymbol, dead_diaeresis, dead_dasia, U030F, NoSymbol, NoSymbol ] }; key { [ BackSpace, BackSpace, BackSpace, BackSpace, BackSpace, BackSpace, BackSpace ] }; // top row // -------------------------------------------------------------- // xvlcwkhgfqß key { [ x, X, ellipsis, Greek_xi, U22EE, NoSymbol, Greek_XI ] }; key { [ v, V, underscore, NoSymbol, BackSpace, BackSpace, U2259 ] }; key { [ l, L, bracketleft, Greek_lambda, Up, Up, Greek_LAMBDA ] }; key { [ c, C, bracketright, Greek_chi, Delete, Delete, U2102 ] }; key { [ w, W, asciicircum, Greek_omega, Insert, Insert, Greek_OMEGA ] }; key { [ k, K, exclam, U03F0, exclamdown, NoSymbol, radical ] }; key { [ h, H, less, Greek_psi, 7, NoSymbol, Greek_PSI ] }; key { [ g, G, greater, Greek_gamma, 8, NoSymbol, Greek_GAMMA ] }; key { [ f, F, equal, Greek_phi, 9, NoSymbol, Greek_PHI ] }; key { [ q, Q, ampersand, U03D5, plus, NoSymbol, U211A ] }; key { [ ssharp, U1E9E, U017F, Greek_finalsmallsigma, NoSymbol, NoSymbol, jot ] }; key { [ dead_acute, dead_cedilla, dead_stroke, dead_psili, dead_doubleacute,NoSymbol, dead_abovedot ] }; // middle row // -------------------------------------------------------------- // uiaeosnrtdy key { [ u, U, backslash, NoSymbol, Home, Home, U222E ] }; key { [ i, I, slash, Greek_iota, Left, Left, integral ] }; key { [ a, A, braceleft, Greek_alpha, Down, Down, U2200 ] }; key { [ e, E, braceright, Greek_epsilon, Right, Right, U2203 ] }; key { [ o, O, asterisk, Greek_omicron, End, End, elementof ] }; key { [ s, S, question, Greek_sigma, questiondown, NoSymbol, Greek_SIGMA ] }; key { [ n, N, parenleft, Greek_nu, 4, NoSymbol, U2115 ] }; key { [ r, R, parenright, U03F1, 5, NoSymbol, U211D ] }; key { [ t, T, minus, Greek_tau, 6, NoSymbol, partialderivative ] }; key { [ d, D, colon, Greek_delta, comma, NoSymbol, Greek_DELTA ] }; key { [ y, Y, at, Greek_upsilon, period, NoSymbol, nabla ] }; // bottom row // -------------------------------------------------------------- // üöäpzbm,.j key { [ udiaeresis, Udiaeresis, numbersign, NoSymbol, Escape, Escape, U211C ] }; key { [ odiaeresis, Odiaeresis, dollar, NoSymbol, Tab, Tab, U2111 ] }; key { [ adiaeresis, Adiaeresis, bar, Greek_eta, Next, Next, U2135 ] }; key { [ p, P, asciitilde, Greek_pi, Return, Return, Greek_PI ] }; key { [ z, Z, grave, Greek_zeta, NoSymbol, NoSymbol, U2124 ] }; key { [ b, B, plus, Greek_beta, colon, NoSymbol, U21D0 ] }; key { [ m, M, percent, Greek_mu, 1, NoSymbol, ifonlyif ] }; key { [ comma, endash, quotedbl, Greek_rho, 2, NoSymbol, U21D2 ] }; key { [ period, enfilledcircbullet, apostrophe, U03D1, 3, NoSymbol, Greek_THETA ] }; key { [ j, J, semicolon, Greek_theta, semicolon, NoSymbol, variation ] }; // Space key // -------------------------------------------------------------- key { [ space, space, space, nobreakspace, 0, NoSymbol, U202F ] }; // Keypad // =========== // Num-Lock is no longer used with Neo: //key.type[Group1]="FOUR_LEVEL_MIXED_KEYPAD"; // the former Numlock key: key { [ Tab, ISO_Left_Tab, equal, approxeq, notequal, NoSymbol, identical ] }; // topmost row // -------------------------------------------------------------- key { [ KP_Divide, KP_Divide, division, U2223, U2300, NoSymbol, U2044 ] }; key { [ KP_Multiply, KP_Multiply, U22C5, multiply, U2299, NoSymbol, U2297 ] }; key { [ KP_Subtract, KP_Subtract, U2212, U2216, U2296, NoSymbol, U2238 ] }; // top row // -------------------------------------------------------------- key { [ KP_7, U2714, U2195, U226A, KP_Home, KP_Home, upstile ] }; key { [ KP_8, U2718, uparrow, intersection, KP_Up, KP_Up, U22C2 ] }; key { [ KP_9, NoSymbol, U20D7, U226B, KP_Prior, KP_Prior, U2309 ] }; key { [ KP_Add, KP_Add, plusminus, U2213, U2295, NoSymbol, U2214 ] }; // middle row // -------------------------------------------------------------- key { [ KP_4, club, leftarrow, includedin, KP_Left, KP_Left, U2286 ] }; key { [ KP_5, EuroSign, brokenbar, U22B6, KP_Begin, KP_Begin, U22B7 ] }; key { [ KP_6, NoSymbol, rightarrow, includes, KP_Right, KP_Right, U2287 ] }; // bottom row // -------------------------------------------------------------- key { [ KP_1, diamond, U2194, lessthanequal,KP_End, KP_End, downstile ] }; key { [ KP_2, heart, downarrow, union, KP_Down, KP_Down, U22C3 ] }; key { [ KP_3, U2660, U21CC, greaterthanequal,KP_Next, KP_Next, U230B ] }; key { [ KP_Enter, KP_Enter, KP_Enter, KP_Enter, KP_Enter, KP_Enter, KP_Enter ] }; key { [ KP_Equal ] }; // bottommost row // -------------------------------------------------------------- key { [ KP_0, U2423, percent, U2030, KP_Insert, KP_Insert, U25A1 ] }; key { [ KP_Decimal, comma, period, apostrophe, KP_Delete, KP_Delete, quotedbl ] }; }; // Copied from macintosh_vndr/de // olh@suse.de very close to MacOS map partial alphanumeric_keys xkb_symbols "mac" { include "de" name[Group1]= "Germany - Macintosh"; // Alphanumeric section key { [ 1, exclam, exclamdown, at ] }; key { [ 5, percent, bracketleft ] }; key { [ 6, ampersand, bracketright ] }; key { [ 7, slash, bar, backslash ] }; key { [ 8, parenleft, braceleft, asciitilde ] }; key { [ 9, parenright, braceright ] }; key { [ q, Q, guillemotleft, guillemotright ] }; key { [ r, R, registered ] }; key { [ u, U, diaeresis, Aacute ] }; key { [ i, I, slash, Ucircumflex ] }; key { [ udiaeresis, Udiaeresis, periodcentered, degree ] }; key { [ plus, asterisk, asciitilde ] }; key { [ a, A, aring, Aring ] }; key { [ g, G, copyright ] }; key { [ h, H, ordfeminine ] }; key { [ l, L, at ] }; key { [ odiaeresis, Odiaeresis, dead_acute ] }; key { [ n, N, asciitilde ] }; }; partial alphanumeric_keys xkb_symbols "mac_nodeadkeys" { // modify the standard German mac layout to not have any dead keys include "de(mac)" name[Group1]= "Germany - Macintosh, eliminate dead keys"; key { [ 4, dollar, onequarter, currency ] }; key { [ asciicircum, degree, notsign ] }; key { [ acute, grave, cedilla ] }; key { [ udiaeresis, Udiaeresis, diaeresis ] }; key { [ plus, asterisk, asciitilde, macron ] }; key { [ odiaeresis, Odiaeresis, acute ] }; key { [ adiaeresis, Adiaeresis, asciicircum ] }; key { [ numbersign, apostrophe, grave ] }; }; partial alphanumeric_keys xkb_symbols "dsb" { name[Group1] = "Germany - Lower Sorbian"; include "latin(basic)" include "level3(ralt_switch)" include "kpdl(comma)" key { [ z, Z, zcaron, Zcaron ] }; key { [ x, X, zacute, Zacute ] }; key { [ c, C, cacute, Cacute ] }; key { [ v, V, ccaron, Ccaron ] }; key { [ n, N, nacute, Nacute ] }; key { [ s, S, sacute, Sacute ] }; key { [ d, D, scaron, Scaron ] }; key { [ f, F ] }; key { [ q, Q ] }; key { [ w, W ] }; key { [ e, E, ecaron, Ecaron ] }; key { [ r, R, racute, Racute ] }; key { [ t, T, U20B5, EuroSign ] }; key { [ o, O, oacute, Oacute ] }; }; partial alphanumeric_keys xkb_symbols "dsb_qwertz" { name[Group1] = "Germany - Lower Sorbian (qwertz)"; include "latin(basic)" include "level3(ralt_switch)" include "kpdl(comma)" key { [ y, Y ] }; key { [ x, X ] }; key { [ c, C, cacute, Cacute ] }; key { [ v, V, ccaron, Ccaron ] }; key { [ n, N, nacute, Nacute ] }; key { [ s, S, sacute, Sacute ] }; key { [ d, D, scaron, Scaron ] }; key { [ f, F ] }; key { [ q, Q ] }; key { [ w, W ] }; key { [ e, E, ecaron, Ecaron ] }; key { [ r, R, racute, Racute ] }; key { [ t, T, U20B5, EuroSign ] }; key { [ z, Z, zcaron, Zcaron ] }; key { [ u, U, zacute, Zacute ] }; key { [ o, O, oacute, Oacute ] }; }; partial alphanumeric_keys xkb_symbols "qwerty" { // This layout should work exactly as a de with the exception // of 'Z' and 'Y' keys, which are in the qwerty style (ie. swapped). // 2008 by Matej Košík include "de(basic)" name[Group1] = "Germany - qwerty"; key { [ z, Z, leftarrow, yen ] }; key { [ y, Y, guillemotleft, less ] }; };