de revision 154daed1
1 2// based on a keyboard map from an 'xkb/symbols/de' file 3// 4// $XKeyboardConfig: xkeyboard-config/symbols/de,v 1.18 2007-10-07 21:20:08 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', 'ä (ä)' (+<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 Eurokeys-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 210partial alphanumeric_keys 211xkb_symbols "neo" { 212 213 include "us(dvorak)" 214 215 name[Group1]= "Germany - Neostyle"; 216 217 key <TLDE> { [ dead_circumflex, degree, notsign, paragraph ] }; 218 219 key <AE01> { [ 1, exclam, exclamdown, onesuperior ] }; 220 key <AE02> { [ 2, quotedbl, dead_diaeresis, twosuperior ] }; 221 key <AE03> { [ 3, paragraph, sterling, threesuperior ] }; 222 key <AE04> { [ 4, dollar, currency, onequarter ] }; 223 key <AE05> { [ 5, percent, bar, onehalf ] }; 224 key <AE06> { [ 6, ampersand, brokenbar, threequarters ] }; 225 key <AE07> { [ 7, slash, braceleft, division ] }; 226 key <AE08> { [ 8, parenleft, bracketleft, guillemotleft ] }; 227 key <AE09> { [ 9, parenright, bracketright, guillemotright ] }; 228 key <AE10> { [ 0, equal, braceright ] }; 229 key <AE11> { [ minus, underscore, hyphen, diaeresis ] }; 230 key <AE12> { [ dead_acute,dead_grave, dead_cedilla, dead_ogonek ] }; 231 232 key <AD01> { [ q, Q, at ] }; 233 key <AD02> { [ v, V, masculine, ordfeminine ] }; 234 key <AD03> { [ l, L, lstroke, Lstroke ] }; 235 key <AD04> { [ c, C, ccedilla,copyright ] }; 236 key <AD05> { [ w, W, Greek_omega, Greek_OMEGA ] }; 237 key <AD06> { [ k, K, Greek_kappa, Greek_KAPPA ] }; 238 key <AD07> { [ h, H, Greek_epsilon, Greek_EPSILON ] }; 239 key <AD08> { [ g, G, Greek_gamma, Greek_GAMMA ] }; 240 key <AD09> { [ f, F, ordfeminine ] }; 241 key <AD10> { [ j, J, Greek_iota, Greek_IOTA ] }; 242 key <AD11> { [ ssharp, question, backslash, questiondown ] }; 243 key <AD12> { [ plus, asterisk, dead_tilde, plusminus ] }; 244 245 key <AC01> { [ u, U, Greek_delta, Greek_DELTA ] }; 246 key <AC02> { [ i, I, idotless, Iabovedot ] }; 247 key <AC03> { [ a, A, at, Greek_alpha ] }; 248 key <AC04> { [ e, E, EuroSign, cent ] }; 249 key <AC05> { [ o, O, oslash, Ooblique ] }; 250 key <AC06> { [ s, S, Greek_sigma, Greek_SIGMA ] }; 251 key <AC07> { [ n, N, Greek_nu, Greek_NU ] }; 252 key <AC08> { [ r, R, registered,trademark ] }; 253 key <AC09> { [ t, T, thorn, THORN ] }; //Greek_theta, Greek_THETA/tcedilla, Tcedilla 254 key <AC10> { [ d, D, eth, ETH ] }; 255 key <AC11> { [ y, Y, yen ] }; 256 key <BKSL> { [ numbersign, apostrophe, grave ] }; 257 258 259 key <LSGT> { [ less, greater, guillemotleft, guillemotright ] }; 260 key <AB01> { [ odiaeresis, Odiaeresis, oe, OE ] }; 261 key <AB02> { [ udiaeresis,Udiaeresis, apostrophe, asciitilde ] }; 262 key <AB03> { [ adiaeresis, Adiaeresis, ae, AE ] }; 263 key <AB04> { [ p, P, thorn, THORN ] }; 264 key <AB05> { [ z, Z, Greek_zeta, Greek_ZETA ] }; 265 key <AB06> { [ b, B, Greek_beta, Greek_BETA ] }; 266 key <AB07> { [ m, M, mu, Greek_MU ] }; 267 key <AB08> { [ comma, semicolon, dead_cedilla, cedilla ] }; 268 key <AB09> { [ period, colon, periodcentered ] }; 269 key <AB10> { [ x, X, multiply ] }; 270 271 key <SPCE> { [ space, space, nobreakspace, nobreakspace ] }; 272 273 274 // End "Editing" section, begin "Keypad" 275// key <NMLK> { [ Num_Lock, Pointer_EnableKeys ] }; 276 277// Ungrab cancels server/keyboard/pointer grabs 278// key <KPDV> { [KP_Divide, KP_Divide, division] }; 279 280// ClsGrb kills whichever client has a grab in effect 281// key <KPMU> { [KP_Multiply, KP_Multiply, periodcentered] }; 282 283// -VMode switches to the previous video mode 284// key <KPSU> { [ KP_Subtract, KP_Subtract, notsign] }; 285 286 key <KP7> { [ KP_Home, KP_7, seveneighths, oneeighth ] }; 287 key <KP8> { [ KP_Up, KP_8, uparrow, fiveeighths ] }; 288 key <KP9> { [ KP_Prior, KP_9, threeeighths, threeeighths ] }; 289 290// +VMode switches to the next video mode 291// key <KPAD> { [ KP_Add, KP_Add, plusminus ] }; 292 293 key <KP4> { [ KP_Left, KP_4, leftarrow, onequarter ] }; 294 key <KP5> { [ KP_Begin, KP_5, dagger, onehalf ] }; 295 key <KP6> { [ KP_Right, KP_6, rightarrow, threequarters ] }; 296 297 key <KP1> { [ KP_End, KP_1, onesuperior, onesuperior ] }; 298 key <KP2> { [ KP_Down, KP_2, downarrow, twosuperior ] }; 299 key <KP3> { [ KP_Next, KP_3, threesuperior, threesuperior ] }; 300 key <KPEN> { [ KP_Enter ] }; 301 key <KPEQ> { [ KP_Equal ] }; 302 303 key <KP0> { [ KP_Insert, KP_0, percent, degree ] }; 304 key <KPDL> { [ KP_Delete, KP_Decimal, periodcentered, comma ] }; 305 // End "Keypad" section 306 307 include "level3(ralt_switch)" 308}; 309 310// Copied from macintosh_vndr/de 311// olh@suse.de very close to MacOS map 312 313partial alphanumeric_keys 314xkb_symbols "mac" { 315 316 include "de" 317 name[Group1]= "Germany - Macintosh"; 318 319 // Alphanumeric section 320 key <AE01> { [ 1, exclam, exclamdown, at ] }; 321 key <AE05> { [ 5, percent, bracketleft ] }; 322 key <AE06> { [ 6, ampersand, bracketright ] }; 323 key <AE07> { [ 7, slash, bar, backslash ] }; 324 key <AE08> { [ 8, parenleft, braceleft, asciitilde ] }; 325 key <AE09> { [ 9, parenright, braceright ] }; 326 key <AD01> { [ q, Q, guillemotleft, guillemotright ] }; 327 key <AD04> { [ r, R, registered ] }; 328 key <AD07> { [ u, U, diaeresis, Aacute ] }; 329 key <AD08> { [ i, I, slash, Ucircumflex ] }; 330 key <AD11> { [ udiaeresis, Udiaeresis, periodcentered, degree ] }; 331 key <AD12> { [ plus, asterisk, asciitilde ] }; 332 key <AC01> { [ a, A, aring, Aring ] }; 333 key <AC05> { [ g, G, copyright ] }; 334 key <AC06> { [ h, H, ordfeminine ] }; 335 key <AC09> { [ l, L, at ] }; 336 key <AC10> { [ odiaeresis, Odiaeresis, dead_acute ] }; 337 key <AB06> { [ n, N, asciitilde ] }; 338 339}; 340 341partial alphanumeric_keys 342xkb_symbols "mac_nodeadkeys" { 343 // modify the standard German mac layout to not have any dead keys 344 include "de(mac)" 345 name[Group1]= "Germany - Macintosh, eliminate dead keys"; 346 key <AE04> { [ 4, dollar, onequarter, currency ] }; 347 348 key <TLDE> { [ asciicircum, degree, notsign ] }; 349 key <AE12> { [ acute, grave, cedilla ] }; 350 key <AD11> { [ udiaeresis, Udiaeresis, diaeresis ] }; 351 key <AD12> { [ plus, asterisk, asciitilde, macron ] }; 352 key <AC10> { [ odiaeresis, Odiaeresis, acute ] }; 353 key <AC11> { [ adiaeresis, Adiaeresis, asciicircum ] }; 354 355 key <BKSL> { [ numbersign, apostrophe, grave ] }; 356}; 357