Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I am using a Gentoo system with XFce and Sun Java JRE 1.6. My keyboard uses a German layout, but as I am learning Russian I have added the ability to switch to Russian (genuine, not phonetic). This works well, only Java applications (jVLT for learning vocabulary and JBidWatcher, which I just tested to prove the problem is java-related) ignore the setting.
I can copy and paste Russian into jVLT, but cannot type it there directly. Instead, the symbols which turn up are the standard symbols defined by the German keyboard layout.
I suppose there's a way to set the keyboard layout for Java specifically, or something like that. Can anyone point me in the right direction?
I am using a Gentoo system with XFce and Sun Java JRE 1.6.
"jre-1.6" doesn't tell anything. Make sure that your java version is something like jre-1.6.0_11(as on my machine), and not just 1.6.0. If it is simply 1.6.0, then you should probably update your java runtime environment to the latest currently available.
Quote:
Originally Posted by bitpicker
My keyboard uses a German layout, but as I am learning Russian I have added the ability to switch to Russian (genuine, not phonetic). This works well, only Java applications (jVLT for learning vocabulary and JBidWatcher, which I just tested to prove the problem is java-related) ignore the setting.
I can copy and paste Russian into jVLT, but cannot type it there directly. Instead, the symbols which turn up are the standard symbols defined by the German keyboard layout.
I suppose there's a way to set the keyboard layout for Java specifically, or something like that. Can anyone point me in the right direction?
Thanks in advance.
Robin
I had similar problem in the past. In my case it was caused by wrong locale: Java accepted russian input only if LANG was set to ru_RU.UTF-8 but didn't accept russian input if LANG was set to ru_RU.UTF8 (notice missing dash between "F" and "8"). I don't remember, how I figured it out. Check your locale ("LANG" variable). If it ends with .UTF8 (which is probably the case), make it .UTF-8 and try again.
I think this locale is not fully supported by java runtime envioronment.
Check if this locale is supported by jre (list of supported locales is somewhere on the internet - google for it).
Anyway, I tried de_DE.UTF-8@euro.UTF-8 on my machine, it doesn't work (russian letters discarded when I type). However, de_DE.UTF-8 works fine (can type russian letters without problems).
I can't help you with your question, but something about your post impressed me. I assume that your native language is German. You are learning Russian, and your post used excellent English. I've tried several times to learn a second language (Spanish) and even though it is spoken all around me, I've never been able to even become conversant.
I wish more native English speakers would learn to use the quality of English that you demonstrate in your posts.
Q. What do you call a person that speaks 2 languages?
A. Bilingual.
Q. What do you call a person that speaks 3 languages?
A. Trilingual.
Q. What do you call a person that speaks 1 language?
A. An American.
You're right, my native language is German. But I studied English literature and linguistics at university and I spend most of my online time on English sites and most of my quite extensive reading is in English, too. When I went to school English was more or less compulsory from age ten, nowadays students at school here in Germany begin learning English as early as the first year at school.
I dare not hope to reach a similar level of fluency in any further language I might take up, though. At almost forty the brain isn't such a language sponge anymore.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.