root/linux/X/de @ 479

Revision 479, 21.2 KB (checked in by ben, 5 years ago)

rev script angepasst, damit es mit xkbmap und xmodmap funktioniert
xkbmap und xmodmap in der Formatierung angeglichen

Line 
1
2// based on a keyboard map from an 'xkb/symbols/de' file
3//
4// $XKeyboardConfig: xkeyboard-config/symbols/de,v 1.17 2007/07/15 22:12:12 svu Exp $
5// $XFree86: xc/programs/xkbcomp/symbols/de,v 1.6 2003/09/08 13:12:51 pascal Exp $
6
7default
8xkb_symbols "basic" {
9
10    include "latin(type4)"
11
12    name[Group1]="Germany";
13
14    key <AE02>  { [         2,   quotedbl,  twosuperior,    oneeighth ] };
15    key <AE03>  { [         3,    section, threesuperior,    sterling ] };
16    key <AE04>  { [         4,     dollar,   onequarter,     currency ] };
17
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.
27
28    key <AE12>  { [dead_acute, dead_grave, dead_cedilla,  dead_ogonek ] };
29
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 ] };
34
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 ] };
38
39    key <BKSL>  { [numbersign, apostrophe,   dead_grave,   dead_breve ] };
40    key <AB01>  { [         y,          Y, guillemotleft,        less ] };
41
42    include "kpdl(comma)"
43
44    include "level3(ralt_switch)"
45};
46
47partial alphanumeric_keys
48xkb_symbols "nodeadkeys" {
49
50    // modify the basic German layout to not have any dead keys
51
52    include "de(basic)"
53    name[Group1]="Germany - Eliminate dead keys";
54
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 ] };
63};
64
65partial alphanumeric_keys
66xkb_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)
70
71    include "de(basic)"
72    name[Group1]="Germany - Dead grave acute";
73
74    key <TLDE>  { [asciicircum,    degree,      notsign,      notsign ] };
75    key <AD12>  { [      plus,   asterisk,   asciitilde,  dead_macron ] };
76    key <BKSL>  { [numbersign, apostrophe,        grave,        grave ] };
77};
78
79partial alphanumeric_keys
80xkb_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)
84
85    include "de(deadgraveacute)"
86
87    name[Group1]="Germany - Dead acute";
88
89    key <AE12>  { [dead_acute,      grave, dead_cedilla,  dead_ogonek ] };
90    key <BKSL>  { [numbersign, apostrophe,   dead_grave,   dead_grave ] };
91};
92
93partial alphanumeric_keys
94xkb_symbols "ro" {
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', 'ä (&auml)' (+<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.
100
101    include "de(basic)"
102
103    name[Group1]="Germany - Romanian keyboard with German letters";
104
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    ] };
110};
111
112partial alphanumeric_keys
113xkb_symbols "ro_nodeadkeys" {
114    // add romanian-specific letters to the German nodeadkeys layout.
115    // Read the comment for de_ro !
116
117    include "de(nodeadkeys)"
118    name[Group1]="Germany - Romanian keyboard with German letters, eliminate dead keys";
119
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       ] };
125};
126
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
132partial alphanumeric_keys
133xkb_symbols "dvorak" {
134    include "us(dvorak)"
135
136    name[Group1]="Germany - Dvorak";
137
138    key <TLDE> { [ asciicircum, degree ] };
139
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 ] };
152
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 ] };
161
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 ] };
173
174    key <AB01> { [ odiaeresis, Odiaeresis ] };
175    key <AB02> { [ q, Q, at ] };
176    key <AB07> { [ m, M, mu ] };
177    key <AB10> { [ numbersign, apostrophe ] };
178
179    key <BKSL> { [ minus, underscore, hyphen, diaeresis] };
180
181    key <LSGT> { [ adiaeresis, Adiaeresis, bar ] };
182
183    include "level3(ralt_switch)"
184};
185
186partial alphanumeric_keys
187xkb_symbols "Sundeadkeys" {
188
189    // For naming consistency
190
191    include "de(basic)"
192
193};
194
195partial alphanumeric_keys
196xkb_symbols "sundeadkeys" {
197
198    // For naming consistency
199
200    include "de(Sundeadkeys)"
201
202    name[Group1]="Germany - Sun dead keys";
203};
204
205
206// German NEO-Layout
207// adopted 2004 by Hanno Behrens <Hanno.Behrens@gmx.de>
208// inspired by Dvorak/de-ergo  http://www.goebel-consult.de/de-ergo/
209//
210// Authors:
211//      <lucky at zankt dot net>
212//      Benjamin Kellermann <Benjamin dot Kellermann at gmx dot Germany>
213//
214// Other Questions:
215//      <mailinglist at neo-layout dot org>
216//
217// Revision 479, Fr 11. Apr 13:17:49 CEST 2008
218// http://pebbles.schattenlauf.de/layout.php
219
220
221partial alphanumeric_keys modifier_keys keypad_keys
222xkb_symbols "neo" {
223
224    name[Group1]= "German Neostyle";
225
226    ////////////////////////////////////////////////////
227    // Modifier definition
228    ////////////////////////////////////////////////////
229    key.type[Group1]="EIGHT_LEVEL" ;
230
231    // hier (bei Mod3 und Mod4) sollte mal noch richtige Ebene 6 definiert werden
232    // Mod3
233    key <CAPS> { [ ISO_Level3_Shift, ISO_Level3_Shift ] };
234    key <BKSL> { [ ISO_Level3_Shift, ISO_Level3_Shift,  Caps_Lock ] };
235    // Mod4
236    key <LSGT> { [ 0xfe11,      0xfe11                ] };
237    key <RALT> { [ 0xfe11,      0xfe11                ] };
238    modifier_map mod5 { <LSGT>, <RALT> };
239
240    key.type[Group1]="EIGHT_LEVEL_SEMIALPHABETIC";
241    ////////////////////////////////////////////////////
242    // Ebenen
243    ////////////////////////////////////////////////////
244    // Ebene 1: normal
245    // Ebene 2: Shift
246    // Ebene 3: Mod3
247    // Ebene 4: Mod4 (zum Markieren Shift+Mod4)
248    // Ebene 5: Shift+Mod3
249    // Ebene 6: Mod3+Mod4 (in dieser Reihenfolge//)
250    // Compose (keine eigene Ebene): Mod3+Tab
251
252
253    ////////////////////////////////////////////////////
254    // general Lock
255    ////////////////////////////////////////////////////
256    // Einrasten über linke Win-Taste+Modifier, Lösen über nochmaliges Betätigen des Modifiers
257    // ShiftLock und Mod5Lock funktionieren, Mod3Lock lässt sich aber nicht mehr lösen!!!!
258    // TODO ?????
259
260
261    ////////////////////////////////////////////////////
262    // Tab as Multi_key (Compose)
263    ////////////////////////////////////////////////////
264          key  <TAB> { [ Tab, ISO_Left_Tab, Multi_key ] };
265
266    ////////////////////////////////////////////////////
267    // The first row (number Row)
268    ////////////////////////////////////////////////////
269    key <TLDE> { [ dead_circumflex, dead_caron,         dead_breve,             dead_stroke,        dead_belowdot,  dead_belowdot       ] };
270
271    key <AE01> { [ 1,           degree,                 onesuperior,            femalesymbol,   enfilledcircbullet, notsign             ] };
272    key <AE02> { [ 2,           numerosign,             twosuperior,            U26A5,              U2023,          logicalor           ] };
273    key <AE03> { [ 3,           section,                threesuperior,          malesymbol,         3,              logicaland          ] };
274    key <AE04> { [ 4,           guillemotright,         U203A,                  U2113,              Prior,          Prior               ] };
275    key <AE05> { [ 5,           guillemotleft,          U2039,                  dagger,             5,              implies             ] };
276    key <AE06> { [ 6,           EuroSign,               cent,                   6,                  sterling,       U2225               ] };
277
278    key <AE07> { [ 7,           dollar,                 yen,                    U03F0,              currency,       notelementof        ] };
279    key <AE08> { [ 8,           doublelowquotemark,     singlelowquotemark,     8,                  slash,          U2203               ] };
280    key <AE09> { [ 9,           leftdoublequotemark,    leftsinglequotemark,    9,                  asterisk,       U2200               ] };
281    key <AE10> { [ 0,           rightdoublequotemark,   rightsinglequotemark,   0,                  minus,          logicalor           ] };
282
283    key <AE11> { [ minus,       endash,                 emdash,                 U2011,              minus,          hyphen              ] };
284    key <AE12> { [ dead_acute,  dead_grave,             dead_cedilla,           dead_ogonek,        dead_abovedot,  dead_abovering      ] };
285
286    ////////////////////////////////////////////////////
287    // The upper row
288    ////////////////////////////////////////////////////
289    key <AD01> { [ x,           X,                      x,                      Greek_xi,           x,              Greek_XI            ] };
290    key <AD02> { [ v,           V,                      underscore,             v,                  BackSpace,      BackSpace           ] };
291    key <AD03> { [ l,           L,                      bracketleft,            Greek_lambda,       Up,             Up                  ] };
292    key <AD04> { [ c,           C,                      bracketright,           Greek_chi,          Delete,         Delete              ] };
293    key <AD05> { [ w,           W,                      asciicircum,            Greek_omega,        Insert,         Greek_OMEGA         ] };
294    key <AD06> { [ k,           K,                      exclam,                 Greek_kappa,        exclamdown,     radical             ] };
295    key <AD07> { [ h,           H,                      less,                   Greek_psi,          7,              Greek_PSI           ] };
296    key <AD08> { [ g,           G,                      greater,                Greek_gamma,        8,              Greek_GAMMA         ] };
297    key <AD09> { [ f,           F,                      equal,                  U03D5,              9,              Greek_PHI           ] };
298    key <AD10> { [ q,           Q,                      ampersand,              Greek_phi,          plus,           U211A               ] };
299    key <AD11> { [ ssharp,      U1E9E,                  U017F,              Greek_finalsmallsigma,  ssharp,         jot                 ] };
300    key <AD12> { [ dead_tilde,  dead_macron,            dead_diaeresis,         dead_doubleacute                                        ] };
301
302    ////////////////////////////////////////////////////
303    // The home row (middle row)
304    ////////////////////////////////////////////////////
305    key <AC01> { [ u,           U,                      backslash,              u,                  Home,           Home                ] };
306    key <AC02> { [ i,           I,                      slash,                  Greek_iota,         Left,           Left                ] };
307    key <AC03> { [ a,           A,                      braceleft,              Greek_alpha,        Down,           Down                ] };
308    key <AC04> { [ e,           E,                      braceright,             Greek_epsilon,      Right,          Right               ] };
309    key <AC05> { [ o,           O,                      asterisk,               Greek_omicron,      End,            End                 ] };
310    key <AC06> { [ s,           S,                      question,               Greek_sigma,        questiondown,   Greek_SIGMA         ] };
311    key <AC07> { [ n,           N,                      parenleft,              Greek_nu,           4                                   ] };
312    key <AC08> { [ r,           R,                      parenright,             Greek_rho,          5,              registered          ] };
313    key <AC09> { [ t,           T,                      minus,                  Greek_tau,          6,              trademark           ] };
314    key <AC10> { [ d,           D,                      colon,                  Greek_delta,        comma,          Greek_DELTA         ] };
315    key <AC11> { [ y,           Y,                      at,                     Greek_upsilon,      y,              nabla               ] };
316
317    ////////////////////////////////////////////////////
318    // The lower row
319    ////////////////////////////////////////////////////
320    key <AB01> { [ udiaeresis,  Udiaeresis,             numbersign,             udiaeresis,         Escape                              ] };
321    key <AB02> { [ odiaeresis,  Odiaeresis,             dollar,                 odiaeresis,         Tab,            Tab                 ] };
322    key <AB03> { [ adiaeresis,  Adiaeresis,             bar,                    Greek_eta,          Next,           Next                ] };
323    key <AB04> { [ p,           P,                      asciitilde,             Greek_pi,           Return,         Greek_PI            ] };
324    key <AB05> { [ z,           Z,                      grave,                  Greek_zeta,         z,              Greek_OMEGA         ] };
325    key <AB06> { [ b,           B,                      plus,                   Greek_beta,         b,              infinity            ] };
326    key <AB07> { [ m,           M,                      percent,                mu,                 1,              integral            ] };
327    key <AB08> { [ comma,       comma,                  quotedbl,               U03F1,              2,              radical             ] };
328    key <AB09> { [ period,      ellipsis,               apostrophe,             Greek_theta,        3,              Greek_THETA         ] };
329    key <AB10> { [ j,           J,                      semicolon,              U3D1,               period,         nabla               ] };
330
331    ////////////////////////////////////////////////////
332    // Space key
333    ////////////////////////////////////////////////////
334    key <SPCE> { [ space,       space,                  space,                  nobreakspace,       0,              U202F               ] };
335
336    ////////////////////////////////////////////////////
337    // Keypad
338    ////////////////////////////////////////////////////
339    ////////////////////////////////////////////////////
340    // The uppest row
341    ////////////////////////////////////////////////////
342    // key <NMLK> { [ Num_Lock, Pointer_EnableKeys ] };
343
344    key.type[Group1]="FOUR_LEVEL_MIXED_KEYPAD" ;
345
346    key <KPDV> { [ KP_Divide,   KP_Divide,   division,   U2215            ] };
347    key <KPMU> { [ KP_Multiply, KP_Multiply, multiply,   U22C5            ] };
348    key <KPSU> { [ KP_Subtract, KP_Subtract, U2212                        ] };
349
350    ////////////////////////////////////////////////////
351    // The upper row
352    ////////////////////////////////////////////////////
353    key  <KP7> { [ KP_Home,     KP_7,        KP_7,       U226A            ] };
354    key  <KP8> { [ KP_Up,       KP_8,        uparrow,    intersection     ] };
355    key  <KP9> { [ KP_Prior,    KP_9,        KP_9,       U226B            ] };
356    key <KPAD> { [ KP_Add,      KP_Add,      plusminus,  U2213            ] };
357
358    ////////////////////////////////////////////////////
359    // The middle row
360    ////////////////////////////////////////////////////
361    key  <KP4> { [ KP_Left,     KP_4,        leftarrow,  includedin       ] };
362    key  <KP5> { [ EuroSign,    KP_5,        dagger,     U220A            ] };
363    key  <KP6> { [ KP_Right,    KP_6,        rightarrow, includes         ] };
364
365    ////////////////////////////////////////////////////
366    // The lower row
367    ////////////////////////////////////////////////////
368    key  <KP1> { [ KP_End,      KP_1,        U21CB,      lessthanequal    ] };
369    key  <KP2> { [ KP_Down,     KP_2,        downarrow,  union            ] };
370    key  <KP3> { [ KP_Next,     KP_3,        U21CC,      greaterthanequal ] };
371    key <KPEN> { [ KP_Enter,    KP_Enter,    notequal,   U2248            ] };
372    key <KPEQ> { [ KP_Equal                                               ] };
373
374    ////////////////////////////////////////////////////
375    // The lowest row
376    ////////////////////////////////////////////////////
377    key  <KP0> { [ KP_Insert,   KP_0,        percent,    U2030            ] };
378    key <KPDL> { [ KP_Delete,   KP_Decimal,  period,     comma            ] };
379
380};
381
382// Copied from macintosh_vndr/de
383// olh@suse.de   very close to MacOS map
384
385partial alphanumeric_keys
386xkb_symbols "mac" {
387
388    include "de"
389    name[Group1]= "Germany - Macintosh";
390
391    // Alphanumeric section
392    key <AE01>  { [         1,     exclam,   exclamdown,           at ] };
393    key <AE05>  { [         5,    percent,  bracketleft       ] };
394    key <AE06>  { [         6,  ampersand, bracketright       ] };
395    key <AE07>  { [         7,      slash,          bar,    backslash ] };
396    key <AE08>  { [         8,  parenleft,    braceleft,   asciitilde ] };
397    key <AE09>  { [         9, parenright,   braceright       ] };
398    key <AD01>  { [         q,          Q, guillemotleft, guillemotright ]      };
399    key <AD04>  { [         r,          R,   registered       ] };
400    key <AD07>  { [         u,          U,    diaeresis,       Aacute ] };
401    key <AD08>  { [         i,          I,        slash,  Ucircumflex ] };
402    key <AD11>  { [ udiaeresis, Udiaeresis, periodcentered,    degree ] };
403    key <AD12>  { [      plus,   asterisk,   asciitilde       ] };
404    key <AC01>  { [         a,          A,        aring,        Aring ] };
405    key <AC05>  { [         g,          G,    copyright       ] };
406    key <AC06>  { [         h,          H,  ordfeminine       ] };
407    key <AC09>  { [         l,          L,           at       ] };
408    key <AC10>  { [ odiaeresis, Odiaeresis,  dead_acute       ] };
409    key <AB06>  { [         n,          N,   asciitilde       ] };
410
411};
412
413partial alphanumeric_keys
414xkb_symbols "mac_nodeadkeys" {
415    // modify the standard German mac layout to not have any dead keys
416    include "de(mac)"
417    name[Group1]= "Germany - Macintosh, eliminate dead keys";
418    key <AE04>  { [         4,     dollar,   onequarter,     currency ] };
419
420    key <TLDE>  { [ asciicircum,    degree,     notsign       ] };
421    key <AE12>  { [      acute,      grave,     cedilla       ] };
422    key <AD11>  { [ udiaeresis, Udiaeresis,   diaeresis       ] };
423    key <AD12>  { [       plus,   asterisk,  asciitilde,       macron ] };
424    key <AC10>  { [ odiaeresis, Odiaeresis,       acute       ] };
425    key <AC11>  { [ adiaeresis, Adiaeresis, asciicircum       ] };
426
427    key <BKSL>  { [ numbersign, apostrophe,       grave       ] };
428};
Note: See TracBrowser for help on using the browser.