Sorry for delay with answer -- vacations time without e-mail account access.
07/10/2010 08:38 +0400, Michael Tokarev wrote: > 06.10.2010 23:56, Eduardo Habkost wrote: > > > > Anybody using a russian keyboard layout who can test this change and > > confirm it works as expected? > > I can perform such a testing - in theory. But in practice, I was never > able to figure out this -k $lang stuff, -- neither in qemu nor in other > apps like rdesktop and the like. > > What I usually do is to explicitly set en-us keyboard for applications > that are "too smart" and tries to guess "right" keyboard from env. > variables such as $LANG. > > The reason is that after specifying "ru" keyboard, I can't use latin > chars anymore, and can type only using cyrillic. Since cyrillic > layout does not have any latin char, imagine how to type, say, a > path name (even "C:" drive in windows). > > All modern OSes nowadays have a way to switch between keyboard layouts > dynamically - this is done internally in the operating system. So, > basically, I've no idea what this -k $foo stuff is used for to start > with ;) > > Care to explain please? Oleg? :) I don't understand reasons for such locale-default keyboard settings for qemu too, but may be it's useful for someone... > Thanks! > > /mjt Regards! --Oleg