2 // based on a keyboard map from an 'xkb/symbols/de' file
5 // $XFree86: xc/programs/xkbcomp/symbols/de,v 1.6 2003/09/08 13:12:51 pascal Exp $
10 include "latin(type4)"
12 name[Group1]="Germany";
14 key <AE02> { [ 2, quotedbl, twosuperior, oneeighth ] };
15 key <AE03> { [ 3, section, threesuperior, sterling ] };
16 key <AE04> { [ 4, dollar, onequarter, currency ] };
18 key <AE11> {type[Group1]="FOUR_LEVEL_PLUS_LOCK", symbols[Group1]=
19 [ssharp, question, backslash, questiondown, 0x1001E9E ]};
20 // The unicode capital letter sharp s U+1E9E is transformed to "SS"
21 // to match the rules for capitalizing sharp s in german.
22 // If the capital sharp s is needed, delete the line
23 // starting with <U1E9C> from /usr/share/X11/locale/iso8859-15/Compose.
24 // If both doubled S and capital sharp s are needed, use 0x1001E9E
25 // for capital sharp s and some free unicode codepoint like 0x1001E9C
26 // for doubled S. Don`t forget to change this in the Compose file, too.
28 key <AE12> { [dead_acute, dead_grave, dead_cedilla, dead_ogonek ] };
30 key <AD03> { [ e, E, EuroSign, EuroSign ] };
31 key <AD06> { [ z, Z, leftarrow, yen ] };
32 key <AD11> { [udiaeresis, Udiaeresis, dead_diaeresis, dead_abovering ] };
33 key <AD12> { [ plus, asterisk, dead_tilde, dead_macron ] };
35 key <AC10> { [odiaeresis, Odiaeresis, dead_doubleacute, dead_doubleacute ] };
36 key <AC11> { [adiaeresis, Adiaeresis, dead_circumflex, dead_caron] };
37 key <TLDE> { [dead_circumflex, degree, notsign, notsign ] };
39 key <BKSL> { [numbersign, apostrophe, dead_grave, dead_breve ] };
40 key <AB01> { [ y, Y, guillemotleft, less ] };
44 include "level3(ralt_switch)"
47 partial alphanumeric_keys
48 xkb_symbols "nodeadkeys" {
50 // modify the basic German layout to not have any dead keys
53 name[Group1]="Germany - Eliminate dead keys";
55 key <TLDE> { [asciicircum, degree, notsign, notsign ] };
56 key <AE12> { [apostrophe, grave, cedilla, cedilla ] };
57 key <AD11> { [udiaeresis, Udiaeresis, diaeresis, diaeresis ] };
58 key <AD12> { [ plus, asterisk, asciitilde, macron ] };
59 key <AC10> { [odiaeresis, Odiaeresis, doubleacute, doubleacute ] };
60 key <AC11> { [adiaeresis, Adiaeresis, asciicircum, asciicircum ] };
61 key <BKSL> { [numbersign, apostrophe, grave, grave ] };
62 key <AB10> { [ minus, underscore, dead_belowdot, abovedot ] };
65 partial alphanumeric_keys
66 xkb_symbols "deadgraveacute" {
67 // modify the basic German layout to have only acute and grave
68 // as dead keys (tilde and circumflex are needed as spacing characters
69 // in many programming languages)
72 name[Group1]="Germany - Dead grave acute";
74 key <TLDE> { [asciicircum, degree, notsign, notsign ] };
75 key <AD12> { [ plus, asterisk, asciitilde, dead_macron ] };
76 key <BKSL> { [numbersign, apostrophe, grave, grave ] };
79 partial alphanumeric_keys
80 xkb_symbols "deadacute" {
81 // modify the basic German layout to have only acute as
82 // dead keys (ASCII grave, tilde and circumflex are needed as
83 // spacing characters in many programming languages and text formatters)
85 include "de(deadgraveacute)"
87 name[Group1]="Germany - Dead acute";
89 key <AE12> { [dead_acute, grave, dead_cedilla, dead_ogonek ] };
90 key <BKSL> { [numbersign, apostrophe, dead_grave, dead_grave ] };
93 partial alphanumeric_keys
95 // add romanian-specific letters to the basic German layout.
96 // Romanian symbols are accessible with combination of <AltGr> and
97 // 'a', 's', 't', 'i', 'ä (ä)' (+<Shift> for capital letters).
98 // To view romanian-specific symbols, add "export LC_CTYPE=ro_RO"
99 // or "export LC_CTYPE=de_DE.utf8" to your .profile.
103 name[Group1]="Germany - Romanian keyboard with German letters";
105 key <AD05> { [ t, T, tcedilla, Tcedilla ] };
106 key <AD08> { [ i, I, icircumflex, Icircumflex ] };
107 key <AC01> { [ a, A, acircumflex, Acircumflex ] };
108 key <AC02> { [ s, S, scedilla, Scedilla ] };
109 key <AC11> { [ adiaeresis, Adiaeresis, abreve, Abreve ] };
112 partial alphanumeric_keys
113 xkb_symbols "ro_nodeadkeys" {
114 // add romanian-specific letters to the German nodeadkeys layout.
115 // Read the comment for de_ro !
117 include "de(nodeadkeys)"
118 name[Group1]="Germany - Romanian keyboard with German letters, eliminate dead keys";
120 key <AD05> { [ t, T, tcedilla, Tcedilla ] };
121 key <AD08> { [ i, I, icircumflex, Icircumflex ] };
122 key <AC01> { [ a, A, acircumflex, Acircumflex ] };
123 key <AC02> { [ s, S, scedilla, Scedilla ] };
124 key <AC11> { [ adiaeresis, Adiaeresis, abreve, Abreve ] };
127 // German Dvorak keymap by Thorsten Staerk (www.staerk.de/thorsten)
128 // Have acute and grave as dead keys, tilde and circumflex alive as they are needed
129 // in many programming languages.
130 // to use this keymap, use a 105-key-keyboard and the command setxkbmap -model pc105 -layout dvorak -variant de
131 // source: http://www-lehre.informatik.uni-osnabrueck.de/~rfreund/dvorak.php
132 partial alphanumeric_keys
133 xkb_symbols "dvorak" {
136 name[Group1]="Germany - Dvorak";
138 key <TLDE> { [ asciicircum, degree ] };
140 key <AE01> { [ 1, exclam, onesuperior ] };
141 key <AE02> { [ 2, quotedbl, twosuperior ] };
142 key <AE03> { [ 3, section, threesuperior ] };
143 key <AE04> { [ 4, dollar, bar ] };
144 key <AE05> { [ 5, percent, bar ] };
145 key <AE06> { [ 6, ampersand, brokenbar ] };
146 key <AE07> { [ 7, slash, braceleft ] };
147 key <AE08> { [ 8, parenleft, bracketleft ] };
148 key <AE09> { [ 9, parenright, bracketright ] };
149 key <AE10> { [ 0, equal, braceright ] };
150 key <AE11> { [ plus, asterisk, asciitilde ] };
151 key <AE12> { [ less, greater, dead_grave ] };
153 key <AD01> { [ udiaeresis, Udiaeresis, at ] };
154 key <AD02> { [ comma, semicolon, dead_diaeresis ] };
155 key <AD03> { [ period, colon ] };
156 key <AD08> { [ c, C, copyright, Cacute ] };
157 key <AD09> { [ t, T, trademark ] };
158 key <AD10> { [ z, Z, zabovedot, Zabovedot ] };
159 key <AD11> { [ question, ssharp ] };
160 key <AD12> { [ slash, backslash, dead_acute ] };
162 key <AC01> { [ a, A, at, aogonek ] };
163 key <AC02> { [ o, O, oacute, Oacute ] };
164 key <AC03> { [ e, E, EuroSign, eogonek ] };
165 key <AC04> { [ i, I ] };
166 key <AC05> { [ u, U ] };
167 key <AC06> { [ h, H ] };
168 key <AC07> { [ d, D ] };
169 key <AC08> { [ r, R, registered ] };
170 key <AC09> { [ n, N, nacute, Nacute ] };
171 key <AC10> { [ s, S, sacute, Sacute] };
172 key <AC11> { [ l, L, lstroke, Lstroke ] };
174 key <AB01> { [ odiaeresis, Odiaeresis ] };
175 key <AB02> { [ q, Q, at ] };
176 key <AB07> { [ m, M, mu ] };
177 key <AB10> { [ numbersign, apostrophe ] };
179 key <BKSL> { [ minus, underscore, hyphen, diaeresis] };
181 key <LSGT> { [ adiaeresis, Adiaeresis, bar ] };
183 include "level3(ralt_switch)"
186 partial alphanumeric_keys
187 xkb_symbols "Sundeadkeys" {
189 // For naming consistency
195 partial alphanumeric_keys
196 xkb_symbols "sundeadkeys" {
198 // For naming consistency
200 include "de(Sundeadkeys)"
202 name[Group1]="Germany - Sun dead keys";
206 // German NEO-Layout Version 2.0rc1 (rev: 1331)
207 // adopted 2004 by Hanno Behrens <Hanno.Behrens@gmx.de>
208 // inspired by Dvorak/de-ergo http://www.goebel-consult.de/de-ergo/
211 // <lucky at zankt dot net>
212 // Benjamin Kellermann <Benjamin dot Kellermann at gmx dot Germany>
213 // Erik Streb <mail at erikstreb dot de>
214 // and many other contributers
216 // http://www.neo-layout.org
219 partial alphanumeric_keys modifier_keys keypad_keys
222 name[Group1]= "Germany - Neo 2";
224 // Levels in Neo jargon
225 // --------------------------------------------------------------
229 // Ebene 4: Mod4 (for marking something use Shift+Mod4)
230 // Ebene 5: Shift+Mod3
231 // Ebene 6: Mod3+Mod4 (in this order)
232 // Compose (not a level): Mod3+Tab
233 // Feststelltaste (Capslock): Mod3+Mod3
235 // Levels in Xkbmap jargon to be found here in the definitions.
236 // These are the levels used, and Xorg's translations with type="EIGHT_LEVEL":
237 // --------------------------------------------------------------
238 // Modifier: None Shift Mod3 Shift+Mod3 Mod4 Shift+Mod4 Mod3+Mod4
239 // Xorg calls it: Level1 Level2 Level3 Level4 Level5 Level6 Level7
240 // Neo calls it: Ebene1 Ebene2 Ebene3 Ebene5 Ebene4 Ebene4+Shift Ebene6
242 // Modifier definitions
243 // --------------------------------------------------------------
244 // Definition of the so called Neo-Mod3
245 key.type[Group1]="THREE_LEVEL";
246 key <BKSL> { [ ISO_Level3_Shift, ISO_Level3_Shift, Caps_Lock ] };
247 key <CAPS> { [ ISO_Level3_Shift, ISO_Level3_Shift, Caps_Lock ] };
249 // Definition of the so called Neo-Mod4
250 key.type[Group1]="ONE_LEVEL";
251 key <LSGT> { [ ISO_Level5_Shift ]};
252 key <RALT> { [ ISO_Level5_Shift ]};
253 modifier_map Mod3 { <LSGT>, <RALT> };
254 // Attention: ^^^ This is a X server variable, not the Neo-Mod3.
256 key.type[Group1]="EIGHT_LEVEL_ALPHABETIC" ;
258 // Tab as Multi_key (Compose)
259 // --------------------------------------------------------------
260 key <TAB> { [ Tab, ISO_Left_Tab, Multi_key ] };
263 // --------------------------------------------------------------
264 key <TLDE> { [ dead_circumflex, dead_tilde, dead_abovering, dead_breve, dead_caron, NoSymbol, dead_macron ] };
266 key <AE01> { [ 1, degree, onesuperior, onesubscript, ordfeminine, NoSymbol, notsign ] };
267 key <AE02> { [ 2, section, twosuperior, twosubscript, masculine, NoSymbol, logicalor ] };
268 key <AE03> { [ 3, U2113, threesuperior, threesubscript, numerosign, NoSymbol, logicaland ] };
269 key <AE04> { [ 4, guillemotright, U203A, dagger, Prior, Prior, U22A5 ] };
270 key <AE05> { [ 5, guillemotleft, U2039, femalesymbol, periodcentered, NoSymbol, U2221 ] };
271 key <AE06> { [ 6, EuroSign, cent, malesymbol, sterling, NoSymbol, U2225 ] };
273 key <AE07> { [ 7, dollar, yen, Greek_kappa, currency, NoSymbol, rightarrow ] };
274 key <AE08> { [ 8, doublelowquotemark, singlelowquotemark, leftanglebracket, NoSymbol, NoSymbol, U221E ] };
275 key <AE09> { [ 9, leftdoublequotemark, leftsinglequotemark, rightanglebracket, slash, NoSymbol, U220B ] };
276 key <AE10> { [ 0, rightdoublequotemark, rightsinglequotemark, zerosubscript, asterisk, NoSymbol, emptyset ] };
278 key <AE11> { [ minus, emdash, NoSymbol, U2011, minus, NoSymbol, hyphen ] };
279 key <AE12> { [ dead_grave, NoSymbol, dead_diaeresis, dead_dasia, U030F, NoSymbol, NoSymbol ] };
281 key <BKSP> { [ BackSpace, BackSpace, BackSpace, BackSpace, BackSpace, BackSpace, BackSpace ] };
284 // --------------------------------------------------------------
286 key <AD01> { [ x, X, ellipsis, Greek_xi, U22EE, NoSymbol, Greek_XI ] };
287 key <AD02> { [ v, V, underscore, NoSymbol, BackSpace, BackSpace, U2259 ] };
288 key <AD03> { [ l, L, bracketleft, Greek_lambda, Up, Up, Greek_LAMBDA ] };
289 key <AD04> { [ c, C, bracketright, Greek_chi, Delete, Delete, U2102 ] };
290 key <AD05> { [ w, W, asciicircum, Greek_omega, Insert, Insert, Greek_OMEGA ] };
292 key <AD06> { [ k, K, exclam, U03F0, exclamdown, NoSymbol, radical ] };
293 key <AD07> { [ h, H, less, Greek_psi, 7, NoSymbol, Greek_PSI ] };
294 key <AD08> { [ g, G, greater, Greek_gamma, 8, NoSymbol, Greek_GAMMA ] };
295 key <AD09> { [ f, F, equal, Greek_phi, 9, NoSymbol, Greek_PHI ] };
296 key <AD10> { [ q, Q, ampersand, U03D5, plus, NoSymbol, U211A ] };
297 key <AD11> { [ ssharp, U1E9E, U017F, Greek_finalsmallsigma, NoSymbol, NoSymbol, jot ] };
299 key <AD12> { [ dead_acute, dead_cedilla, dead_stroke, dead_psili, dead_doubleacute,NoSymbol, dead_abovedot ] };
302 // --------------------------------------------------------------
304 key <AC01> { [ u, U, backslash, NoSymbol, Home, Home, U222E ] };
305 key <AC02> { [ i, I, slash, Greek_iota, Left, Left, integral ] };
306 key <AC03> { [ a, A, braceleft, Greek_alpha, Down, Down, U2200 ] };
307 key <AC04> { [ e, E, braceright, Greek_epsilon, Right, Right, U2203 ] };
308 key <AC05> { [ o, O, asterisk, Greek_omicron, End, End, elementof ] };
310 key <AC06> { [ s, S, question, Greek_sigma, questiondown, NoSymbol, Greek_SIGMA ] };
311 key <AC07> { [ n, N, parenleft, Greek_nu, 4, NoSymbol, U2115 ] };
312 key <AC08> { [ r, R, parenright, U03F1, 5, NoSymbol, U211D ] };
313 key <AC09> { [ t, T, minus, Greek_tau, 6, NoSymbol, partialderivative ] };
314 key <AC10> { [ d, D, colon, Greek_delta, comma, NoSymbol, Greek_DELTA ] };
315 key <AC11> { [ y, Y, at, Greek_upsilon, period, NoSymbol, nabla ] };
318 // --------------------------------------------------------------
320 key <AB01> { [ udiaeresis, Udiaeresis, numbersign, NoSymbol, Escape, Escape, U211C ] };
321 key <AB02> { [ odiaeresis, Odiaeresis, dollar, NoSymbol, Tab, Tab, U2111 ] };
322 key <AB03> { [ adiaeresis, Adiaeresis, bar, Greek_eta, Next, Next, U2135 ] };
323 key <AB04> { [ p, P, asciitilde, Greek_pi, Return, Return, Greek_PI ] };
324 key <AB05> { [ z, Z, grave, Greek_zeta, NoSymbol, NoSymbol, U2124 ] };
326 key <AB06> { [ b, B, plus, Greek_beta, colon, NoSymbol, U21D0 ] };
327 key <AB07> { [ m, M, percent, Greek_mu, 1, NoSymbol, ifonlyif ] };
328 key <AB08> { [ comma, endash, quotedbl, Greek_rho, 2, NoSymbol, U21D2 ] };
329 key <AB09> { [ period, enfilledcircbullet, apostrophe, U03D1, 3, NoSymbol, Greek_THETA ] };
330 key <AB10> { [ j, J, semicolon, Greek_theta, semicolon, NoSymbol, variation ] };
333 // --------------------------------------------------------------
334 key <SPCE> { [ space, space, space, nobreakspace, 0, NoSymbol, U202F ] };
339 // Num-Lock is no longer used with Neo:
340 //key.type[Group1]="FOUR_LEVEL_MIXED_KEYPAD";
342 // the former Numlock key:
343 key <NMLK> { [ Tab, ISO_Left_Tab, equal, approxeq, notequal, NoSymbol, identical ] };
346 // --------------------------------------------------------------
347 key <KPDV> { [ KP_Divide, KP_Divide, division, U2223, U2300, NoSymbol, U2044 ] };
348 key <KPMU> { [ KP_Multiply, KP_Multiply, U22C5, multiply, U2299, NoSymbol, U2297 ] };
349 key <KPSU> { [ KP_Subtract, KP_Subtract, U2212, U2216, U2296, NoSymbol, U2238 ] };
352 // --------------------------------------------------------------
353 key <KP7> { [ KP_7, U2714, U2195, U226A, KP_Home, KP_Home, upstile ] };
354 key <KP8> { [ KP_8, U2718, uparrow, intersection, KP_Up, KP_Up, U22C2 ] };
355 key <KP9> { [ KP_9, NoSymbol, U20D7, U226B, KP_Prior, KP_Prior, U2309 ] };
356 key <KPAD> { [ KP_Add, KP_Add, plusminus, U2213, U2295, NoSymbol, U2214 ] };
359 // --------------------------------------------------------------
360 key <KP4> { [ KP_4, club, leftarrow, includedin, KP_Left, KP_Left, U2286 ] };
361 key <KP5> { [ KP_5, EuroSign, brokenbar, U22B6, KP_Begin, KP_Begin, U22B7 ] };
362 key <KP6> { [ KP_6, NoSymbol, rightarrow, includes, KP_Right, KP_Right, U2287 ] };
365 // --------------------------------------------------------------
366 key <KP1> { [ KP_1, diamond, U2194, lessthanequal,KP_End, KP_End, downstile ] };
367 key <KP2> { [ KP_2, heart, downarrow, union, KP_Down, KP_Down, U22C3 ] };
368 key <KP3> { [ KP_3, U2660, U21CC, greaterthanequal,KP_Next, KP_Next, U230B ] };
369 key <KPEN> { [ KP_Enter, KP_Enter, KP_Enter, KP_Enter, KP_Enter, KP_Enter, KP_Enter ] };
370 key <KPEQ> { [ KP_Equal ] };
373 // --------------------------------------------------------------
374 key <KP0> { [ KP_0, U2423, percent, U2030, KP_Insert, KP_Insert, U25A1 ] };
375 key <KPDL> { [ KP_Decimal, comma, period, apostrophe, KP_Delete, KP_Delete, quotedbl ] };
379 // Copied from macintosh_vndr/de
380 // olh@suse.de very close to MacOS map
382 partial alphanumeric_keys
386 name[Group1]= "Germany - Macintosh";
388 // Alphanumeric section
389 key <AE01> { [ 1, exclam, exclamdown, at ] };
390 key <AE05> { [ 5, percent, bracketleft ] };
391 key <AE06> { [ 6, ampersand, bracketright ] };
392 key <AE07> { [ 7, slash, bar, backslash ] };
393 key <AE08> { [ 8, parenleft, braceleft, asciitilde ] };
394 key <AE09> { [ 9, parenright, braceright ] };
395 key <AD01> { [ q, Q, guillemotleft, guillemotright ] };
396 key <AD04> { [ r, R, registered ] };
397 key <AD07> { [ u, U, diaeresis, Aacute ] };
398 key <AD08> { [ i, I, slash, Ucircumflex ] };
399 key <AD11> { [ udiaeresis, Udiaeresis, periodcentered, degree ] };
400 key <AD12> { [ plus, asterisk, asciitilde ] };
401 key <AC01> { [ a, A, aring, Aring ] };
402 key <AC05> { [ g, G, copyright ] };
403 key <AC06> { [ h, H, ordfeminine ] };
404 key <AC09> { [ l, L, at ] };
405 key <AC10> { [ odiaeresis, Odiaeresis, dead_acute ] };
406 key <AB06> { [ n, N, asciitilde ] };
410 partial alphanumeric_keys
411 xkb_symbols "mac_nodeadkeys" {
412 // modify the standard German mac layout to not have any dead keys
414 name[Group1]= "Germany - Macintosh, eliminate dead keys";
415 key <AE04> { [ 4, dollar, onequarter, currency ] };
417 key <TLDE> { [ asciicircum, degree, notsign ] };
418 key <AE12> { [ acute, grave, cedilla ] };
419 key <AD11> { [ udiaeresis, Udiaeresis, diaeresis ] };
420 key <AD12> { [ plus, asterisk, asciitilde, macron ] };
421 key <AC10> { [ odiaeresis, Odiaeresis, acute ] };
422 key <AC11> { [ adiaeresis, Adiaeresis, asciicircum ] };
424 key <BKSL> { [ numbersign, apostrophe, grave ] };
427 partial alphanumeric_keys
430 name[Group1] = "Germany - Lower Sorbian";
431 include "latin(basic)"
432 include "level3(ralt_switch)"
433 include "kpdl(comma)"
434 key <AB01> { [ z, Z, zcaron, Zcaron ] };
435 key <AB02> { [ x, X, zacute, Zacute ] };
436 key <AB03> { [ c, C, cacute, Cacute ] };
437 key <AB04> { [ v, V, ccaron, Ccaron ] };
438 key <AB06> { [ n, N, nacute, Nacute ] };
439 key <AC02> { [ s, S, sacute, Sacute ] };
440 key <AC03> { [ d, D, scaron, Scaron ] };
441 key <AC04> { [ f, F ] };
442 key <AD01> { [ q, Q ] };
443 key <AD02> { [ w, W ] };
444 key <AD03> { [ e, E, ecaron, Ecaron ] };
445 key <AD04> { [ r, R, racute, Racute ] };
446 key <AD05> { [ t, T, U20B5, EuroSign ] };
447 key <AD09> { [ o, O, oacute, Oacute ] };
450 partial alphanumeric_keys
451 xkb_symbols "dsb_qwertz"
453 name[Group1] = "Germany - Lower Sorbian (qwertz)";
454 include "latin(basic)"
455 include "level3(ralt_switch)"
456 include "kpdl(comma)"
457 key <AB01> { [ y, Y ] };
458 key <AB02> { [ x, X ] };
459 key <AB03> { [ c, C, cacute, Cacute ] };
460 key <AB04> { [ v, V, ccaron, Ccaron ] };
461 key <AB06> { [ n, N, nacute, Nacute ] };
462 key <AC02> { [ s, S, sacute, Sacute ] };
463 key <AC03> { [ d, D, scaron, Scaron ] };
464 key <AC04> { [ f, F ] };
465 key <AD01> { [ q, Q ] };
466 key <AD02> { [ w, W ] };
467 key <AD03> { [ e, E, ecaron, Ecaron ] };
468 key <AD04> { [ r, R, racute, Racute ] };
469 key <AD05> { [ t, T, U20B5, EuroSign ] };
470 key <AD06> { [ z, Z, zcaron, Zcaron ] };
471 key <AD07> { [ u, U, zacute, Zacute ] };
472 key <AD09> { [ o, O, oacute, Oacute ] };
475 partial alphanumeric_keys
476 xkb_symbols "qwerty" {
478 // This layout should work exactly as a de with the exception
479 // of 'Z' and 'Y' keys, which are in the qwerty style (ie. swapped).
480 // 2008 by Matej Košík <kosik@fiit.stuba.sk>
484 name[Group1] = "Germany - qwerty";
486 key <AB01> { [ z, Z, leftarrow, yen ] };
487 key <AD06> { [ y, Y, guillemotleft, less ] };