// Keyboard layouts for Sweden. default partial alphanumeric_keys xkb_symbols "basic" { include "latin(type2)" include "se(se)" }; partial alphanumeric_keys xkb_symbols "se" { name[Group1]="Swedish"; key { [ section, onehalf, paragraph, threequarters] }; key { [ 5, percent, EuroSign, cent ] }; key { [ plus, question, backslash, questiondown ] }; key { [dead_acute, dead_grave, plusminus, notsign ] }; key { [odiaeresis, Odiaeresis, oslash, Oslash ] }; key { [adiaeresis, Adiaeresis, ae, AE ] }; key { [apostrophe, asterisk, acute, multiply ] }; key { [ less, greater, bar, brokenbar ] }; key { [ space, space, space, nobreakspace ] }; include "kpdl(comma)" include "level3(ralt_switch)" }; partial alphanumeric_keys xkb_symbols "nodeadkeys" { // Modifies the basic Swedish layout to eliminate all dead keys include "latin(type2)" include "latin(type2_nodeadkeys)" include "se(se)" name[Group1]="Swedish (no dead keys)"; key { [ acute, grave, plusminus, notsign ] }; }; // Swedish Dvorak partial alphanumeric_keys xkb_symbols "dvorak" { include "se(basic)" name[Group1]="Swedish (Dvorak)"; key { [ aring, Aring, backslash ] }; key { [ adiaeresis, Adiaeresis, braceleft, bracketleft ] }; key { [ odiaeresis, Odiaeresis, braceright, bracketright ] }; key { [ p, P, thorn, THORN ] }; key { [ y, Y, leftarrow, yen ] }; key { [ f, F, dstroke, ordfeminine ] }; key { [ g, G, eng, ENG ] }; key { [ c, C, copyright, copyright ] }; key { [ r, R, registered, registered ] }; key { [ l, L, lstroke, Lstroke ] }; key { [ comma, semicolon, dead_cedilla, dead_ogonek ] }; key { [ dead_diaeresis, dead_circumflex, dead_tilde, asciicircum ] }; key { [ a, A, ae, AE ] }; key { [ o, O, oe, OE ] }; key { [ e, E, EuroSign, cent ] }; key { [ u, U, downarrow, uparrow ] }; key { [ i, I, rightarrow, idotless ] }; key { [ d, D, eth, ETH ] }; key { [ h, H, hstroke, Hstroke ] }; key { [ t, T, tslash, Tslash ] }; key { [ n, N ] }; key { [ s, S, ssharp, section ] }; key { [ minus, underscore, dead_belowdot, dead_abovedot ] }; key { [ period, colon, periodcentered, dead_abovedot ] }; key { [ q, Q, at, Greek_OMEGA ] }; key { [ j, J ] }; key { [ k, K, kra, ampersand ] }; key { [ x, X, guillemotright, greater ] }; key { [ b, B, rightdoublequotemark, apostrophe ] }; key { [ m, M, mu, masculine ] }; key { [ w, W, lstroke, Lstroke ] }; key { [ v, V, leftdoublequotemark, grave ] }; key { [ z, Z, guillemotleft, less ] }; }; // Ivan Popov, 2005-07-17 // phonetic layout for Russian cyrillic letters // on Swedish (latin type2) keyboards // level3 modifier is a shortcut to the "se" meaning of the keys where // we place cyrillic letters, handy for accessing the corresponding // punctuation marks. // It is important to have access to punctuation marks, and the rest of // alphabetical keys are added for being consequent so that the users // can expect the level3 modifier to give what the key label shows. partial alphanumeric_keys xkb_symbols "rus" { include "se(basic)" name[Group1]="Russian (Sweden, phonetic)"; key.type[group1]="ALPHABETIC"; key { [ Cyrillic_io, Cyrillic_IO ] }; key { [ Cyrillic_hardsign, Cyrillic_HARDSIGN ] }; key { [ Cyrillic_ya, Cyrillic_YA ] }; key { [ Cyrillic_ve, Cyrillic_VE ] }; key { [ Cyrillic_ie, Cyrillic_IE ] }; key { [ Cyrillic_er, Cyrillic_ER ] }; key { [ Cyrillic_te, Cyrillic_TE ] }; key { [ Cyrillic_yeru, Cyrillic_YERU ] }; key { [ Cyrillic_u, Cyrillic_U ] }; key { [ Cyrillic_i, Cyrillic_I ] }; key { [ Cyrillic_o, Cyrillic_O ] }; key { [ Cyrillic_pe, Cyrillic_PE ] }; key { [ Cyrillic_e, Cyrillic_E ] }; key { [ Cyrillic_a, Cyrillic_A ] }; key { [ Cyrillic_es, Cyrillic_ES ] }; key { [ Cyrillic_de, Cyrillic_DE ] }; key { [ Cyrillic_ef, Cyrillic_EF ] }; key { [ Cyrillic_ghe, Cyrillic_GHE ] }; key { [ Cyrillic_ha, Cyrillic_HA ] }; key { [ Cyrillic_shorti, Cyrillic_SHORTI ] }; key { [ Cyrillic_ka, Cyrillic_KA ] }; key { [ Cyrillic_el, Cyrillic_EL ] }; key { [ Cyrillic_sha, Cyrillic_SHA ] }; key { [ Cyrillic_shcha, Cyrillic_SHCHA ] }; key { [ Cyrillic_yu, Cyrillic_YU ] }; key { [ Cyrillic_che, Cyrillic_CHE ] }; key { [ Cyrillic_ze, Cyrillic_ZE ] }; key { [ Cyrillic_softsign, Cyrillic_SOFTSIGN ] }; key { [ Cyrillic_tse, Cyrillic_TSE ] }; key { [ Cyrillic_zhe, Cyrillic_ZHE ] }; key { [ Cyrillic_be, Cyrillic_BE ] }; key { [ Cyrillic_en, Cyrillic_EN ] }; key { [ Cyrillic_em, Cyrillic_EM ] }; }; partial alphanumeric_keys xkb_symbols "rus_nodeadkeys" { include "se(nodeadkeys)" include "se(rus)" name[Group1]="Russian (Sweden, phonetic, no dead keys)"; key { [ Cyrillic_hardsign, Cyrillic_HARDSIGN ] }; }; xkb_symbols "smi" { include "fi(smi)" name[Group1]= "Northern Saami (Sweden)"; }; // Copied from macintosh_vndr/se partial alphanumeric_keys xkb_symbols "mac" { // Describes the differences between a very simple en_US // keyboard and a very simple Swedish(Sweden) keyboard. include "latin" name[Group1]= "Swedish (Macintosh)"; key { [ section, degree ] }; key { [ 1, exclam, copyright, exclamdown ] }; key { [ 2, quotedbl, at, oneeighth ] }; key { [ 3, numbersign, sterling, yen ] }; key { [ 4, currency, dollar, cent ] }; key { [ 6, ampersand ] }; key { [ 7, slash, bar, backslash ] }; key { [ 8, parenleft, bracketleft, braceleft ] }; key { [ 9, parenright, bracketright, braceright ] }; key { [ 0, equal ] }; key { [ plus, question ] }; key { [ acute, grave ] }; key { [ aring, Aring ] }; key { [ diaeresis, asciicircum, asciitilde ] }; key { [ odiaeresis, Odiaeresis, oslash, Oslash ] }; key { [ adiaeresis, Adiaeresis, ae, AE ] }; key { [ apostrophe, asterisk, at ] }; key { [ comma, semicolon ] }; key { [ period, colon ] }; key { [ minus, underscore ] }; include "kpdl(comma)" include "level3(ralt_switch)" }; // Svdvorak // This version of Dvorak follows danish and norwegian style in hope for a // Scandinavian standard. partial alphanumeric_keys xkb_symbols "svdvorak" { include "se(basic)" name[Group1]="Swedish (Svdvorak)"; key { [ aring, Aring, braceleft ] }; key { [ comma, semicolon, bracketleft ] }; key { [ period, colon, bracketright ] }; key { [ p, P, braceright ] }; key { [ y, Y ] }; key { [ f, F ] }; key { [ g, G ] }; key { [ c, C ] }; key { [ r, R ] }; key { [ l, L ] }; key { [ apostrophe, asterisk ] }; key { [ a, A ] }; key { [ o, O, parenleft ] }; key { [ e, E, parenright ] }; key { [ u, U ] }; key { [ i, I ] }; key { [ d, D ] }; key { [ h, H ] }; key { [ t, T ] }; key { [ n, N ] }; key { [ s, S, ssharp, U1E9E ] }; key { [ minus, underscore ] }; key { [ less, greater, bar ] }; key { [ odiaeresis, Odiaeresis ] }; key { [ adiaeresis, Adiaeresis ] }; key { [ q, Q ] }; key { [ j, J ] }; key { [ k, K ] }; key { [ x, X ] }; key { [ b, B ] }; key { [ m, M ] }; key { [ w, W ] }; key { [ v, V ] }; key { [ z, Z ] }; }; partial alphanumeric_keys xkb_symbols "swl" { // // Swedish Sign Language // ISO_639-3 language code: swl // (called “svenskt teckenspråk” in swedish) // // Author: Saašha Metsärantala saasha@acc.umu.se // // A sans-serif font is available at // http://www.acc.umu.se/home/saasha/typsnitt/swl_sans.ttf // include "se(basic)" name[Group1]="Swedish Sign Language"; key { [ 0x110c925, 0x110c95f, 0x110c940, 0x110c99a ] }; key { [ 0x110c96b, 0x110c933, 0x110c920, 0x110c98e ] }; key { [ 0x110c949, 0x110c94b, 0x110c921, 0x110c99f ] }; key { [ 0x110c923, 0x110c92d, 0x110c95c, 0x110c96e ] }; key { [ 0x110c93b, 0x110c927, 0x110c908, 0x110c9a6 ] }; key { [ 0x110c93a, 0x110c94c, 0x110c93e, 0x110c9a7 ] }; key { [ 0x110c95b, 0x110c93f, 0x110c907, 0x110c992 ] }; key { [ 0x110c973, 0x110c924, 0x110c93c, 0x110c9a4 ] }; key { [ 0x110c972, 0x110c945, 0x110c91a, 0x110c99c ] }; key { [ 0x110c979, 0x110c929, 0x110c916, 0x110c999 ] }; key { [ 0x110c976, 0x110c975, 0x110c917, 0x110c994 ] }; key { [ 0x110c95a, 0x110c926, 0x110c918, 0x110c996 ] }; key { [ 0x110c96f, 0x110c932, 0x110c915, 0x110c998 ] }; key { [ 0x110c942, 0x110c922, 0x110c913, 0x110c9a2 ] }; key { [ 0x110c985, 0x110c94e, 0x110c914, 0x110c97a ] }; key { [ 0x110c928, 0x110c948, 0x110c919, 0x110c9a5 ] }; key { [ 0x110c970, 0x110c92b, 0x110c905, 0x110c991 ] }; key { [ 0x110c92e, 0x110c944, 0x110c904, VoidSymbol ] }; key { [ 0x110c96c, 0x110c92a, 0x110c900, 0x110c9a1 ] }; key { [ 0x110c971, 0x110c930, 0x110c903, 0x110c99e ] }; key { [ 0x110c987, 0x110c947, 0x110c90c, 0x110c96d ] }; key { [ 0x110c986, 0x110c92c, 0x110c91b, 0x110c993 ] }; key { [ 0x110c939, 0x110c94a, 0x110c911, 0x110c995 ] }; key { [ 0x110c952, 0x110c943, 0x110c912, 0x110c99b ] }; key { [ 0x110c978, 0x110c977, 0x110c95e, 0x110c9a3 ] }; key { [ 0x110c951, 0x110c931, 0x110c91e, 0x110c997 ] }; key { [ 0x110c90e, 0x110c946, 0x110c906, 0x110c9a0 ] }; key { [ 0x110c91f, 0x110c961, 0x110c91c, VoidSymbol ] }; key { [ 0x110c93d, 0x110c92f, 0x110c902, VoidSymbol ] }; key { [ 0x110c953, 0x110c936, 0x110c988, 0x110c962 ] }; key { [ 0x110c954, 0x110c957, 0x110c97d, 0x110c963 ] }; key { [ 0x110c934, 0x110c937, 0x110c97e, 0x110c983 ] }; key { [ 0x110c955, 0x110c958, 0x110c98a, 0x110c984 ] }; key { [ 0x110c935, 0x110c938, 0x110c97f, 0x110c966 ] }; key { [ 0x110c956, 0x110c959, 0x110c980, 0x110c967 ] }; key { [ 0x110c960, 0x110c969, 0x110c982, 0x110c96a ] }; key { [ 0x110c97c, 0x110c90b, 0x110c989, 0x110c964 ] }; key { [ 0x110c97b, 0x110c90a, 0x110c98b, 0x110c965 ] }; key { [ 0x110c974, 0x110c909, 0x110c98c, 0x110c968 ] }; }; partial alphanumeric_keys xkb_symbols "us" { include "us" name[Group1]="Swedish (US)"; key { [ NoSymbol, NoSymbol, odiaeresis, Odiaeresis ] }; key { [ NoSymbol, NoSymbol, adiaeresis, Adiaeresis ] }; key { [ NoSymbol, NoSymbol, aring, Aring ] }; include "level3(ralt_switch)" }; // EXTRAS: partial alphanumeric_keys xkb_symbols "sun_type6" { include "sun_vndr/se(sun_type6)" }; partial alphanumeric_keys xkb_symbols "dvorak_a5" { include "se(basic)" name[Group1]="Swedish (Dvorak A5)"; key { [ dead_acute, dead_grave, plusminus, none ] }; key { [ aring, Aring, braceleft, none ] }; key { [ adiaeresis, Adiaeresis, braceright, none ] }; key { [ odiaeresis, Odiaeresis, bracketleft, none ] }; key { [ p, P, bracketright, none ] }; key { [ y, Y, dollar, none ] }; key { [ f, F, quotedbl, none ] }; key { [ g, G, question, none ] }; key { [ c, C, ampersand, none ] }; key { [ r, R, less, none ] }; key { [ l, L, greater, none ] }; key { [ comma, semicolon, dead_cedilla, none ] }; key { [ dead_diaeresis, dead_circumflex, dead_tilde, asciicircum ] }; key { [ a, A, semicolon, none ] }; key { [ o, O, slash, none ] }; key { [ e, E, parenleft, none ] }; key { [ u, U, parenright, none ] }; key { [ i, I, bar, none ] }; key { [ d, D, numbersign, none ] }; key { [ h, H, asciicircum, none ] }; key { [ t, T, numbersign, none ] }; key { [ n, N, quotedbl, none ] }; key { [ s, S, asciitilde, none ] }; key { [ minus, underscore, grave, none ] }; key { [ period, colon, colon, none ] }; key { [ q, Q, equal, none ] }; key { [ j, J, at, none ] }; key { [ k, K, exclam, none ] }; key { [ x, X, backslash, none ] }; key { [ b, B, percent, none ] }; key { [ m, M, grave, none ] }; key { [ w, W, lstroke, none ] }; key { [ v, V, leftdoublequotemark, none ] }; key { [ z, Z, guillemotleft, none ] }; key { [ apostrophe, asterisk, asterisk, none ] }; }; partial alphanumeric_keys xkb_symbols "ovd" { // Adds combining ogonek (U0328) to the basic Swedish layout to facilitate // typing of Ą ą Ę ę Į į Ų ų Y̨ y̨ Ą̊ ą̊. // The character replaces which is considered dispensable // since ä and ö have their own keys. is still available // via + Å. include "se(basic)" name[Group1]="Elfdalian (Swedish, with combining ogonek)"; key { [ U0328, dead_circumflex, dead_tilde, dead_caron ] }; }; // us_dvorak // Author Thomas Lundqvist http://tlundqvist.org/sv_dvorak/ partial alphanumeric_keys xkb_symbols "us_dvorak" { include "us(dvorak-intl)" name[Group1]="Swedish (Dvorak, intl.)"; key { [ apostrophe, asciitilde, grave, dead_tilde ] }; key { [ 2, quotedbl, at ] }; key { [ 6, asciicircum, dead_circumflex ] }; key { [ aring, Aring, dead_acute ] }; key { [ minus, underscore, bar, dead_macron ] }; key { [ adiaeresis, Adiaeresis, dead_grave, dead_ogonek ] }; key { [ odiaeresis, Odiaeresis, dead_diaeresis, dead_belowdot ] }; key { [ semicolon, colon, backslash ] }; include "kpdl(comma)" include "level3(ralt_switch)" };