[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Cyrillic input in Xorg?



Hi all,

I've a (probably dumb) question: how do I configure XKB so that I can
switch between Latin and Cyrillic keyboard layouts? I tried:

	setxkbmap us,ru -option grp:lwin_toggle

and I'm able to get it to switch between the US keyboard and the Russian
keyboard, but when I'm in Russian mode, the Cyrillic letters don't come
out. Here's the xev trace:

	KeyPress event, serial 24, synthetic NO, window 0xc00001,
	    root 0x44, subw 0x0, time 1436078615, (95,66), root:(662,337),
	    state 0x2000, keycode 38 (keysym 0x6c6, Cyrillic_ef), same_screen YES,
	    XLookupString gives 0 bytes: 
	    XmbLookupString gives 0 bytes: 
	    XFilterEvent returns: False

	KeyRelease event, serial 24, synthetic NO, window 0xc00001,
	    root 0x44, subw 0x0, time 1436078763, (95,66), root:(662,337),
	    state 0x2000, keycode 38 (keysym 0x6c6, Cyrillic_ef), same_screen YES,
	    XLookupString gives 0 bytes: 


So obviously something is working because I'm getting the Cyrillic
symbols, but for some reason XLookupString returns nothing. What's
missing here?  I'm running rxvt-unicode under a UTF-8 environment (I
tried xterm and uxterm as well, but get the same problem), and my
generated locales are:

	ru_RU.KOI8-R KOI8-R
	ru_RU UTF-8
	en_US.ISO-8859-1 ISO-8859-1
	en_US UTF-8

Any help would be greatly appreciated. Please reply directly to me as
I'm not subscribed to this list. Thanks!


T

-- 
Skill without imagination is craftsmanship and gives us many useful
objects such as wickerwork picnic baskets.  Imagination without skill
gives us modern art. -- Tom Stoppard



Reply to: