LINUX.ORG.RU

История изменений

Исправление lazyklimm, (текущая версия) :

Если кому интересно:

~/.xkb/symbols/rup

partial alphanumeric_keys
xkb_symbols "rup" {
 include "us(basic)"
 include "typo(base)"
 name[Group1]= "Russian (with Ukrainian-Belorussian symbols and us punctuation)";
 key <TLDE> { [ U2019, apostrophe, U0301, asciitilde ] }; // Apostrophe and Stress symbol
 key <AD01> { [ Cyrillic_ha, Cyrillic_HA, Ukrainian_yi, Ukrainian_YI ] };
 key <AD02> { [ Cyrillic_be, Cyrillic_BE ] };
 key <AD03> { [ Cyrillic_u, Cyrillic_U, Cyrillic_yu, Cyrillic_YU ] };
 key <AD04> { [ Cyrillic_ka, Cyrillic_KA, registered ] };
 key <AD05> { [ Cyrillic_ie, Cyrillic_IE, Cyrillic_e, Cyrillic_E ] };
 key <AD06> { [ Cyrillic_en, Cyrillic_EN ] };
 key <AD07> { [ Cyrillic_ghe, Cyrillic_GHE, Ukrainian_ghe_with_upturn, Ukrainian_GHE_WITH_UPTURN] };
 key <AD08> { [ Cyrillic_sha, Cyrillic_SHA, Cyrillic_shcha, Cyrillic_SHCHA ] };
 key <AD09> { [ Cyrillic_zhe, Cyrillic_ZHE ] };
 key <AD10> { [ Cyrillic_ze, Cyrillic_ZE, Ukrainian_ie, Ukrainian_IE ] };
 key <AC01> { [ Cyrillic_ef, Cyrillic_EF] };
 key <AC02> { [ Cyrillic_yeru, Cyrillic_YERU, Ukrainian_i, Ukrainian_I ] };
 key <AC03> { [ Cyrillic_ve, Cyrillic_VE, Byelorussian_shortu, Byelorussian_SHORTU ] };
 key <AC04> { [ Cyrillic_a, Cyrillic_A ] };
 key <AC05> { [ Cyrillic_pe, Cyrillic_PE ] };
 key <AC06> { [ Cyrillic_er, Cyrillic_ER ] }; 
 key <AC07> { [ Cyrillic_o, Cyrillic_O, Cyrillic_io, Cyrillic_IO ] };
 key <AC08> { [ Cyrillic_el, Cyrillic_EL ] };
 key <AC09> { [ Cyrillic_de, Cyrillic_DE ] };

 key <AB01> { [ Cyrillic_ya, Cyrillic_YA ] };
 key <AB02> { [ Cyrillic_che, Cyrillic_CHE, Cyrillic_tse, Cyrillic_TSE ] };
 key <AB03> { [ Cyrillic_es, Cyrillic_ES ] };
 key <AB04> { [ Cyrillic_em, Cyrillic_EM ] };
 key <AB05> { [ Cyrillic_i, Cyrillic_I, Cyrillic_shorti, Cyrillic_SHORTI ] };
 key <AB06> { [ Cyrillic_te, Cyrillic_TE, numerosign ] };
 key <AB07> { [ Cyrillic_softsign, Cyrillic_SOFTSIGN, Cyrillic_hardsign, Cyrillic_HARDSIGN ] };
};

 $ grep setxkbmap ~/.xsession 

setxkbmap us -option; setxkbmap us+typo,rup -option "ctrl:nocaps,shift:both_capslock,grp:toggle,nbsp:level4"  -print | xkbcomp -I"$HOME/.xkb" - "$DISPLAY"

русские символы на третий уровень были отправлены по исходя из соображений частотности(юэщёйъ) + украинские/белорусские(їґєіў), по очевидным причинам (пользуюсь редко).

Исправление lazyklimm, :

Если кому интересно:

~/.xkb/symbols/rup

partial alphanumeric_keys
xkb_symbols "rup" {
 include "us(basic)"
 include "typo(base)"
 name[Group1]= "Russian (with Ukrainian-Belorussian symbols and us punctuation)";
 key <TLDE> { [ U2019, apostrophe, U0301, asciitilde ] }; // Apostrophe and Stress symbol
 key <AD01> { [ Cyrillic_ha, Cyrillic_HA, Ukrainian_yi, Ukrainian_YI ] };
 key <AD02> { [ Cyrillic_be, Cyrillic_BE ] };
 key <AD03> { [ Cyrillic_u, Cyrillic_U, Cyrillic_yu, Cyrillic_YU ] };
 key <AD04> { [ Cyrillic_ka, Cyrillic_KA, registered ] };
 key <AD05> { [ Cyrillic_ie, Cyrillic_IE, Cyrillic_e, Cyrillic_E ] };
 key <AD06> { [ Cyrillic_en, Cyrillic_EN ] };
 key <AD07> { [ Cyrillic_ghe, Cyrillic_GHE, Ukrainian_ghe_with_upturn, Ukrainian_GHE_WITH_UPTURN] };
 key <AD08> { [ Cyrillic_sha, Cyrillic_SHA, Cyrillic_shcha, Cyrillic_SHCHA ] };
 key <AD09> { [ Cyrillic_zhe, Cyrillic_ZHE ] };
 key <AD10> { [ Cyrillic_ze, Cyrillic_ZE, Ukrainian_ie, Ukrainian_IE ] };
 key <AC01> { [ Cyrillic_ef, Cyrillic_EF] };
 key <AC02> { [ Cyrillic_yeru, Cyrillic_YERU, Ukrainian_i, Ukrainian_I ] };
 key <AC03> { [ Cyrillic_ve, Cyrillic_VE, Byelorussian_shortu, Byelorussian_SHORTU ] };
 key <AC04> { [ Cyrillic_a, Cyrillic_A ] };
 key <AC05> { [ Cyrillic_pe, Cyrillic_PE ] };
 key <AC06> { [ Cyrillic_er, Cyrillic_ER ] }; 
 key <AC07> { [ Cyrillic_o, Cyrillic_O, Cyrillic_io, Cyrillic_IO ] };
 key <AC08> { [ Cyrillic_el, Cyrillic_EL ] };
 key <AC09> { [ Cyrillic_de, Cyrillic_DE ] };

 key <AB01> { [ Cyrillic_ya, Cyrillic_YA ] };
 key <AB02> { [ Cyrillic_che, Cyrillic_CHE, Cyrillic_tse, Cyrillic_TSE ] };
 key <AB03> { [ Cyrillic_es, Cyrillic_ES ] };
 key <AB04> { [ Cyrillic_em, Cyrillic_EM ] };
 key <AB05> { [ Cyrillic_i, Cyrillic_I, Cyrillic_shorti, Cyrillic_SHORTI ] };
 key <AB06> { [ Cyrillic_te, Cyrillic_TE, numerosign ] };
 key <AB07> { [ Cyrillic_softsign, Cyrillic_SOFTSIGN, Cyrillic_hardsign, Cyrillic_HARDSIGN ] };
};

 $ grep setxkbmap ~/.xsession 

setxkbmap us -option; setxkbmap us+typo,rup -option "ctrl:nocaps,shift:both_capslock,grp:toggle,nbsp:level4"  -print | xkbcomp -I"$HOME/.xkb" - "$DISPLAY"

русские символы на третий уровень были отправлены по исходя из соображений частотности(юэщёйъ) + украинские/белорусские(їґєі), по очевидным причинам (пользуюсь редко).

Исправление lazyklimm, :

Если кому интересно:

~/.xkb/symbols/rup

partial alphanumeric_keys
xkb_symbols "rup" {
 include "us(basic)"
 include "typo(base)"
 name[Group1]= "Russian (with Ukrainian-Belorussian symbols and us punctuation)";
 key <TLDE> { [ U2019, apostrophe, U0301, asciitilde ] }; // Apostrophe and Stress symbol
 key <AD01> { [ Cyrillic_ha, Cyrillic_HA, Ukrainian_yi, Ukrainian_YI ] };
 key <AD02> { [ Cyrillic_be, Cyrillic_BE ] };
 key <AD03> { [ Cyrillic_u, Cyrillic_U, Cyrillic_yu, Cyrillic_YU ] };
 key <AD04> { [ Cyrillic_ka, Cyrillic_KA, registered ] };
 key <AD05> { [ Cyrillic_ie, Cyrillic_IE, Cyrillic_e, Cyrillic_E ] };
 key <AD06> { [ Cyrillic_en, Cyrillic_EN ] };
 key <AD07> { [ Cyrillic_ghe, Cyrillic_GHE, Ukrainian_ghe_with_upturn, Ukrainian_GHE_WITH_UPTURN] };
 key <AD08> { [ Cyrillic_sha, Cyrillic_SHA, Cyrillic_shcha, Cyrillic_SHCHA ] };
 key <AD09> { [ Cyrillic_zhe, Cyrillic_ZHE ] };
 key <AD10> { [ Cyrillic_ze, Cyrillic_ZE, Ukrainian_ie, Ukrainian_IE ] };
 key <AC01> { [ Cyrillic_ef, Cyrillic_EF] };
 key <AC02> { [ Cyrillic_yeru, Cyrillic_YERU, Ukrainian_i, Ukrainian_I ] };
 key <AC03> { [ Cyrillic_ve, Cyrillic_VE, Byelorussian_shortu, Byelorussian_SHORTU ] };
 key <AC04> { [ Cyrillic_a, Cyrillic_A ] };
 key <AC05> { [ Cyrillic_pe, Cyrillic_PE ] };
 key <AC06> { [ Cyrillic_er, Cyrillic_ER ] }; 
 key <AC07> { [ Cyrillic_o, Cyrillic_O, Cyrillic_io, Cyrillic_IO ] };
 key <AC08> { [ Cyrillic_el, Cyrillic_EL ] };
 key <AC09> { [ Cyrillic_de, Cyrillic_DE ] };

 key <AB01> { [ Cyrillic_ya, Cyrillic_YA ] };
 key <AB02> { [ Cyrillic_che, Cyrillic_CHE, Cyrillic_tse, Cyrillic_TSE ] };
 key <AB03> { [ Cyrillic_es, Cyrillic_ES ] };
 key <AB04> { [ Cyrillic_em, Cyrillic_EM ] };
 key <AB05> { [ Cyrillic_i, Cyrillic_I, Cyrillic_shorti, Cyrillic_SHORTI ] };
 key <AB06> { [ Cyrillic_te, Cyrillic_TE, numerosign ] };
 key <AB07> { [ Cyrillic_softsign, Cyrillic_SOFTSIGN, Cyrillic_hardsign, Cyrillic_HARDSIGN ] };
};

 $ grep setxkbmap ~/.xsession 

setxkbmap us -option us+typo,rup -option "ctrl:nocaps,shift:both_capslock,grp:toggle,nbsp:level4"  -print | xkbcomp -I"$HOME/.xkb" - "$DISPLAY"

русские символы на третий уровень были отправлены по исходя из соображений частотности(юэщёйъ) + украинские/белорусские(їґєі), по очевидным причинам (пользуюсь редко).

Исходная версия lazyklimm, :

Если кому интересно:

~/.xkb/symbols/rup

partial alphanumeric_keys
xkb_symbols "rup" {
 include "us(basic)"
 include "typo(base)"
 name[Group1]= "Russian (with Ukrainian-Belorussian symbols and us punctuation)";
 key <TLDE> { [ U2019, apostrophe, U0301, asciitilde ] }; // Apostrophe and Stress symbol
 key <AD01> { [ Cyrillic_ha, Cyrillic_HA, Ukrainian_yi, Ukrainian_YI ] };
 key <AD02> { [ Cyrillic_be, Cyrillic_BE ] };
 key <AD03> { [ Cyrillic_u, Cyrillic_U, Cyrillic_yu, Cyrillic_YU ] };
 key <AD04> { [ Cyrillic_ka, Cyrillic_KA, registered ] };
 key <AD05> { [ Cyrillic_ie, Cyrillic_IE, Cyrillic_e, Cyrillic_E ] };
 key <AD06> { [ Cyrillic_en, Cyrillic_EN ] };
 key <AD07> { [ Cyrillic_ghe, Cyrillic_GHE, Ukrainian_ghe_with_upturn, Ukrainian_GHE_WITH_UPTURN] };
 key <AD08> { [ Cyrillic_sha, Cyrillic_SHA, Cyrillic_shcha, Cyrillic_SHCHA ] };
 key <AD09> { [ Cyrillic_zhe, Cyrillic_ZHE ] };
 key <AD10> { [ Cyrillic_ze, Cyrillic_ZE, Ukrainian_ie, Ukrainian_IE ] };
 key <AC01> { [ Cyrillic_ef, Cyrillic_EF] };
 key <AC02> { [ Cyrillic_yeru, Cyrillic_YERU, Ukrainian_i, Ukrainian_I ] };
 key <AC03> { [ Cyrillic_ve, Cyrillic_VE, Byelorussian_shortu, Byelorussian_SHORTU ] };
 key <AC04> { [ Cyrillic_a, Cyrillic_A ] };
 key <AC05> { [ Cyrillic_pe, Cyrillic_PE ] };
 key <AC06> { [ Cyrillic_er, Cyrillic_ER ] }; 
 key <AC07> { [ Cyrillic_o, Cyrillic_O, Cyrillic_io, Cyrillic_IO ] };
 key <AC08> { [ Cyrillic_el, Cyrillic_EL ] };
 key <AC09> { [ Cyrillic_de, Cyrillic_DE ] };

 key <AB01> { [ Cyrillic_ya, Cyrillic_YA ] };
 key <AB02> { [ Cyrillic_che, Cyrillic_CHE, Cyrillic_tse, Cyrillic_TSE ] };
 key <AB03> { [ Cyrillic_es, Cyrillic_ES ] };
 key <AB04> { [ Cyrillic_em, Cyrillic_EM ] };
 key <AB05> { [ Cyrillic_i, Cyrillic_I, Cyrillic_shorti, Cyrillic_SHORTI ] };
 key <AB06> { [ Cyrillic_te, Cyrillic_TE, numerosign ] };
 key <AB07> { [ Cyrillic_softsign, Cyrillic_SOFTSIGN, Cyrillic_hardsign, Cyrillic_HARDSIGN ] };
};

 $ grep setxkbmap ~/.xsession 

setxkbmap us -option us+typo+"modifiers(rctl_switch_multikey)",rup -option "ctrl:nocaps,shift:both_capslock,grp:toggle,nbsp:level4"  -print | xkbcomp -I"$HOME/.xkb" - "$DISPLAY"

русские символы на третий уровень были отправлены по исходя из соображений частотности(юэщёйъ) + украинские/белорусские(їґєі), по очевидным причинам (пользуюсь редко).