diff options
author | Marko Myllynen <myllynen@redhat.com> | 2020-02-28 14:08:26 +0200 |
---|---|---|
committer | Marko Myllynen <myllynen@redhat.com> | 2020-02-28 14:08:26 +0200 |
commit | ab42f62a054301c28cad0998c9c94af801525bbc (patch) | |
tree | 3c2c062c9ea2ebca1c5d27443506d30563414788 /symbols | |
parent | 9692f00a9682cb4c85cf048ccccbfd1408008768 (diff) |
Update Finnish keymap for SFS 5966:2019 standard
Change "A-3" (AltGr+Space) to produce regular space as is now allowed
by SFS 5966:2019 to avoid the often mistyped no-breaking space.
Change "A-4" (Shift+AltGr+Space) to produce NARROW NO-BREAK SPACE
(U+202F) as allowed by SFS 5966:2019 since glibc recently changed all
locales from NO-BREAK SPACE (U+00A0) to U+202F and there are plans to
do the same in CLDR.
Add sometimes helpful dead_greek and dead_currency to vacant positions.
Some minor tweaks for comments.
Diffstat (limited to 'symbols')
-rw-r--r-- | symbols/fi | 46 |
1 files changed, 27 insertions, 19 deletions
@@ -9,17 +9,26 @@ default partial alphanumeric_keys xkb_symbols "kotoistus" { - // Official keymap for Finland based on SFS 5966 standard + // Official keymap for Finland based on SFS 5966:2019 standard // // This keymap implements all the functionality of Annex 1 // of the standard and additionally defines the following to // allow entering these characters with keyboards without LSGT. // - // AE08+4, U+003C : LESS-THAN SIGN (less) - // AE09+4, U+003E : GREATER-THAN SIGN (greater) - // AD08+4, U+007C : VERTICAL LINE (bar) + // AE08+4 : U+003C LESS-THAN SIGN (less) + // AE09+4 : U+003E GREATER-THAN SIGN (greater) + // AD08+4 : U+007C VERTICAL LINE (bar) // - // Annex 3 of the standard is implemented in fi_FI.UTF-8/Compose + // Annex 3 of the standard is implemented in fi_FI.UTF-8/Compose. + // + // This keymap implements regular space in position "A-3" of the + // standard and implements NARROW NO-BREAK SPACE (U+202F) in A-4. + // + // The following definitions are also included to allow entering + // Greek letters and currency symbols with the libX11 sequences. + // + // AC08+4 : dead_greek + // AC09+4 : dead_currency name[Group1]="Finnish"; @@ -57,8 +66,8 @@ xkb_symbols "kotoistus" { key <AC05> { [ g, G, g, G ] }; key <AC06> { [ h, H, h, H ] }; key <AC07> { [ j, J, j, J ] }; - key <AC08> { [ k, K, kra, NoSymbol ] }; - key <AC09> { [ l, L, dead_stroke, NoSymbol ] }; + key <AC08> { [ k, K, kra, dead_greek ] }; + key <AC09> { [ l, L, dead_stroke, dead_currency ] }; key <AC10> { [ odiaeresis, Odiaeresis, oslash, Oslash ] }; key <AC11> { [ adiaeresis, Adiaeresis, ae, AE ] }; key <BKSL> { [ apostrophe, asterisk, dead_caron, dead_breve ] }; @@ -75,8 +84,8 @@ xkb_symbols "kotoistus" { key <AB09> { [ period, colon, dead_belowdot, dead_abovedot ] }; key <AB10> { [ minus, underscore, endash, dead_belowcomma ] }; - include "nbsp(level4)" - include "nbsp(level3)" + key <SPCE> { [ space, space, space, U202F ] }; + include "kpdl(comma)" include "level3(ralt_switch)" }; @@ -130,8 +139,8 @@ xkb_symbols "fi" { key <AC05> { [ g, G, eng, ENG ] }; key <AC06> { [ h, H, h, H ] }; key <AC07> { [ j, J, j, J ] }; - key <AC08> { [ k, K, kra, NoSymbol ] }; - key <AC09> { [ l, L, dead_stroke, NoSymbol ] }; + key <AC08> { [ k, K, kra, dead_greek ] }; + key <AC09> { [ l, L, dead_stroke, dead_currency ] }; key <AC10> { [ odiaeresis, Odiaeresis, oslash, Oslash ] }; key <AC11> { [ adiaeresis, Adiaeresis, ae, AE ] }; key <BKSL> { [ apostrophe, asterisk, dead_caron, dead_breve ] }; @@ -148,7 +157,8 @@ xkb_symbols "fi" { key <AB09> { [ period, colon, periodcentered, notsign ] }; key <AB10> { [ minus, underscore, hyphen, dead_macron ] }; - include "nbsp(level4)" + key <SPCE> { [ space, space, space, U202F ] }; + include "kpdl(comma)" include "level3(ralt_switch)" }; @@ -217,12 +227,10 @@ xkb_symbols "sun_type6" { partial xkb_symbols "das" { - // This is DAS layout for typing Finnish. It is originally designed by - // Cristian Seres (cseres at iki.fi). - // More information about DAS: http://c.seres.fi/DAS_en.html - // This xkeyboard layout is originally made by Joel Lehtonen, - // (joel.lehtonen at iki.fi) on 2008-01-14. He released it under Public - // domain. + // DAS layout for typing Finnish designed by Cristian Seres (cseres at iki.fi). + // More information about DAS is available at http://c.seres.fi/DAS_en.html. + // This xkeyboard layout was created by Joel Lehtonen (joel.lehtonen at iki.fi), + // and he released it to public domain. name[Group1]="Finnish (DAS)"; @@ -291,7 +299,7 @@ xkb_symbols "fidvorak" { // Dedicated keys for Ä and Ö by utilizing the extra LSGT key found on Finnish keyboards // and by moving colon and semicolon behind shift-modifiers on comma and period. // Less and greater than symbols moved behind 3rd level modifiers on comma and period. - // Includes an assortment of dead keys but is not made with them in mind. + // Includes an assortment of dead keys but was not created with them in mind. name[Group1]="Finnish (Dvorak)"; |