root/linux/X/de @ 316

Revision 316, 19.2 KB (checked in by ben, 5 years ago)

linux/X/Weiteres entfernt und damit redundante Dateien gelöscht

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 Style
207// adopted 2004 by Hanno Behrens <Hanno.Behrens@gmx.de>
208// inspired by Dvorak/de-ergo  http://www.goebel-consult.de/de-ergo/
209// Authors:
210//      lucky (at) zankt (dot) net
211//      Benjamin (dot) Kellermann (at) gmx (dot) de
212// Other Questions:
213//   neo_layout (at) yahoogroups (dot) de
214
215partial alphanumeric_keys modifier_keys keypad_keys
216xkb_symbols "neo" {
217
218    name[Group1]= "German Neostyle";
219
220    key.type[Group1]="EIGHT_LEVEL_SEMIALPHABETIC";
221
222    // 1st row
223
224// Eigentlich sollte die folgende Zeile rein, aber auf alten Systemen ist der
225// dead_stroke noch nicht definiert.
226// Diese Zeile muss statt der folgenden benutzt werden, wenn die Composeerweiterungen
227// benutzt werden sollen, siehe auch README.Compose
228//  key <TLDE> { [ dead_circumflex, dead_caron,         dead_breve,           dead_stroke,         dead_belowdot,  dead_belowdot       ] };
229    key <TLDE> { [ dead_circumflex, dead_caron,         dead_breve,            dead_breve,         dead_belowdot,  dead_belowdot       ] };
230
231    key <AE01> { [ 1,           degree,                 onesuperior,            U2640,              enfilledcircbullet                  ] };
232    key <AE02> { [ 2,           numerosign,             twosuperior,            U26A5,              U2023                               ] };
233    key <AE03> { [ 3,           section,                threesuperior,          U2642                                                   ] };
234    key <AE04> { [ 4,           guillemotright,         U203A,                  4,                  Prior,          Prior               ] };
235    key <AE05> { [ 5,           guillemotleft,          U2039,                  5,                  5,              implies             ] };
236    key <AE06> { [ 6,           dollar,                 sterling,               currency,           6,              ifonlyif            ] };
237    key <AE07> { [ 7,           EuroSign,               cent,                   yen,                seveneighths,   notsign             ] };
238    key <AE08> { [ 8,           doublelowquotemark,     singlelowquotemark,     8,                  slash,          U2203               ] };
239    key <AE09> { [ 9,           leftdoublequotemark,    leftsinglequotemark,    9,                  asterisk,       U2200               ] };
240    key <AE10> { [ 0,           rightdoublequotemark,   rightsinglequotemark,   0,                  minus,          logicalor           ] };
241    key <AE11> { [ minus,       endash,                 emdash,                 hyphen,             U2011,          logicaland          ] };
242    key <AE12> { [ dead_acute,  dead_grave,             dead_cedilla,           dead_ogonek,        dead_abovedot,  dead_abovering      ] };
243
244    // 2nd row
245    key <AD01> { [ x,           X,                      at,                     Greek_xi,           x,              Greek_XI            ] };
246    key <AD02> { [ v,           V,                      underscore,             v,                  BackSpace,      U039B               ] };
247    key <AD03> { [ l,           L,                      bracketleft,            Greek_lambda,       Up,             Up                  ] };
248    key <AD04> { [ c,           C,                      bracketright,           Greek_chi,          Tab,            Tab                 ] };
249    key <AD05> { [ w,           W,                      asciicircum,            w,                  Insert,         Insert              ] };
250    key <AD06> { [ k,           K,                      exclam,                 Greek_kappa,        exclamdown,     copyright           ] };
251    key <AD07> { [ h,           H,                      less,                   Greek_psi,          7,              Greek_PSI           ] };
252    key <AD08> { [ g,           G,                      greater,                Greek_gamma,        8,              Greek_GAMMA         ] };
253    key <AD09> { [ f,           F,                      equal,                  Greek_phi,          9,              Greek_PHI           ] };
254    key <AD10> { [ q,           Q,                      ampersand,              U0278,              plus,           partialderivative   ] };
255    key <AD11> { [ ssharp,      U1E9E,                  U017F,              Greek_finalsmallsigma,  schwa,          SCHWA               ] };
256    key <AD12> { [ dead_tilde,  dead_macron,            dead_diaeresis,         dead_doubleacute                                        ] };
257
258    // 3rd row
259    key <AC01> { [ u,           U,                      backslash,              u,                  Home,           Home                ] };
260    key <AC02> { [ i,           I,                      slash,                  Greek_iota,         Left,           Left                ] };
261    key <AC03> { [ a,           A,                      braceleft,              Greek_alpha,        Down,           Down                ] };
262    key <AC04> { [ e,           E,                      braceright,             Greek_epsilon,      Right,          Right               ] };
263    key <AC05> { [ o,           O,                      asterisk,               Greek_omega,        End,            End                 ] };
264    key <AC06> { [ s,           S,                      question,               Greek_sigma,        questiondown,   Greek_SIGMA         ] };
265    key <AC07> { [ n,           N,                      parenleft,              Greek_nu,           4                                   ] };
266    key <AC08> { [ r,           R,                      parenright,             Greek_rho,          5,              registered          ] };
267    key <AC09> { [ t,           T,                      minus,                  Greek_tau,          6,              trademark           ] };
268    key <AC10> { [ d,           D,                      colon,                  Greek_delta,        comma,          Greek_DELTA         ] };
269    key <AC11> { [ y,           Y,                      doublelowquotemark,     Greek_upsilon,      thorn,          THORN               ] };
270
271    // 4th row
272    key <AB01> { [ udiaeresis,  Udiaeresis,             numbersign,             udiaeresis,         Escape                              ] };
273    key <AB02> { [ odiaeresis,  Odiaeresis,             dollar,                 odiaeresis,         Delete,         Delete              ] };
274    key <AB03> { [ adiaeresis,  Adiaeresis,             bar,                    Greek_eta,          Next,           Next                ] };
275    key <AB04> { [ p,           P,                      asciitilde,             Greek_pi,           Return,         Greek_PI            ] };
276    key <AB05> { [ z,           Z,                      grave,                  Greek_zeta,         z,              Greek_OMEGA         ] };
277    key <AB06> { [ b,           B,                      plus,                   Greek_beta,         b,              infinity ] };
278    key <AB07> { [ m,           M,                      percent,                mu,                 1,              integral            ] };
279    key <AB08> { [ comma,       comma,                  apostrophe,             U03F1,              2,              radical             ] };
280    key <AB09> { [ period,      ellipsis,               quotedbl,               Greek_theta,        3,              Greek_THETA         ] };
281    key <AB10> { [ j,           J,                      semicolon,              U3D1,               period,         nabla               ] };
282
283    key <SPCE> { [ space,       space,                  space,                  nobreakspace,       0,              U202F               ] };
284   
285    // new modkeys   
286    key.type[Group1]="EIGHT_LEVEL" ;
287
288    key <CAPS> { [ ISO_Level3_Shift, ISO_Level3_Shift,  Caps_Lock,              Caps_Lock,          Multi_key,      Multi_key           ] };
289    key <BKSL> { [ ISO_Level3_Shift, ISO_Level3_Shift,  Caps_Lock,              Caps_Lock,          Multi_key,      Multi_key           ] };
290    key <LSGT> { [ 0xfe11,      0xfe11,                 Multi_key,              Multi_key,          Caps_Lock,      Caps_Lock           ] };
291    key <RALT> { [ 0xfe11,      0xfe11,                 Multi_key,              Multi_key,          KP_Decimal,     Caps_Lock           ] };
292
293    modifier_map mod5 { <LSGT>, <RALT> };
294    // Keypad
295
296         // key <NMLK> { [ Num_Lock, Pointer_EnableKeys ] };
297
298        key.type[Group1]="FOUR_LEVEL_MIXED_KEYPAD" ;
299
300        key <KPDV> { [ KP_Divide,   KP_Divide,   division,   U2215 ] };
301        key <KPMU> { [ KP_Multiply, KP_Multiply, multiply,   U22C5 ] };
302        key <KPSU> { [ KP_Subtract, KP_Subtract, U2212             ] };
303       
304        key  <KP7> { [ KP_Home,     KP_7,        KP_7,       U226A ] };
305        key  <KP8> { [ KP_Up,       KP_8,        uparrow,    U2229 ] };
306        key  <KP9> { [ KP_Prior,    KP_9,        KP_9,       U226B ] };
307        key <KPAD> { [ KP_Add,      KP_Add,      plusminus,  U2213 ] };
308       
309        key  <KP4> { [ KP_Left,     KP_4,        leftarrow,  U2282 ] };
310        key  <KP5> { [ EuroSign,    KP_5,        dagger,     U220A ] };
311        key  <KP6> { [ KP_Right,    KP_6,        rightarrow, U2283 ] };
312
313        key  <KP1> { [ KP_End,      KP_1,        U21CB,      U2264 ] };
314        key  <KP2> { [ KP_Down,     KP_2,        downarrow,  U222A ] };
315        key  <KP3> { [ KP_Next,     KP_3,        U21CC,      U2265 ] };
316        key <KPEN> { [ KP_Enter,    KP_Enter,    notequal,   U2248 ] };
317        key <KPEQ> { [ KP_Equal                                    ] };
318
319        key  <KP0> { [ KP_Insert,   KP_0,        percent,    U2030 ] };
320        key <KPDL> { [ KP_Delete,   KP_Decimal,  period,     comma ] };
321
322};
323 
324// Copied from macintosh_vndr/de
325// olh@suse.de   very close to MacOS map
326
327partial alphanumeric_keys
328xkb_symbols "mac" {
329
330    include "de"
331    name[Group1]= "Germany - Macintosh";
332
333    // Alphanumeric section
334    key <AE01>  { [         1,     exclam,   exclamdown,           at ] };
335    key <AE05>  { [         5,    percent,  bracketleft       ] };
336    key <AE06>  { [         6,  ampersand, bracketright       ] };
337    key <AE07>  { [         7,      slash,          bar,    backslash ] };
338    key <AE08>  { [         8,  parenleft,    braceleft,   asciitilde ] };
339    key <AE09>  { [         9, parenright,   braceright       ] };
340    key <AD01>  { [         q,          Q, guillemotleft, guillemotright ]      };
341    key <AD04>  { [         r,          R,   registered       ] };
342    key <AD07>  { [         u,          U,    diaeresis,       Aacute ] };
343    key <AD08>  { [         i,          I,        slash,  Ucircumflex ] };
344    key <AD11>  { [ udiaeresis, Udiaeresis, periodcentered,    degree ] };
345    key <AD12>  { [      plus,   asterisk,   asciitilde       ] };
346    key <AC01>  { [         a,          A,        aring,        Aring ] };
347    key <AC05>  { [         g,          G,    copyright       ] };
348    key <AC06>  { [         h,          H,  ordfeminine       ] };
349    key <AC09>  { [         l,          L,           at       ] };
350    key <AC10>  { [ odiaeresis, Odiaeresis,  dead_acute       ] };
351    key <AB06>  { [         n,          N,   asciitilde       ] };
352
353};
354
355partial alphanumeric_keys
356xkb_symbols "mac_nodeadkeys" {
357    // modify the standard German mac layout to not have any dead keys
358    include "de(mac)"
359    name[Group1]= "Germany - Macintosh, eliminate dead keys";
360    key <AE04>  { [         4,     dollar,   onequarter,     currency ] };
361
362    key <TLDE>  { [ asciicircum,    degree,     notsign       ] };
363    key <AE12>  { [      acute,      grave,     cedilla       ] };
364    key <AD11>  { [ udiaeresis, Udiaeresis,   diaeresis       ] };
365    key <AD12>  { [       plus,   asterisk,  asciitilde,       macron ] };
366    key <AC10>  { [ odiaeresis, Odiaeresis,       acute       ] };
367    key <AC11>  { [ adiaeresis, Adiaeresis, asciicircum       ] };
368
369    key <BKSL>  { [ numbersign, apostrophe,       grave       ] };
370};
Note: See TracBrowser for help on using the browser.