Материал из Wiki по Linux-смартфонам от LinuxPhone.ru
Перейти к: навигация, поиск

Ввод букв верхнего регистра в русской клавиатуре

Для этого необходимо в /etc/X11/Xsession после строк

if [ -f $HOME/.profile ]; then
 . $HOME/.profile
fi

добавить:

if [ -f $HOME/.xinitrc ]; then
 . $HOME/.xinitrc
fi

затем в /home/root создать 2 файла

1) .xinitrc с содержимым

xmodmap $HOME/.xmodmap

2) .xmodmap с содержимым

keycode 129 = Cyrillic_GHE_bar
keycode 130 = Cyrillic_ghe_bar
keycode 131 = Cyrillic_ZHE_descender
keycode 132 = Cyrillic_zhe_descender
keycode 133 = Cyrillic_KA_descender
keycode 134 = Cyrillic_ka_descender
keycode 135 = Cyrillic_KA_vertstroke
keycode 136 = Cyrillic_ka_vertstroke
keycode 137 = Cyrillic_EN_descender
keycode 138 = Cyrillic_en_descender
keycode 139 = Cyrillic_U_straight
keycode 140 = Cyrillic_u_straight
keycode 141 = Cyrillic_U_straight_bar
keycode 142 = Cyrillic_u_straight_bar
keycode 143 = Cyrillic_HA_descender
keycode 144 = Cyrillic_ha_descender
keycode 145 = Cyrillic_CHE_descender
keycode 146 = Cyrillic_che_descender
keycode 147 = Cyrillic_CHE_vertstroke
keycode 148 = Cyrillic_che_vertstroke
keycode 149 = Cyrillic_SHHA
keycode 150 = Cyrillic_shha
keycode 151 = Cyrillic_SCHWA
keycode 152 = Cyrillic_schwa
keycode 153 = Cyrillic_I_macron
keycode 154 = Cyrillic_i_macron
keycode 155 = Cyrillic_O_bar
keycode 156 = Cyrillic_o_bar
keycode 157 = Cyrillic_U_macron
keycode 158 = Cyrillic_u_macron
keycode 159 = Cyrillic_io
keycode 160 = Cyrillic_je
keycode 161 = Cyrillic_lje
keycode 162 = Cyrillic_nje
keycode 163 = Cyrillic_dzhe
keycode 164 = numerosign
keycode 165 = Cyrillic_IO
keycode 166 = Cyrillic_JE
keycode 167 = Cyrillic_LJE
keycode 168 = Cyrillic_NJE
keycode 169 = Cyrillic_DZHE
keycode 170 = Cyrillic_yu
keycode 171 = Cyrillic_a
keycode 172 = Cyrillic_be
keycode 173 = Cyrillic_tse
keycode 174 = Cyrillic_de
keycode 175 = Cyrillic_ie
keycode 176 = Cyrillic_ef
keycode 177 = Cyrillic_ghe
keycode 178 = Cyrillic_ha
keycode 179 = Cyrillic_i
keycode 180 = Cyrillic_shorti
keycode 181 = Cyrillic_ka
keycode 182 = Cyrillic_el
keycode 183 = Cyrillic_em
keycode 184 = Cyrillic_en
keycode 185 = Cyrillic_o
keycode 186 = Cyrillic_pe
keycode 187 = Cyrillic_ya
keycode 188 = Cyrillic_er
keycode 189 = Cyrillic_es
keycode 190 = Cyrillic_te
keycode 191 = Cyrillic_u
keycode 192 = Cyrillic_zhe
keycode 193 = Cyrillic_ve
keycode 194 = Cyrillic_softsign
keycode 195 = Cyrillic_yeru
keycode 196 = Cyrillic_ze
keycode 197 = Cyrillic_sha
keycode 198 = Cyrillic_e
keycode 199 = Cyrillic_shcha
keycode 200 = Cyrillic_che
keycode 201 = Cyrillic_hardsign
keycode 202 = Cyrillic_YU
keycode 203 = Cyrillic_A
keycode 204 = Cyrillic_BE
keycode 205 = Cyrillic_TSE
keycode 206 = Cyrillic_DE
keycode 207 = Cyrillic_IE
keycode 208 = Cyrillic_EF
keycode 209 = Cyrillic_GHE
keycode 210 = Cyrillic_HA
keycode 211 = Cyrillic_I
keycode 212 = Cyrillic_SHORTI
keycode 213 = Cyrillic_KA
keycode 214 = Cyrillic_EL
keycode 215 = Cyrillic_EM
keycode 216 = Cyrillic_EN
keycode 217 = Cyrillic_O
keycode 218 = Cyrillic_PE
keycode 219 = Cyrillic_YA
keycode 220 = Cyrillic_ER
keycode 221 = Cyrillic_ES
keycode 222 = Cyrillic_TE
keycode 223 = Cyrillic_U
keycode 224 = Cyrillic_ZHE
keycode 225 = Cyrillic_VE
keycode 226 = Cyrillic_SOFTSIGN
keycode 227 = Cyrillic_YERU
keycode 228 = Cyrillic_ZE
keycode 229 = Cyrillic_SHA
keycode 230 = Cyrillic_E
keycode 231 = Cyrillic_SHCHA
keycode 232 = Cyrillic_CHE
keycode 233 = Cyrillic_HARDSIGN 

Затем необходимо перезагрузить ваш openmoko-телефон. После перезагрузки все русские буквы будут вводиться как следует.