// Keyboard layouts for Iceland. // Icelandic keyboard layout, by Hrafnkell Eiriksson - hkelle@rhi.hi.is // Fixes by Olafur Osvaldsson - oli@isnic.is - and Bjarni Ingi Gislason. default partial alphanumeric_keys xkb_symbols "basic" { include "latin(type4)" name[Group1]="Icelandic"; key { [dead_abovering, dead_diaeresis, notsign, hyphen ] }; key { [ 2, quotedbl, twosuperior, oneeighth ] }; key { [ 4, dollar, onequarter, currency ] }; key { [odiaeresis, Odiaeresis, backslash, questiondown ] }; key { [ minus, underscore, dead_cedilla, dead_ogonek ] }; key { [ p, P, bar, Greek_pi ] }; key { [ eth, ETH, dead_diaeresis, dead_abovering ] }; key { [apostrophe, question, asciitilde, dead_macron ] }; key { [ d, D, U201e, U201c ] }; key { [ ae, AE, asciicircum, dead_doubleacute ] }; key { [dead_acute, dead_acute, dead_circumflex, dead_caron ] }; key { [ plus, asterisk, grave, dead_breve ] }; key { [ thorn, THORN, dead_belowdot, dead_abovedot ] }; include "level3(ralt_switch)" }; // Copied from macintosh_vndr/is. // Copyright (C) 2004, 2006 Ævar Arnfjörð Bjarmason xkb_symbols "mac_legacy" { name[Group1]= "Icelandic (Macintosh, legacy)"; key { [ sterling, section, UF8FF, apostrophe ] }; // Apple logo key { [ 1, exclam, exclamdown, VoidSymbol ] }; key { [ 2, quotedbl, at, VoidSymbol ] }; key { [ 3, numbersign, U2122, sterling ] }; key { [ 4, dollar, cent, EuroSign ] }; key { [ 5, percent, permille, infinity ] }; key { [ 6, ampersand, asciicircum, U2044 ] }; key { [ 7, slash, backslash, division ] }; key { [ 8, parenleft, bracketleft, braceleft ] }; key { [ 9, parenright, bracketright, braceright ] }; key { [ 0, equal, U2260, U2248 ] }; key { [ odiaeresis, Odiaeresis, oslash, Oslash ] }; key { [ minus, underscore, endash, emdash ] }; key { [ q, Q, paragraph, VoidSymbol ] }; key { [ w, W, U2211, VoidSymbol ] }; key { [ e, E, dead_grave, VoidSymbol ] }; key { [ r, R, registered, VoidSymbol ] }; key { [ t, T, degree, VoidSymbol ] }; key { [ y, Y, yen, VoidSymbol ] }; key { [ u, U, dead_diaeresis, VoidSymbol ] }; key { [ i, I, idotless, ordfeminine] }; key { [ o, O, dead_circumflex, masculine ] }; key { [ p, P, Greek_pi, Greek_PI ] }; key { [ eth, ETH, U201e, U201c ] }; key { [ apostrophe, question, questiondown, periodcentered] }; key { [ a, A, aring, Aring ] }; key { [ s, S, ssharp, abovedot ] }; key { [ d, D, U2202, U02DA ] }; key { [ f, F, function, macron ] }; key { [ g, G, copyright, breve ] }; key { [ h, H, bar, VoidSymbol ] }; key { [ j, J, U2206, doubleacute] }; key { [ k, K, notsign, VoidSymbol ] }; key { [ l, L, U2026, caron ] }; key { [ ae, AE, oe, OE ] }; key { [ dead_acute, dead_diaeresis, U201A, U2018 ] }; key { [ plus, asterisk, U2022, plusminus ] }; key { [ less, greater, section, UF8FF ] }; // Apple logo key { [ z, Z, Greek_OMEGA, VoidSymbol ] }; key { [ x, X, asciitilde, VoidSymbol ] }; key { [ c, C, ccedilla, Ccedilla ] }; key { [ v, V, U221A, U25CA ] }; key { [ b, B, U222B, VoidSymbol ] }; key { [ n, N, dead_tilde, VoidSymbol ] }; key { [ m, M, mu, VoidSymbol ] }; key { [ comma, semicolon, lessthanequal, guillemotleft ] }; key { [ period, colon, greaterthanequal, guillemotright ] }; key { [ thorn, THORN, U2019, U201d ] }; include "level3(ralt_switch)" }; // Layout for newer Apple laptop and Aluminium keyboards (A1243/A1255 and later). // Copyright (C) 2013 Ævar Arnfjörð Bjarmason partial alphanumeric_keys xkb_symbols "mac" { name[Group1]= "Icelandic (Macintosh)"; key { [ degree, dead_diaeresis, oslash, Oslash ] }; key { [ 1, exclam, exclamdown, VoidSymbol ] }; key { [ 2, quotedbl, at, VoidSymbol ] }; key { [ 3, numbersign, trademark, sterling ] }; key { [ 4, dollar, cent, EuroSign ] }; key { [ 5, percent, permille, infinity ] }; key { [ 6, ampersand, asciicircum, U2044 ] }; key { [ 7, slash, braceleft, division ] }; key { [ 8, parenleft, bracketleft, braceleft ] }; key { [ 9, parenright, bracketright, braceright ] }; key { [ 0, equal, braceright, approxeq ] }; key { [ odiaeresis, Odiaeresis, backslash, U2260 ] }; key { [ minus, underscore, endash, emdash ] }; key { [ q, Q, at, paragraph ] }; key { [ w, W, U2211, section ] }; key { [ e, E, U20AC, questiondown ] }; key { [ r, R, registered, VoidSymbol ] }; key { [ t, T, degree, U2022 ] }; key { [ y, Y, yen, VoidSymbol ] }; key { [ u, U, dead_diaeresis, VoidSymbol ] }; key { [ i, I, idotless, ordfeminine ] }; key { [ o, O, dead_circumflex, masculine ] }; key { [ p, P, Greek_pi, Greek_PI ] }; key { [ eth, ETH, doublelowquotemark, leftdoublequotemark ] }; key { [ apostrophe, question, asciitilde, periodcentered ] }; key { [ a, A, aring, Aring ] }; key { [ s, S, ssharp, abovedot ] }; key { [ d, D, partialderivative, U02DA ] }; key { [ f, F, function, macron ] }; key { [ g, G, copyright, breve ] }; key { [ h, H, bar, cedilla ] }; key { [ j, J, U2206, doubleacute ] }; key { [ k, K, notsign, ogonek ] }; key { [ l, L, ellipsis, caron ] }; key { [ ae, AE, oe, OE ] }; key { [ dead_acute, dead_acute, asciicircum, leftsinglequotemark ] }; key { [ plus, asterisk, grave, plusminus ] }; key { [ less, greater, bar, UF8FF ] }; // Apple logo key { [ z, Z, Greek_OMEGA, VoidSymbol ] }; key { [ x, X, asciitilde, VoidSymbol ] }; key { [ c, C, ccedilla, Ccedilla ] }; key { [ v, V, radical, U25CA ] }; key { [ b, B, integral, VoidSymbol ] }; key { [ n, N, dead_tilde, VoidSymbol ] }; key { [ m, M, mu, VoidSymbol ] }; key { [ comma, semicolon, lessthanequal, guillemotleft ] }; key { [ period, colon, greaterthanequal, guillemotright ] }; key { [ thorn, THORN, rightsinglequotemark, rightdoublequotemark ] }; include "level3(ralt_switch)" }; // This is a modified version of the English Dvorak layout that allows // you to type all Icelandic letters under X. It's not a full attempt at // nationalizing the layout as e.g. the Norwegian, Swedish and French // layouts which modify the primary keys of the basic Dvorak layout // extensively. // Rather it's a simple modification of 5 keys of the US Dvorak layout, // it adds Germanic/Icelandic style quotation marks („“), eth (ðÐ), ae // (æÆ), endash and emdash (–—), thorn (þÞ), EuroSign (€) and the German // Sharp S (ßẞ). These keys aren't used in the US version, making the // Icelandic version a superset of it. // Maybe someone else will make a "full" attempt at an Icelandic layout // but I was mostly interested in continuing to type English comfortably // as a primary function while being able to type the full Icelandic // alphabet as a secondary function. // -- Ævar Arnfjörð Bjarmason // Icelandic Dvorak partial alphanumeric_keys xkb_symbols "dvorak" { include "us(dvorak)" include "eurosign(4)" name[Group1]= "Icelandic (Dvorak)"; key { [ slash, question, U201e, U201c ] }; key { [ o, O, odiaeresis, Odiaeresis ] }; key { [ d, D, eth, ETH ] }; key { [ s, S, ae, AE ] }; key { [ minus, underscore, endash, emdash ] }; key { [ b, B, ssharp, U1E9E ] }; key { [ z, Z, thorn, THORN ] }; include "level3(ralt_switch)" };