← Back to team overview

ubuntu-phone team mailing list archive

Re: [tablet] M10: how to enable alternative keyboard layout

 

El día Sunday, April 24, 2016 a las 11:05:26PM +0200, Alexey Balmashnov escribió:

> I see. So you need to be able to input a few extra "accents" and using
> modifier key (switching on the fly how actual key-presses are interpreted
> by a system) looks and feels OK. For Russian you need 33 extra symbols of
> alphabet, overlay-ed over standard keyboard, modifier key just does not
> really fly in this case. I am used to keyboard layout switchers and I
> actually can switch to Cyrillic with a key combo (here is an example: и
> напечатать несколько слов; translation: and type in a few words). Different
> languages, different implementations, different views on what is "basic"
> functionality in terms of user experience and usability ;)

Hi Alexey,

As I said, I use a normal QWERTY or as well QWERTZ keyboard (the latter
on my FreeBSD netbook). With the attached key modifications I can type
fine: Мена зовут Мattиас. 

O this too:

И снег, и ветер,
И звёзд ночной полёт…
Меня мое сердце
В тревожную даль зовёт.

I learnd Russian in the past in school, many years ago in the GDR.
You do not need any change of keyboard layout to type Russian text :-)

	matthias
-- 
Matthias Apitz, ✉ guru@xxxxxxxxxxx, ⌂ http://www.unixarea.de/  ☎ +49-176-38902045
¡Dios querido denos otra vez los problemas de ayer, los que tuvimos en la RDA!
My Lord, give us back the problems of yesterday, those we have had in the GDR.
! .xmodmap-cyrillic
!
! Adds cyrillic characters to the keyboard mapping,
! while respecting the basic keyboard layout.
! $Id: .xmodmap-cyrillic,v 1.3 2004/09/30 18:32:24 chris Exp $
! Author: Christian Steinruecken
!
! Assumed extra keys: [�  [�  [�
! Currently complete: Russian
! Partially complete: 

! added by guru@xxxxxxxxxxx
keycode 0x40 =  Mode_switch


! Russian (mapping attempts phonetic proximity)
keysym a = a A Cyrillic_a  Cyrillic_A
keysym b = b B Cyrillic_be Cyrillic_BE
keysym c = c C Cyrillic_che Cyrillic_CHE
keysym d = d D Cyrillic_de Cyrillic_DE
keysym e = e E Cyrillic_ie Cyrillic_IE
keysym f = f F Cyrillic_ef Cyrillic_EF
keysym g = g G Cyrillic_ghe Cyrillic_GHE
keysym h = h H Cyrillic_ha Cyrillic_HA
keysym i = i I Cyrillic_i  Cyrillic_I
keysym j = j J Cyrillic_shorti  Cyrillic_SHORTI
keysym k = k K Cyrillic_ka Cyrillic_KA
keysym l = l L Cyrillic_el Cyrillic_EL
keysym m = m M Cyrillic_em Cyrillic_EM
keysym n = n N Cyrillic_en Cyrillic_EN
keysym o = o O Cyrillic_o  Cyrillic_O
keysym p = p P Cyrillic_pe Cyrillic_PE

keysym r = r R Cyrillic_er Cyrillic_ER
keysym s = s S Cyrillic_es Cyrillic_ES
keysym t = t T Cyrillic_te Cyrillic_TE
keysym u = u U Cyrillic_u  Cyrillic_U
keysym v = v V Cyrillic_ve Cyrillic_VE
! keysym w = w W Cyrillic_ve Cyrillic_VE
! keysym v = v V Cyrillic_zhe Cyrillic_ZHE

keysym y = y Y Cyrillic_yeru Cyrillic_YERU
keysym z = z Z Cyrillic_ze Cyrillic_ZE

! These don't really fit as nicely, but they have to be somewhere
keysym q = q Q Cyrillic_ya Cyrillic_YA
keysym w = w W Cyrillic_sha Cyrillic_SHA
keysym x = x X Cyrillic_zhe Cyrillic_ZHE

! These require key mappings for [�, [�, [� and [�
keysym udiaeresis = udiaeresis Udiaeresis Cyrillic_yu Cyrillic_YU
keysym adiaeresis = adiaeresis Adiaeresis Cyrillic_e Cyrillic_E
keysym odiaeresis = odiaeresis Odiaeresis Cyrillic_io Cyrillic_IO
! keysym aring = aring Aring Cyrillic_yu Cyrillic_YU
! keysym ccedilla = ccedilla Ccedilla Cyrillic_TSE Cyrillic_TSE

! And these are the worst...
! Punctuation keys are modified, and German layout is assumed :(
! This section really does require manual editing, if you want to
! use this conveniently with a non-German keymap...
keysym comma  = comma semicolon Cyrillic_softsign Cyrillic_SOFTSIGN
keysym period = period colon Cyrillic_hardsign Cyrillic_HARDSIGN
keysym minus = minus underscore Cyrillic_tse Cyrillic_TSE
keysym numbersign = numbersign apostrophe Cyrillic_shcha Cyrillic_SHCHA

! Note that, on German keyboards, the @-sign disappears when [Q] is
! remapped. So the following line should make it accessible again, by
! putting it on SHIFT-[3], replacing the mainly useless paragraph
! symbol (which still remains accessible with ALTGR-SHIFT-[3]).
keysym 3 = 3 at at paragraph
! Done...

! Matters of taste:
!   Have VE on [V] or [W]?
!      On the net, quite a few people have VE on [W] and ZHE on [V].
!   Have YERU on [� and YA on [#], for German layout?
!   Have SHA and SHCHA next to each other on punctuation keys?
!   On Swedish keyboards, you can have YA on [�.
!      (Rather than on non-existent [�... :)
! 
! Research question:
!   Are there any sensible keys where the missing letters should be
!   mapped by default?  The motivation of this question is to avoid
!   the necessity for (and the amount of) editing required to get
!   this all to work.



References