Red HatThis forum is for the discussion of Red Hat Linux.
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 know this question has been asked many times but I still can't get it right on my RedHat 9.0.
I just select English as default during RedHat 9.0 installation. And I want to input and display Chinese without re-install RedHat. Finally I can read Chinese smoothly so now comes Chinese input.
I download Xcin rpm and installed it. I follow the user guide that comes with Xcin, here is what I did
1. I open up a terminal
2. Type LANG=zh_TW_Big5; export LANG
3. Run xcin & and it works well with correct output
4. Set XMODIFIERS="@im=xcin"; export XMODIFIERS
5. Then I go back to my GNOME desktop, run Netscape 7.01 and I try every key combination like Ctrl-space, entter. Still can't input Chinese, just nothing happened
Try also using LC_CTYPE=zh_TW.Big5 and LC_ALL=zh_TW.Big5, but I know that when I used xcin it seemed that not all applications supported it, maybe netscape/mozilla is one of them...
But probably the main reason is that it you need to run the application (in this case Netscape) from the same terminal that you have set your LANG & XMODIFIER variables, from your post it doesn't seem that you did that - it seems that you started Netscape from your GUI menu, which won't let the xcin server work if you are logged in as an "english" user.
It is easier if you create a new user purely for running applications (from your English GUI login though) where you want to use Chinese input, and adding these bash environment variables to that user's /home/user/.bashrc file.
Then when you are in your English GUI login, just simply open a terminal window, login there as your new Chinese user and run netscape from the command line there...easy!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.