// 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, permille ]}; key {[ 6, ampersand, yen, radical ]}; key {[ plus, question, backslash, questiondown ]}; key {[dead_acute, dead_grave, plusminus, notsign ]}; key {[ q, Q, Greek_omega, Greek_OMEGA ]}; key {[ w, W, Greek_sigma, Greek_SIGMA ]}; key {[ r, R, registered, trademark ]}; key {[ p, P, Greek_pi, Greek_PI ]}; key {[ k, K, kra, dagger ]}; key {[odiaeresis, Odiaeresis, oslash, Oslash ]}; key {[adiaeresis, Adiaeresis, ae, AE ]}; key {[apostrophe, asterisk, acute, multiply ]}; key {[ less, greater, bar, brokenbar ]}; key {[ c, C, copyright, U1F12F ]}; // 🄯 (copyleft) key {[ period, colon, periodcentered, ellipsis ]}; key {[ space, space, space, nobreakspace ]}; include "kpdl(comma)" include "level3(ralt_switch)" }; // The basic Swedish layout but without any dead symbols. partial alphanumeric_keys xkb_symbols "nodeadkeys" { include "latin(type2)" include "latin(type2_nodeadkeys)" include "se(se)" name[Group1]="Swedish (no dead keys)"; key {[ acute, grave, plusminus, notsign ]}; }; // A Dvorak layout for Swedish. 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 ]}; }; // A phonetic layout for typing Russian on a Swedish keyboard. // Originally by Ivan Popov , 2005. 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 ]}; }; xkb_symbols "smi" { include "fi(smi)" name[Group1]= "Northern Saami (Sweden)"; }; partial alphanumeric_keys xkb_symbols "mac" { 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 {[ e, E, EuroSign, cent ]}; 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)" }; // This version of Dvorak follows the Danish and Norwegian style, // hoping for a Scandinavian standard to evolve. 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 ]}; }; // A layout for Swedish Sign Language (“Svenskt teckenspråk”). // Originally by: Saašha Metsärantala // // A sans-serif font is available at // http://www.acc.umu.se/home/saasha/typsnitt/swl_sans.ttf partial alphanumeric_keys xkb_symbols "swl" { include "se(basic)" name[Group1]="Swedish Sign Language"; key {[ U10c953, U10c936, U10c988, U10c962 ]}; key {[ U10c954, U10c957, U10c97d, U10c963 ]}; key {[ U10c934, U10c937, U10c97e, U10c983 ]}; key {[ U10c955, U10c958, U10c98a, U10c984 ]}; key {[ U10c935, U10c938, U10c97f, U10c966 ]}; key {[ U10c956, U10c959, U10c980, U10c967 ]}; key {[ U10c960, U10c969, U10c982, U10c96a ]}; key {[ U10c97c, U10c90b, U10c989, U10c964 ]}; key {[ U10c97b, U10c90a, U10c98b, U10c965 ]}; key {[ U10c974, U10c909, U10c98c, U10c968 ]}; key {[ U10c96c, U10c92a, U10c900, U10c9a1 ]}; key {[ U10c971, U10c930, U10c903, U10c99e ]}; key {[ U10c987, U10c947, U10c90c, U10c96d ]}; key {[ U10c986, U10c92c, U10c91b, U10c993 ]}; key {[ U10c939, U10c94a, U10c911, U10c995 ]}; key {[ U10c952, U10c943, U10c912, U10c99b ]}; key {[ U10c978, U10c977, U10c95e, U10c9a3 ]}; key {[ U10c951, U10c931, U10c91e, U10c997 ]}; key {[ U10c90e, U10c946, U10c906, U10c9a0 ]}; key {[ U10c91f, U10c961, U10c91c, none ]}; key {[ U10c93d, U10c92f, U10c902, none ]}; key {[ U10c973, U10c924, U10c93c, U10c9a4 ]}; key {[ U10c972, U10c945, U10c91a, U10c99c ]}; key {[ U10c979, U10c929, U10c916, U10c999 ]}; key {[ U10c976, U10c975, U10c917, U10c994 ]}; key {[ U10c95a, U10c926, U10c918, U10c996 ]}; key {[ U10c96f, U10c932, U10c915, U10c998 ]}; key {[ U10c942, U10c922, U10c913, U10c9a2 ]}; key {[ U10c985, U10c94e, U10c914, U10c97a ]}; key {[ U10c928, U10c948, U10c919, U10c9a5 ]}; key {[ U10c970, U10c92b, U10c905, U10c991 ]}; key {[ U10c92e, U10c944, U10c904, none ]}; key {[ U10c925, U10c95f, U10c940, U10c99a ]}; key {[ U10c96b, U10c933, U10c920, U10c98e ]}; key {[ U10c949, U10c94b, U10c921, U10c99f ]}; key {[ U10c923, U10c92d, U10c95c, U10c96e ]}; key {[ U10c93b, U10c927, U10c908, U10c9a6 ]}; key {[ U10c93a, U10c94c, U10c93e, U10c9a7 ]}; key {[ U10c95b, U10c93f, U10c907, U10c992 ]}; }; // For typing Swedish on a basic US keyboard, putting Å Ö Ä // on the upper levels of the corresponding Swedish keys. partial alphanumeric_keys xkb_symbols "us" { include "us" name[Group1]="Swedish (US)"; key {[ any, any, aring, Aring ]}; key {[ any, any, odiaeresis, Odiaeresis ]}; key {[ any, any, adiaeresis, Adiaeresis ]}; 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 (Sweden, 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)" };