Re: Cyrillic letters in X applications

2001-01-21 Пенетрантность Sattaroff Tumyp
On 20 Jan 2001, Peter Solodov wrote:

   [EMAIL PROTECTED]:~  export LC_CTYPE=ru_RU.KOI8-R

Folks, one more variable
OUTPUT_CHARSET should be set to $LANG(in this case ru_RU.KOI8-R)
it helps to show russian letters in xmms and gnomecc


-- 
Bye
TimHisTeam



Cyrillic letters in X applications

2001-01-20 Пенетрантность Konrad Mierendorff

Hi,

learning russian at the moment, my knowlege of this difficult but 
interesting language is not enough to bring forward my question in 
russian nor to understand any russian answers. I hope this is OK for you 
although this is a russian list.


To learn vocabulary I use MS-Excel at the moment. I write the german 
words in one column and the corresponding russian term in the next 
column. To check the vocabulary I enter the russian terms in the third 
column once again while the second is hidden. In the forth column there 
is a comparison-statment (=B2=C2 in cell D2) that tells me wether the 
entered word is correct.


Now I would like to do the same using Linux and Gnumeric or perhaps 
StarOffice but I don't know how to input cyrillic letter in these 
applications or in Linux in general.


Is it possible to switch between different keyboard-layouts (like in 
Windows with ALT-SHIFT) in X?


Please help me - You would help me to get rid of Windows!

Thanks in advance for any advice!

- Konrad

P.S.: Please don't answer in russian as I won't understand it.



Re: Cyrillic letters in X applications

2001-01-20 Пенетрантность Peter Solodov
Hi again.

Just realized there was no real explanation how to get russian in
apps.

So here are the steps you should follow:

1. Install cyrillic fonts
2. Modify XF86Config (see previous messages)
3. Modify (or even create) /etc/gtk/gtkrc.ru_RU.KOI8-R (attached) for
   GTK apps to know about Russian.
4. Start your apps with LC_CTYPE env. variable set to
   ru_RU.KOI8-R. Don't set LANG as it will cause all the applications
   to speak Russian (do it if you really want to learn the language :))

This is one possible way, and I think it's a bit too much for the
things you want (althoug it's the _right_ way).

Another thing you can try is xruskb program (available in
Debian). That way you only need to install fonts and install and
configure this program.

Peter.


gtkrc.ru_RU.KOI8-R
Description: Binary data


Re: Cyrillic letters in X applications

2001-01-20 Пенетрантность Konrad Mierendorff

Hi,

I am recognizing some progress, but there is still trouble ...

Peter Solodov wrote:


1. Install cyrillic fonts

Done!


2. Modify XF86Config (see previous messages)

Done! (At least I hope so)
This is the important part of my XF86Config (I using 3.3.6)

--
Section Keyboard
ProtocolStandard
AutoRepeat  500 30
Xkbkeycodes xfree86
XkbTypesdefault
XkbCompat   default
XkbRulesxfree86
XkbModelpc102
XkbLayout   rums(basic)
XkbOptions  grp:shift_toggle
EndSection
--

This resulted of course in an american keyboard layout and I do not know 
how to switch. (grp:shift = Alt+Shift?) Alt+Shift does not work BTW.


But I proceded, hoping that I could figure this out later, but I would not.


3. Modify (or even create) /etc/gtk/gtkrc.ru_RU.KOI8-R (attached) for
   GTK apps to know about Russian.

Done!


4. Start your apps with LC_CTYPE env. variable set to
   ru_RU.KOI8-R. Don't set LANG as it will cause all the applications
   to speak Russian (do it if you really want to learn the languag


Well, there is at least an error message. When I start gnumeric I get 
the following output:


[EMAIL PROTECTED]:~  export LC_CTYPE=ru_RU.KOI8-R
[EMAIL PROTECTED]:~  gnumeric

Gdk-WARNING **: Missing charsets in FontSet creation


Gdk-WARNING **: KOI8-R


Gdk-WARNING **: KOI8-R



The error message is several times.

Does it tell you anything? I for my part am a bit helpless. And now it 
is late and I will try again tomorrow.


- Konrad