File smarlayout.patch of Package 15.4-xkeyboard-config
Index: xkeyboard-config-2.23.1/rules/base.extras.xml.in
===================================================================
--- xkeyboard-config-2.23.1.orig/rules/base.extras.xml.in
+++ xkeyboard-config-2.23.1/rules/base.extras.xml.in
@@ -830,6 +830,12 @@
</variant>
<variant>
<configItem>
+ <name>smarlayout</name>
+ <_description>Finnish (Smarlayout)</_description>
+ </configItem>
+ </variant>
+ <variant>
+ <configItem>
<name>sun_type6</name>
<_description>Finnish (Sun Type 6/7)</_description>
</configItem>
Index: xkeyboard-config-2.23.1/rules/evdev.extras.xml.in
===================================================================
--- xkeyboard-config-2.23.1.orig/rules/evdev.extras.xml.in
+++ xkeyboard-config-2.23.1/rules/evdev.extras.xml.in
@@ -830,6 +830,12 @@
</variant>
<variant>
<configItem>
+ <name>smarlayout</name>
+ <_description>Finnish (Smarlayout)</_description>
+ </configItem>
+ </variant>
+ <variant>
+ <configItem>
<name>sun_type6</name>
<_description>Finnish (Sun Type 6/7)</_description>
</configItem>
Index: xkeyboard-config-2.23.1/symbols/fi
===================================================================
--- xkeyboard-config-2.23.1.orig/symbols/fi
+++ xkeyboard-config-2.23.1/symbols/fi
@@ -345,3 +345,77 @@ xkb_symbols "fidvorak" {
include "level3(ralt_switch)"
};
+
+// Modified version of DAS layout.
+// Original version done by Cristian Seres (cseres at iki.fi).
+// Original xkeyboard layout made by Joel Lehtonen, (joel.lehtonen at iki.fi) on 2008-01-14.
+// He released it under Public domain.
+// Modified by Samu Voutilainen (smarlayout@smar.fi) around 2011.
+// Modifications licensed under ISC.
+
+partial alphanumeric_keys
+xkb_symbols "smarlayout" {
+
+ include "nbsp(level3)"
+ include "kpdl(comma)"
+ include "level3(ralt_switch)"
+ //include "compose(rwin)" //I want tab to be my compose key, I don’t even have right win key...
+
+ name[Group1]="Smarlayout";
+
+ key <CAPS> { [ Multi_key ] }; //tabi
+
+ key <TLDE> { [ apostrophe ] }; // pykälä
+ key <AE01> { [ 1, exclam, section ] }; // 1
+ key <AE02> { [ 2, quotedbl, rightdoublequotemark, leftdoublequotemark ] }; // 2
+ key <AE03> { [ 3, numbersign, sterling ] }; // 3
+ key <AE04> { [ 4, at, dollar ] }; // 4
+ key <AE05> { [ 5, ampersand, onehalf ] }; // 5
+ key <AE06> { [ 6, EuroSign ] }; // 6
+ key <AE07> { [ 7, braceleft ] }; // 7
+ key <AE08> { [ 8, parenleft, bracketleft ] }; // 8
+ key <AE09> { [ 9, parenright, bracketright ] }; // 9
+ key <AE10> { [ 0, braceright, degree ] }; // 0
+ key <AE11> { [ plus, question, currency ] }; // plussa
+ key <AE12> { [ equal, percent ] }; // akuutti
+
+ key <AD01> { [ p, P, Greek_pi ] }; // q
+ key <AD02> { [ h, H ] }; // w
+ key <AD03> { [ r, R, dead_circumflex ] }; // e
+ key <AD04> { [ k, K, dead_caron ] }; // r
+ key <AD05> { [ f, F ] }; // t
+ key <AD06> { [ z, Z, zcaron, Zcaron ] }; // y
+ key <AD07> { [ w, W ] }; // u
+ key <AD08> { [ u, U ] }; // i
+ key <AD09> { [ y, Y, slash, backslash ] }; // o
+ key <AD10> { [ b, B ] }; // p
+ key <AD11> { [ q, Q ] }; // ruotsalainen o(å)
+ key <AD12> { [ less, greater, bar ] }; // treema
+
+ key <AC01> { [ s, S, scaron, Scaron ] }; // a
+ key <AC02> { [ l, L, dead_acute ] }; // s
+ key <AC03> { [ n, N, dead_grave ] }; // d
+ key <AC04> { [ t, T, dead_diaeresis ] }; // f
+ key <AC05> { [ v, V ] }; // g
+ key <AC06> { [ g, G ] }; // h
+ key <AC07> { [ a, A ] }; // j
+ key <AC08> { [ i, I ] }; // k
+ key <AC09> { [ o, O, emdash ] }; // l
+ key <AC10> { [ e, E ] }; // ö
+ key <AC11> { [ c, C ] }; // ä
+
+ key <BKSL> { [ asterisk, asciicircum, asciitilde ] }; // heittomerkki
+ key <LSGT> { [ Shift_L ] }; // shiftinjatke suominäppikselle
+ key <AB01> { [ x, X ] }; // z
+ key <AB02> { [ d, D ] }; // x
+ key <AB03> { [ m, M, mu ] }; // c
+ key <AB04> { [ j, J ] }; // v
+ key <AB05> { [ aring, Aring ] }; // b
+ key <AB06> { [ odiaeresis, Odiaeresis, oe, OE ] }; // n
+ key <AB07> { [ adiaeresis, Adiaeresis, ae, AE ] }; // m
+ key <AB08> { [ comma, semicolon, rightsinglequotemark, leftsinglequotemark ] }; // pilkku
+ key <AB09> { [ period, colon ] }; // piste
+ key <AB10> { [ minus, underscore, U2013, dead_macron ] }; // miinus
+ key <SPCE> { [ space ] }; // välilyönti
+
+};