// $XFree86$ // Lithuanian keyboard map by Ričardas Čepas // Describes popular Lithuanian keymap 'Baltic' aka querty/numeric // Don't rename this file because it includes 'lt' // Extensions: „ “ instead of 9 0 in Lithuanian mode, endash/Euro on 102nd key // Usage: setxkbmap -option grp:shift_toggle 'lt' // # +lt(left_switch) turns key between left ctrl and shift on "German" keyboards into AltGr // Option "XkbModel" "pc105" // Option "XkbLayout" "lt+lt(left_switch)" // # Double shift toggles between numbers and Lithuanian letters, you may choose other keys // Option "XkbOptions" "grp:shift_toggle" partial default alphanumeric_keys modifier_keys xkb_symbols "basic" { name[Group1]= "US/ASCII"; name[Group2]= "Lithuanian"; include "lt(us_group2)" key { [ 1, exclam ], [ aogonek, Aogonek ] }; key { [ 2, at ], [ ccaron, Ccaron ] }; key { [ 3, numbersign ], [ eogonek, Eogonek ] }; key { [ 4, dollar ], [ eabovedot, Eabovedot ] }; key { [ 5, percent ], [ iogonek, Iogonek ] }; key { [ 6, asciicircum ], [ scaron, Scaron ] }; key { [ 7, ampersand ], [ uogonek, Uogonek ] }; key { [ 8, asterisk ], [ umacron, Umacron ] }; key { [ 9, parenleft ], [ doublelowquotemark, parenleft ] }; key { [ 0, parenright ], // this is actually right quote for Lithuanian [ leftdoublequotemark, parenright ] }; key { [ equal, plus ], [ zcaron, Zcaron ] }; key { [ endash, EuroSign ], [ endash, EuroSign ] }; // End alphanumeric section // Begin modifier mappings modifier_map Shift { Shift_L }; modifier_map Lock { Caps_Lock, ISO_Lock }; modifier_map Control{ Control_L }; modifier_map Mod3 { Mode_switch }; }; partial alphanumeric_keys xkb_symbols "us_group2" { // Keyboard must work as usual when "Lithuanian" group is locked. key { [], [ quoteleft, asciitilde ] }; key { [], [ 1, exclam ] }; key { [], [ 2, at ] }; key { [], [ 3, numbersign ] }; key { [], [ 4, dollar ] }; key { [], [ 5, percent ] }; key { [], [ 6, asciicircum ] }; key { [], [ 7, ampersand ] }; key { [], [ 8, asterisk ] }; key { [], [ 9, parenleft ] }; key { [], [ 0, parenright ] }; key { [], [ minus, underscore ] }; key { [], [ equal, plus ] }; key { [], [ q, Q ] }; key { [], [ w, W ] }; key { [], [ e, E ] }; key { [], [ r, R ] }; key { [], [ t, T ] }; key { [], [ y, Y ] }; key { [], [ u, U ] }; key { [], [ i, I ] }; key { [], [ o, O ] }; key { [], [ p, P ] }; key { [], [ bracketleft, braceleft ] }; key { [], [ bracketright, braceright ] }; key { [], [ a, A ] }; key { [], [ s, S ] }; key { [], [ d, D ] }; key { [], [ f, F ] }; key { [], [ g, G ] }; key { [], [ h, H ] }; key { [], [ j, J ] }; key { [], [ k, K ] }; key { [], [ l, L ] }; key { [], [ semicolon, colon ] }; key { [], [ quoteright, quotedbl ] }; key { [], [ z, Z ] }; key { [], [ x, X ] }; key { [], [ c, C ] }; key { [], [ v, V ] }; key { [], [ b, B ] }; key { [], [ n, N ] }; key { [], [ m, M ] }; key { [], [ comma, less ] }; key { [], [ period, greater ] }; key { [], [ slash, question ] }; key { [], [ backslash, bar ] }; }; partial alphanumeric_keys xkb_symbols "Sundeadkeys" { include "lt(basic)" // for consistent naming }; partial alphanumeric_keys xkb_symbols "sundeadkeys" { include "lt(Sundeadkeys)" // for consistent naming }; partial alphanumeric_keys xkb_symbols "nodeadkeys" { include "lt(basic)" // for consistent naming }; // definition for the extra key on 102-key keyboards between left Control and Alt // in case you want use it as AltGr xkb_symbols "left_switch" { key { [ Mode_switch, Multi_key ], [ Mode_switch, Multi_key ] }; // Begin modifier mappings modifier_map Mod3 { Mode_switch }; };