// Keyboard layouts for Norway. default partial alphanumeric_keys xkb_symbols "basic" { // With dead-key support and all ISO-8859-1 characters available. include "latin(type2)" name[Group1]="Norwegian"; key { [ bar, section, brokenbar, paragraph ] }; key { [ 5, percent, onehalf, permille ] }; key { [ plus, question, plusminus, questiondown ] }; key { [ backslash, dead_grave, dead_acute, notsign ] }; key { [ r, R, registered, trademark ] }; key { [ p, P, Greek_pi, Greek_PI ] }; key { [ oslash, Oslash, dead_acute, dead_doubleacute ] }; key { [ ae, AE, dead_circumflex, dead_caron] }; key { [apostrophe, asterisk, dead_doubleacute, multiply ] }; key { [ less, greater, onehalf, threequarters] }; key { [ period, colon, ellipsis, periodcentered ] }; key { [ minus, underscore, endash, emdash ] }; include "nbsp(level3n)" include "keypad(ossmath)" include "kpdl(comma)" include "level3(ralt_switch)" }; partial alphanumeric_keys xkb_symbols "nodeadkeys" { include "no(basic)" name[Group1]="Norwegian (no dead keys)"; key { [ backslash, grave, acute, ogonek ] }; key { [ aring, Aring, radical, dagger ] }; key { [ diaeresis, asciicircum, asciitilde, macron ] }; key { [ j, J, ezh, EZH ] }; key { [ oslash, Oslash, acute, doubleacute ] }; key { [ ae, AE, asciicircum, caron ] }; key { [apostrophe, asterisk, ellipsis, multiply ] }; key { [ comma, semicolon, cedilla, ogonek ] }; key { [ period, colon, periodcentered, abovedot ] }; }; partial alphanumeric_keys xkb_symbols "winkeys" { include "no(basic)" name[Group1]="Norwegian (Windows)"; include "eurosign(5)" }; // Norwegian Dvorak partial alphanumeric_keys xkb_symbols "dvorak" { include "us(dvorak)" name[Group1]="Norwegian (Dvorak)"; key { [ bar, section, brokenbar, paragraph ] }; key { [ 1, exclam, exclamdown, onesuperior ] }; key { [ 2, quotedbl, at, twosuperior ] }; key { [ 3, numbersign, sterling, threesuperior ] }; key { [ 4, currency, dollar, onequarter ] }; key { [ 5, percent, onehalf, onehalf ] }; key { [ 6, ampersand, threequarters, threequarters ] }; key { [ 7, slash, braceleft, division ] }; key { [ 8, parenleft, bracketleft ] }; key { [ 9, parenright, bracketright ] }; key { [ 0, equal, braceright ] }; key { [ plus, question, plusminus, questiondown ] }; key { [ backslash, grave, dead_acute, dead_grave ] }; key { [ aring, Aring, braceright, bracketright ] }; key { [ comma, semicolon, dead_cedilla, cedilla ] }; key { [ period, colon, periodcentered ] }; key { [ p, P, thorn, THORN ] }; key { [ y, Y, yen ] }; key { [ f, F, ordfeminine ] }; key { [ c, C, ccedilla, copyright ] }; key { [ r, R, registered ] }; key { [ apostrophe, asterisk, dead_circumflex, acute ] }; key { [dead_diaeresis, dead_circumflex, dead_tilde, dead_caron ] }; key { [ e, E, EuroSign, cent ] }; key { [ i, I, idotless, Iabovedot] }; key { [ d, D, eth, ETH ] }; key { [ s, S, ssharp, U1E9E ] }; key { [ minus, underscore, hyphen, diaeresis] }; key { [ less, greater, guillemotleft, guillemotright ] }; key { [ oslash, Oslash, bar, backslash ] }; key { [ ae, AE, braceleft, bracketleft] }; key { [ x, X, multiply ] }; key { [ m, M, mu ] }; key { [ space, space, nobreakspace, nobreakspace] }; include "level3(ralt_switch)" }; partial alphanumeric_keys xkb_symbols "smi" { // Northern Sami layout for Finland, Norway and Sweden. // Originally implemented by Børre Gaup . name[Group1]= "Northern Saami (Norway)"; key { [ bar, section, grave, asciitilde ] }; key { [ 1, exclam, U2022, exclamdown ] }; // bullet key { [ 2, quotedbl, at, copyright ] }; key { [ 3, numbersign, sterling, none ] }; key { [ 4, currency, dollar, cent ] }; key { [ 5, percent, EuroSign, permille ] }; key { [ 6, ampersand, asciicircum, multiply ] }; key { [ 7, slash, braceleft, division ] }; key { [ 8, parenleft, bracketleft, lessthanequal ]}; key { [ 9, parenright, bracketright, greaterthanequal ]}; key { [ 0, equal, braceright, notequal ] }; key { [ plus, question, plusminus, questiondown ] }; key { [ backslash, dead_grave, dead_acute, notsign ] }; key { [ aacute, Aacute, q, Q ] }; key { [ scaron, Scaron, w, W ] }; key { [ e, E, EuroSign, none ] }; key { [ r, R, registered, trademark ] }; key { [ t, T, thorn, THORN ] }; key { [ tslash, Tslash, y, Y ] }; key { [ u, U, udiaeresis, Udiaeresis ] }; key { [ i, I, idiaeresis, Idiaeresis ] }; key { [ o, O, otilde, Otilde ] }; key { [ p, P, oe, OE ] }; key { [ aring, Aring, dead_diaeresis, dead_circumflex ] }; key { [ eng, ENG, dead_tilde, dead_caron ] }; key { [ a, A, acircumflex, Acircumflex ] }; key { [ s, S, ssharp, U1E9E ] }; // ß ẞ key { [ d, D, eth, ETH ] }; key { [ f, F, none, ordfeminine ] }; key { [ g, G, gcaron, Gcaron ] }; key { [ h, H, U01E5, U01E4 ] }; // ǥ Ǥ key { [ j, J, doublelowquotemark, singlelowquotemark ]}; // „ ‚ key { [ k, K, U01E9, U01E8 ] }; // ǩ Ǩ key { [ l, L, degree, hyphen ] }; key { [ oslash, Oslash, odiaeresis, Odiaeresis ] }; key { [ ae, AE, adiaeresis, Adiaeresis ] }; key { [ dstroke, Dstroke, apostrophe, asterisk ] }; key { [ zcaron, Zcaron, U01EF, U01EE ] }; // ǯ Ǯ key { [ z, Z, ezh, EZH ] }; // ʒ Ʒ key { [ ccaron, Ccaron, x, X ] }; key { [ c, C, leftdoublequotemark, leftsinglequotemark ]}; // “ ‘ key { [ v, V, guillemotleft, U2039 ]}; // « ‹ key { [ b, B, guillemotright, U203A ]}; // » › key { [ n, N, rightdoublequotemark, rightsinglequotemark ]}; // ” ’ key { [ m, M, mu, masculine ] }; key { [ comma, semicolon, less, periodcentered ] }; key { [ period, colon, greater, ellipsis ] }; key { [ minus, underscore, endash, emdash ] }; include "level3(ralt_switch)" }; partial alphanumeric_keys xkb_symbols "smi_nodeadkeys" { include "no(smi)" name[Group1]= "Northern Saami (Norway, no dead keys)"; key { [ backslash, grave, acute, ogonek ] }; }; partial alphanumeric_keys xkb_symbols "mac" { include "latin(type4)" name[Group1]= "Norwegian (Macintosh)"; key { [ bar, section ] }; key { [ 3, numbersign, sterling, sterling ] }; key { [ 4, currency, dollar, dollar ] }; key { [ 6, ampersand, threequarters, fiveeighths ] }; key { [ 7, slash, bar, backslash ] }; key { [ 8, parenleft, bracketleft, braceleft ] }; key { [ 9, parenright, bracketright, braceright ] }; key { [ plus, question ] }; key { [dead_grave, dead_acute, acute, dead_ogonek ] }; key { [ aring, Aring ] }; key { [ diaeresis, asciicircum, asciitilde, dead_macron ] }; key { [ oslash, Oslash, odiaeresis, Odiaeresis ] }; key { [ ae, AE ] }; key { [ at, asterisk ] }; }; partial alphanumeric_keys xkb_symbols "mac_nodeadkeys" { include "no(mac)" name[Group1]= "Norwegian (Macintosh, no dead keys)"; key { [ grave, acute, acute, ogonek ] }; key { [ diaeresis, asciicircum, asciitilde, macron ] }; }; partial alphanumeric_keys xkb_symbols "colemak" { include "no(basic)" name[Group1]= "Norwegian (Colemak)"; // See https://colemak.com/. // Q W F P G J L U Y Ø Å ¨ // A R S T D H N E I O Æ ' // < Z X C V B K M , . - key { [ f, F, dstroke, ordfeminine ] }; key { [ p, P, Greek_pi, Greek_PI ] }; key { [ g, G, eng, ENG ] }; key { [ j, J ] }; key { [ l, L, lstroke, Lstroke ] }; key { [ u, U, downarrow, uparrow ] }; key { [ y, Y, leftarrow, yen ] }; key { [ oslash, Oslash, dead_acute, dead_doubleacute ] }; key { [ r, R, registered, trademark ] }; key { [ s, S, ssharp, section ] }; key { [ t, T, thorn, THORN ] }; key { [ d, D, eth, ETH ] }; key { [ n, N ] }; key { [ e, E, EuroSign, cent ] }; key { [ i, I, rightarrow, idotless ] }; key { [ o, O, oe, OE ] }; key { [ k, K, kra, ampersand ] }; }; // Having a Colemak-DH variant in the Norwegian layout provides validation for users that this layout is suitable for typing Norwegian text. // Furthermore, staying true to the US layout gives interchangabilty benefits which far outperforms the benefits of providing a unique layout. // You can use the referenced layout to type Norwegian characters. See: https://colemak.com/Multilingual#Norwegian_.28Norsk_bokm.C3.A5l.29 // Colemak-DH (ISO) symbols for xkb on X.Org Server 7.x // 2014-10-25 by SteveP, https://colemakmods.github.io/mod-dh/ xkb_symbols "colemak_dh" { include "us(colemak_dh_iso)" name[Group1]= "Norwegian (Colemak-DH)"; }; // Colemak-DH (Wide ISO) symbols for xkb on X.Org Server 7.x // https://colemakmods.github.io/mod-dh/ xkb_symbols "colemak_dh_wide" { include "us(colemak_dh_wide_iso)" name[Group1]= "Norwegian (Colemak-DH Wide)"; }; // EXTRAS: partial alphanumeric_keys xkb_symbols "sun_type6" { include "sun_vndr/no(sun_type6)" };