diff options
Diffstat (limited to 'linux/X/de')
-rw-r--r-- | linux/X/de | 257 |
1 files changed, 140 insertions, 117 deletions
@@ -216,7 +216,6 @@ xkb_symbols "sundeadkeys" { // // $Revision$, $Date$ - partial alphanumeric_keys modifier_keys keypad_keys xkb_symbols "neo" { @@ -230,156 +229,180 @@ xkb_symbols "neo" { // 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 + // Compose (not a level): Mod3 + Tab + // Feststelltaste (Capslock): Shift + Shift // // 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 - // (FIXME Nur CAPS+BKSL ist Caps_Lock – Nicht andersherum, siehe Ticket #30) - key.type[Group1]="THREE_LEVEL"; - key <BKSL> { [ ISO_Level3_Shift, ISO_Level3_Shift, Caps_Lock ] }; - key <CAPS> { [ ISO_Level3_Shift, ISO_Level3_Shift, Caps_Lock ] }; - - // Definition of the so called Neo-Mod4 - // FIXME ISO_Level5_Shift was causing problems, though it's defined in - // /usr/include/X11/keysymdef.h on Ubuntu 8.10 (ticket #33), - // using hexcode 0xfe11 again for now - key.type[Group1]="ONE_LEVEL"; - key <LSGT> { type[Group1]="ONE_LEVEL", [ 0xfe11 ]}; - key <RALT> { [ 0xfe11 ]}; - modifier_map Mod3 { <LSGT>, <RALT> }; - // Attention: ^^^ This is a X server variable, not the Neo-Mod3. - - key.type[Group1]="EIGHT_LEVEL_ALPHABETIC" ; + // Legend + // =============== + // I don't think we need EIGHT_LEVEL_ALPHABETIC because the Lock gets deaktivated as soon as a Shift-key is pressed + // Therefore there is no need for Lock + Shift. + // key.type[Group1] = "EIGHT_LEVEL_ALPHABETIC"; + key.type[Group1] = "EIGHT_LEVEL"; - // Tab as Multi_key (Compose) + // Xorg: Level1 Level2 Level3 Level4 Level5 Level6 Level7 Level8 + // Neo: Ebene1 Ebene2 Ebene3 Ebene5 Ebene4 ??? Ebene6 ??? + // Keys (Neo): None Shift Mod3 Mod3 + Shift Mod4 Mod4 + Shift Mod3 + Mod4 Mod3 + Mod4 + Shift + + + // Modifier-keys + // =============== + + // FIXME Force norepeat is not working correctly: + // key <BKSL> { repeat = false }; + // key <LSGT> { repeat = false }; + // key <RALT> { repeat = false }; + + // Shift // -------------------------------------------------------------- - key <TAB> { [ Tab, ISO_Left_Tab, Multi_key ] }; + // Redefinition of both Shift-keys in order to get the desired "Shift + Shift = Shift_Lock" + key <LFSH> { [ Shift_L, Shift_Lock, Shift_L, Shift_Lock, Shift_L, Shift_Lock, Shift_L, Shift_Lock ] }; + key <RTSH> { [ Shift_R, Shift_Lock, Shift_R, Shift_Lock, Shift_R, Shift_Lock, Shift_R, Shift_Lock ] }; - // number row + // Neo-Mod3 + // -------------------------------------------------------------- + // Mod3 + Mod3 = Mod3_Lock + key <CAPS> { [ ISO_Level3_Shift, ISO_Level3_Shift, ISO_Level3_Lock, ISO_Level3_Lock, ISO_Level3_Shift, ISO_Level3_Shift, ISO_Level3_Lock, ISO_Level3_Lock ] }; + key <BKSL> { [ ISO_Level3_Shift, ISO_Level3_Shift, ISO_Level3_Lock, ISO_Level3_Lock, ISO_Level3_Shift, ISO_Level3_Shift, ISO_Level3_Lock, ISO_Level3_Lock ] }; + // The following is also done somewhere else, but I couldn't find where and since the modifier_map is needed by ISO_Level5 too (see below) I'm adding it here. + // Also see how Level-switching is done in "symbols/level3(ralt_switch)" + modifier_map Mod5 { ISO_Level3_Shift }; // optional + // This ^^^^ has nothing to do with the "Neo-Mod-Keys"! + + // Neo-Mod4 // -------------------------------------------------------------- - key <TLDE> { [ dead_circumflex, dead_tilde, dead_abovering, dead_breve, dead_caron, Pointer_EnableKeys, dead_macron ] }; + // Mod4 + Mod4 = Mod4_Lock + // The console-setup package doesn't like ISO_Level5_Shift and ISO_Level5_Lock, see + // https://bugs.launchpad.net/ubuntu/+source/console-setup/+bug/363388 + key <LSGT> { [ ISO_Level5_Shift, ISO_Level5_Shift, ISO_Level5_Shift, ISO_Level5_Shift, ISO_Level5_Lock, ISO_Level5_Lock, ISO_Level5_Lock, ISO_Level5_Lock ] }; + key <RALT> { [ ISO_Level5_Shift, ISO_Level5_Shift, ISO_Level5_Shift, ISO_Level5_Shift, ISO_Level5_Lock, ISO_Level5_Lock, ISO_Level5_Lock, ISO_Level5_Lock ] }; + // ISO_Level5_Shift alone won't have the desired effect in all applicitions, therefore adding the following as it is done in "symbols/level5(rctrl_switch)" + modifier_map Mod3 { ISO_Level5_Shift }; // mandatory + // This ^^^^ has nothing to do with the "Neo-Mod-Keys"! - key <AE01> { [ 1, degree, onesuperior, onesubscript, ordfeminine, NoSymbol, notsign ] }; - key <AE02> { [ 2, section, twosuperior, twosubscript, masculine, NoSymbol, logicalor ] }; - key <AE03> { [ 3, U2113, threesuperior, threesubscript, numerosign, NoSymbol, logicaland ] }; - key <AE04> { [ 4, guillemotright, U203A, femalesymbol, Prior, Prior, U22A5 ] }; - key <AE05> { [ 5, guillemotleft, U2039, malesymbol, periodcentered, NoSymbol, U2221 ] }; - key <AE06> { [ 6, dollar, cent, U26A5, sterling, NoSymbol, U2225 ] }; - key <AE07> { [ 7, EuroSign, yen, Greek_kappa, currency, NoSymbol, rightarrow ] }; - key <AE08> { [ 8, doublelowquotemark, singlelowquotemark, U27E8, NoSymbol, NoSymbol, U221E ] }; - key <AE09> { [ 9, leftdoublequotemark, leftsinglequotemark, U27E9, KP_Divide, NoSymbol, U220B ] }; - key <AE10> { [ 0, rightdoublequotemark, rightsinglequotemark, zerosubscript, KP_Multiply, NoSymbol, emptyset ] }; + // Alphanumeric-keys + // =============== - key <AE11> { [ minus, emdash, NoSymbol, U2011, KP_Subtract, NoSymbol, hyphen ] }; - key <AE12> { [ dead_grave, NoSymbol, dead_diaeresis, dead_dasia, dead_doublegrave, NoSymbol, -NoSymbol ] }; + // Tab as Multi_key (Compose) + // -------------------------------------------------------------- + key <TAB> { [ Tab, ISO_Left_Tab, Multi_key, NoSymbol, NoSymbol, NoSymbol, NoSymbol, NoSymbol ] }; - key <BKSP> { [ BackSpace, BackSpace, BackSpace, BackSpace, BackSpace, BackSpace, BackSpace ] }; + // Number Row + // -------------------------------------------------------------- + key <TLDE> { [ dead_circumflex, dead_tilde, dead_abovering, dead_breve, dead_caron, Pointer_EnableKeys, dead_macron, NoSymbol ] }; + + key <AE01> { [ 1, degree, onesuperior, onesubscript, ordfeminine, NoSymbol, notsign, NoSymbol ] }; + key <AE02> { [ 2, section, twosuperior, twosubscript, masculine, NoSymbol, logicalor, NoSymbol ] }; + key <AE03> { [ 3, U2113, threesuperior, threesubscript, numerosign, NoSymbol, logicaland, NoSymbol ] }; + key <AE04> { [ 4, guillemotright, U203A, femalesymbol, Prior, Prior, U22A5, NoSymbol ] }; + key <AE05> { [ 5, guillemotleft, U2039, malesymbol, periodcentered, NoSymbol, U2221, NoSymbol ] }; + + key <AE06> { [ 6, dollar, cent, U26A5, sterling, NoSymbol, U2225, NoSymbol ] }; + key <AE07> { [ 7, EuroSign, yen, Greek_kappa, currency, NoSymbol, rightarrow, NoSymbol ] }; + key <AE08> { [ 8, doublelowquotemark, singlelowquotemark, U27E8, NoSymbol, NoSymbol, U221E, NoSymbol ] }; + key <AE09> { [ 9, leftdoublequotemark, leftsinglequotemark, U27E9, KP_Divide, NoSymbol, U220B, NoSymbol ] }; + key <AE10> { [ 0, rightdoublequotemark, rightsinglequotemark, zerosubscript, KP_Multiply, NoSymbol, emptyset, NoSymbol ] }; + + key <AE11> { [ minus, emdash, NoSymbol, U2011, KP_Subtract, NoSymbol, hyphen, NoSymbol ] }; + key <AE12> { [ dead_grave, NoSymbol, dead_diaeresis, dead_dasia, dead_doublegrave, NoSymbol, NoSymbol, NoSymbol ] }; + key <BKSP> { [ BackSpace, BackSpace, BackSpace, BackSpace, BackSpace, BackSpace, BackSpace, NoSymbol ] }; - // top row + // Top Row // -------------------------------------------------------------- - // xvlcwkhgfqß - key <AD01> { [ x, X, ellipsis, Greek_xi, U22EE, NoSymbol, Greek_XI ] }; - key <AD02> { [ v, V, underscore, NoSymbol, BackSpace, BackSpace, U222E ] }; - key <AD03> { [ l, L, bracketleft, Greek_lambda, Up, Up, Greek_LAMBDA ] }; - key <AD04> { [ c, C, bracketright, Greek_chi, Delete, Delete, U2102 ] }; - key <AD05> { [ w, W, asciicircum, Greek_omega, Insert, Insert, Greek_OMEGA ] }; - - key <AD06> { [ k, K, exclam, U03F0, exclamdown, NoSymbol, radical ] }; - key <AD07> { [ h, H, less, Greek_psi, KP_7, NoSymbol, Greek_PSI ] }; - key <AD08> { [ g, G, greater, Greek_gamma, KP_8, NoSymbol, Greek_GAMMA ] }; - key <AD09> { [ f, F, equal, Greek_phi, KP_9, NoSymbol, Greek_PHI ] }; - key <AD10> { [ q, Q, ampersand, U03D5, KP_Add, NoSymbol, U211A ] }; - key <AD11> { [ ssharp, U1E9E, U017F, Greek_finalsmallsigma, U2212, NoSymbol, jot ] }; - - key <AD12> { [ dead_acute, dead_cedilla, dead_stroke, dead_psili, dead_doubleacute, NoSymbol, dead_abovedot ] }; - - // middle row + key <AD01> { [ x, X, ellipsis, Greek_xi, U22EE, NoSymbol, Greek_XI, NoSymbol ] }; + key <AD02> { [ v, V, underscore, NoSymbol, BackSpace, BackSpace, U222E, NoSymbol ] }; + key <AD03> { [ l, L, bracketleft, Greek_lambda, Up, Up, Greek_LAMBDA, NoSymbol ] }; + key <AD04> { [ c, C, bracketright, Greek_chi, Delete, Delete, U2102, NoSymbol ] }; + key <AD05> { [ w, W, asciicircum, Greek_omega, Insert, Insert, Greek_OMEGA, NoSymbol ] }; + + key <AD06> { [ k, K, exclam, U03F0, exclamdown, NoSymbol, radical, NoSymbol ] }; + key <AD07> { [ h, H, less, Greek_psi, KP_7, NoSymbol, Greek_PSI, NoSymbol ] }; + key <AD08> { [ g, G, greater, Greek_gamma, KP_8, NoSymbol, Greek_GAMMA, NoSymbol ] }; + key <AD09> { [ f, F, equal, Greek_phi, KP_9, NoSymbol, Greek_PHI, NoSymbol ] }; + key <AD10> { [ q, Q, ampersand, U03D5, KP_Add, NoSymbol, U211A, NoSymbol ] }; + + key <AD11> { [ ssharp, U1E9E, U017F, Greek_finalsmallsigma, U2212, NoSymbol, jot, NoSymbol ] }; + key <AD12> { [ dead_acute, dead_cedilla, dead_stroke, dead_psili, dead_doubleacute, NoSymbol, dead_abovedot, NoSymbol ] }; + + // Middle Row // -------------------------------------------------------------- - // uiaeosnrtdy - key <AC01> { [ u, U, backslash, NoSymbol, Home, Home, mu ] }; - key <AC02> { [ i, I, slash, Greek_iota, Left, Left, integral ] }; - key <AC03> { [ a, A, braceleft, Greek_alpha, Down, Down, U2200 ] }; - key <AC04> { [ e, E, braceright, Greek_epsilon, Right, Right, U2203 ] }; - key <AC05> { [ o, O, asterisk, Greek_omicron, End, End, elementof ] }; - - key <AC06> { [ s, S, question, Greek_sigma, questiondown, NoSymbol, Greek_SIGMA ] }; - key <AC07> { [ n, N, parenleft, Greek_nu, KP_4, NoSymbol, U2115 ] }; - key <AC08> { [ r, R, parenright, U03F1, KP_5, NoSymbol, U211D ] }; - key <AC09> { [ t, T, minus, Greek_tau, KP_6, NoSymbol, partialderivative ] }; - key <AC10> { [ d, D, colon, Greek_delta, KP_Separator, NoSymbol, Greek_DELTA ] }; - key <AC11> { [ y, Y, at, Greek_upsilon, KP_Decimal, NoSymbol, nabla ] }; - - // bottom row + key <AC01> { [ u, U, backslash, NoSymbol, Home, Home, mu, NoSymbol ] }; + key <AC02> { [ i, I, slash, Greek_iota, Left, Left, integral, NoSymbol ] }; + key <AC03> { [ a, A, braceleft, Greek_alpha, Down, Down, U2200, NoSymbol ] }; + key <AC04> { [ e, E, braceright, Greek_epsilon, Right, Right, U2203, NoSymbol ] }; + key <AC05> { [ o, O, asterisk, Greek_omicron, End, End, elementof, NoSymbol ] }; + + key <AC06> { [ s, S, question, Greek_sigma, questiondown, NoSymbol, Greek_SIGMA, NoSymbol ] }; + key <AC07> { [ n, N, parenleft, Greek_nu, KP_4, NoSymbol, U2115, NoSymbol ] }; + key <AC08> { [ r, R, parenright, U03F1, KP_5, NoSymbol, U211D, NoSymbol ] }; + key <AC09> { [ t, T, minus, Greek_tau, KP_6, NoSymbol, partialderivative, NoSymbol ] }; + key <AC10> { [ d, D, colon, Greek_delta, KP_Separator, NoSymbol, Greek_DELTA, NoSymbol ] }; + + key <AC11> { [ y, Y, at, Greek_upsilon, KP_Decimal, NoSymbol, nabla, NoSymbol ] }; + + // Bottom Row // -------------------------------------------------------------- - // üöäpzbm,.j - key <AB01> { [ udiaeresis, Udiaeresis, numbersign, NoSymbol, Escape, Escape, U211C ] }; - key <AB02> { [ odiaeresis, Odiaeresis, dollar, U03F5, Tab, Tab, U2111 ] }; - key <AB03> { [ adiaeresis, Adiaeresis, bar, Greek_eta, Next, Next, U2135 ] }; - key <AB04> { [ p, P, asciitilde, Greek_pi, Return, Return, Greek_PI ] }; - key <AB05> { [ z, Z, grave, Greek_zeta, NoSymbol, NoSymbol, U2124 ] }; - - key <AB06> { [ b, B, plus, Greek_beta, colon, NoSymbol, U21D0 ] }; - key <AB07> { [ m, M, percent, Greek_mu, KP_1, NoSymbol, ifonlyif ] }; - key <AB08> { [ comma, endash, quotedbl, Greek_rho, KP_2, NoSymbol, U21D2 ] }; - key <AB09> { [ period, enfilledcircbullet, apostrophe, U03D1, KP_3, NoSymbol, Greek_THETA ] }; - key <AB10> { [ j, J, semicolon, Greek_theta, semicolon, NoSymbol, variation ] }; + key <AB01> { [ udiaeresis, Udiaeresis, numbersign, NoSymbol, Escape, Escape, U211C, NoSymbol ] }; + key <AB02> { [ odiaeresis, Odiaeresis, dollar, U03F5, Tab, Tab, U2111, NoSymbol ] }; + key <AB03> { [ adiaeresis, Adiaeresis, bar, Greek_eta, Next, Next, U2135, NoSymbol ] }; + key <AB04> { [ p, P, asciitilde, Greek_pi, Return, Return, Greek_PI, NoSymbol ] }; + key <AB05> { [ z, Z, grave, Greek_zeta, NoSymbol, NoSymbol, U2124, NoSymbol ] }; + + key <AB06> { [ b, B, plus, Greek_beta, colon, NoSymbol, U21D0, NoSymbol ] }; + key <AB07> { [ m, M, percent, Greek_mu, KP_1, NoSymbol, ifonlyif, NoSymbol ] }; + key <AB08> { [ comma, endash, quotedbl, Greek_rho, KP_2, NoSymbol, U21D2, NoSymbol ] }; + key <AB09> { [ period, enfilledcircbullet, apostrophe, U03D1, KP_3, NoSymbol, Greek_THETA, NoSymbol ] }; + key <AB10> { [ j, J, semicolon, Greek_theta, semicolon, NoSymbol, variation, NoSymbol ] }; // Space key // -------------------------------------------------------------- - key <SPCE> { [ space, space, space, nobreakspace, KP_0, NoSymbol, U202F ] }; + key <SPCE> { [ space, space, space, nobreakspace, KP_0, NoSymbol, U202F, NoSymbol ] }; - // Keypad - // =========== + + // Keypad-keys + // =============== // Num-Lock is no longer used with Neo: //key.type[Group1]="FOUR_LEVEL_MIXED_KEYPAD"; - // the former Numlock key: - key <NMLK> { [ Tab, ISO_Left_Tab, equal, approxeq, notequal, NoSymbol, identical ] }; + // The former Numlock key: + key <NMLK> { [ Tab, ISO_Left_Tab, equal, approxeq, notequal, NoSymbol, identical, NoSymbol ] }; - // topmost row + // Topmost Row // -------------------------------------------------------------- - key <KPDV> { [ KP_Divide, KP_Divide, division, U2300, U2215, NoSymbol, U2223 ] }; - key <KPMU> { [ KP_Multiply, KP_Multiply, U2219, U2299, multiply, NoSymbol, U2297 ] }; - key <KPSU> { [ KP_Subtract, KP_Subtract, U2212, U2296, U2216, NoSymbol, U2238 ] }; + key <KPDV> { [ KP_Divide, KP_Divide, division, U2300, U2215, NoSymbol, U2223, NoSymbol ] }; + key <KPMU> { [ KP_Multiply, KP_Multiply, U2219, U2299, multiply, NoSymbol, U2297, NoSymbol ] }; + key <KPSU> { [ KP_Subtract, KP_Subtract, U2212, U2296, U2216, NoSymbol, U2238, NoSymbol ] }; - // top row + // Top Row // -------------------------------------------------------------- - key <KP7> { [ KP_7, U2714, U2195, U226A, KP_Home, KP_Home, upstile ] }; - key <KP8> { [ KP_8, U2718, uparrow, intersection, KP_Up, KP_Up, U22C2 ] }; - key <KP9> { [ KP_9, dagger, U20D7, U226B, KP_Prior, KP_Prior, U2309 ] }; - key <KPAD> { [ KP_Add, KP_Add, plusminus, U2295, U2213, NoSymbol, U2214 ] }; - - // middle row + key <KP7> { [ KP_7, U2714, U2195, U226A, KP_Home, KP_Home, upstile, NoSymbol ] }; + key <KP8> { [ KP_8, U2718, uparrow, intersection, KP_Up, KP_Up, U22C2, NoSymbol ] }; + key <KP9> { [ KP_9, dagger, U20D7, U226B, KP_Prior, KP_Prior, U2309, NoSymbol ] }; + key <KPAD> { [ KP_Add, KP_Add, plusminus, U2295, U2213, NoSymbol, U2214, NoSymbol ] }; + + // middle Row // -------------------------------------------------------------- - key <KP4> { [ KP_4, club, leftarrow, includedin, KP_Left, KP_Left, U2286 ] }; - key <KP5> { [ KP_5, EuroSign, brokenbar, U22B6, KP_Begin, KP_Begin, U22B7 ] }; - key <KP6> { [ KP_6, U2023, rightarrow, includes, KP_Right, KP_Right, U2287 ] }; + key <KP4> { [ KP_4, club, leftarrow, includedin, KP_Left, KP_Left, U2286, NoSymbol ] }; + key <KP5> { [ KP_5, EuroSign, brokenbar, U22B6, KP_Begin, KP_Begin, U22B7, NoSymbol ] }; + key <KP6> { [ KP_6, U2023, rightarrow, includes, KP_Right, KP_Right, U2287, NoSymbol ] }; - // bottom row + // Bottom Row // -------------------------------------------------------------- - key <KP1> { [ KP_1, diamond, U2194, lessthanequal,KP_End, KP_End, downstile ] }; - key <KP2> { [ KP_2, heart, downarrow, union, KP_Down, KP_Down, U22C3 ] }; - key <KP3> { [ KP_3, U2660, U21CC, greaterthanequal,KP_Next, KP_Next, U230B ] }; - key <KPEN> { [ KP_Enter, KP_Enter, KP_Enter, KP_Enter, KP_Enter, KP_Enter, KP_Enter ] }; - key <KPEQ> { [ KP_Equal ] }; + key <KP1> { [ KP_1, diamond, U2194, lessthanequal, KP_End, KP_End, downstile, NoSymbol ] }; + key <KP2> { [ KP_2, heart, downarrow, union, KP_Down, KP_Down, U22C3, NoSymbol ] }; + key <KP3> { [ KP_3, U2660, U21CC, greaterthanequal, KP_Next, KP_Next, U230B, NoSymbol ] }; + key <KPEN> { [ KP_Enter, KP_Enter, KP_Enter, KP_Enter, KP_Enter, KP_Enter, KP_Enter, NoSymbol ] }; + key <KPEQ> { [ KP_Equal, NoSymbol, NoSymbol, NoSymbol, NoSymbol, NoSymbol, NoSymbol, NoSymbol ] }; - // bottommost row + // Bottommost Row // -------------------------------------------------------------- - key <KP0> { [ KP_0, U2423, percent, U2030, KP_Insert, KP_Insert, U25A1 ] }; - key <KPDL> { [ KP_Separator, KP_Decimal, period, apostrophe, KP_Delete, KP_Delete, quotedbl ] }; - + key <KP0> { [ KP_0, U2423, percent, U2030, KP_Insert, KP_Insert, U25A1, NoSymbol ] }; + key <KPDL> { [ KP_Separator, KP_Decimal, period, apostrophe, KP_Delete, KP_Delete, quotedbl, NoSymbol ] }; }; // Copied from macintosh_vndr/de |