On 09/24/2016 05:07 PM, david...@freevolt.org wrote: > On Sat, 24 Sep 2016, Lisi Reisz wrote: > >> My husband has just asked to do this. His system is vanilla from this point >> of view. (Mine is in a mess, with a messed-up scim and no foreign >> fonts "working", but that is another story.) >> >> Advice please on the best way to achieve this for him. I.e., what do those >> of >> you doing this or similar find works comfortably. > > This is what I use in my /etc/default/keyboard file: > > $ grep '^[^#]' /etc/default/keyboard > XKBMODEL="pc101" > XKBLAYOUT="us,ru,sy" > XKBVARIANT="" > XKBOPTIONS="grp:caps_toggle,compose:menu" > BACKSPACE="guess" > > The "ru" portion of the XKBLAYOUT value, and the "grp:caps_toggle" > setting in XKBOPTIONS are the relevant parts for your purposes. > > It makes capslock a toggle between en_US, russian, and syrian arabic > keyboard layout.
That's a valid way of doing this (most desktop environments allow you to define multiple keyboard layouts + a shortcut to switch without you having to fiddle with Xkb btw.), I personally find it really hard though to write Cyrillic with a Russian keyboard layout, if the characters aren't printed on the keyboard. Of course, I grew up with the Latin layout, and I don't have any real muscle memory for the Cyrillic layout. (Typing then would be a LOT of trial and error for me.) If you indeed grew up on a Russion keyboard, your suggestion of just switching the layout is probably the easier solution. It's just not something I'd personally be able to use in any efficient manner. Regards, Christian