Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's 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 running linux 9 i need help like in widnows it is easy to set up the ime but how do i do it in linux is there a program or something within linux plz help me i really need to input chinsese text
uuhh, i'm not used to red hat, but there should be some configuration panel somewhere where you can change the mapping of the keyboard.
If you're under x (~graphical desktop environment) you should find something like "System Settings" or somesuch under the Main Menu.
I just found this in red hats documentation. That should do the trick.
Quote:
If you wish to change your keyboard type after you have installed your Red Hat Linux system, become root and type either /usr/sbin/kbdconfig or setup at the root prompt.
When you installed Red Hat 9 did you select Simplified and/or Traditional Chinese as additional languages? If you did then the install process would have installed all the necessary files and applications for you to be able to read write etc. in Chinese.
Assuming that you did select Chinese, and also assuming that you want to use a GUI desktop interface such as KDE or GNOME, then when you are at the login screen and you type in your username and password, you should be able to easily select Chinese as your language of choice for your current session by clicking on the Language button. Very nice & easy, and when you are logged in you can run at a terminal window command line :
$ chinput & oowriter
this will start the chinput XIM server and then by pressing CTRL + SPACE you can toggle between Chinese and English input. (Toggle CTRL + SHIFT to choose different input methods such as Pinyin, Cangjie, Cantonese etc).
If you didn't selected Chinese as an additional language when you installed Red Hat, then you can a) install again (probably the easiest way for a relative beginner to Linux) or b) do it the "fun" way by installing all the Chinese font files, the zh_CN and zh_TW locale files, IME applications such as xcin and chinput and kde-i18n packages. All the required files are on the distribution CDs.
Hope this helps, if not, ask again and we'll help you get it up and running. BTW, if you type "chinese input" in the search field in LQ Forums you will see many posts, questions & answers on this topic, and if you can spare the time to read through them it will help you a lot.
jdw
ps to charalambos, JTLYK languages like Chinese, Japanese & Korean use multibyte character sets, and thus do not use the normal keyboard mappings, but require IME servers to map series of keyboard strokes to characters...cheers!
I think I did not choose Chinese when install Red Hat 9 in the very begining, I have installed xcin with apt-get. So how to set chinese user to have access with the libxcin file?
You will need to make sure that you have the Chinese locale files installed, as well as some Chinese font files and if you are using KDE the kde-i18n files for Chinese.
My advice though, it is easier to just back up any files you may want to save and just reinstall RH9 and select Traditional and Simplified Chinese when asked to (not as your install language (about the first screen you come to) but the screen where it asks you for additional languages. Then when you log into your GUI system it gives you the option of choosing a language for that session, you can select Chinese from the list.
Otherwise you will have to find the relevant rpm packages for the locales, fonts etc. on your distro CDs, they are all there, once all these are installed you should be able to get it all going.
ok, I'm assuming you are logged in a Desktop environment such as Gnome or KDE and want to use a console window like "Konsole" or "xterm", here's what you can do :-
in the console window, at the command line (of course!), type the following commands :-
$ export LANG=zh_CN.UTF-8
$ export LC_ALL=zh_CN .UTF-8
$ export LC_CTYPE=zh_CN.UTF-8
$ export XMODIFIERS=@im=xcin // or chinput, fcitx etc.
you can change the above to zh_TW.UTF-8 if you need Traditional Chinese.
what the above does is change the locale FOR THAT CONSOLE SESSION to Chinese, which allows the console window program to process and display Chinese characters, which are very different to Latin characters of course.
The XMODIFIERS line tells bash to use xcin as the input method software...so if you just want to read Chinese you don't really need to put this...
Thank you so much JDW, it really help¡D¡@¢×can now read Chinese and also input Chinese. I just reinstall the RH9 and select the languages in the begining of the installation.
Now I¡@¢ï¢÷¢ü¡@¢é¢ö¢÷¢ü¢ð¢í¢ú¡@¢ø¢ú¢÷¢ê¢ô¢í¢õ¡A¡@¢×¡@¢ë¢é¢ö¡@¢ö¢÷¢ü¡@¢ð¢í¢ô¢ø¡@£@¢ñ¢ü¢ð¡@¢ü¢ð¢í¡@¢Ñ¢ð¢ñ¢ ö¢í¢û¢í¡@¢ñ¢ö¢ø¢ý¢ü¡@¢ê¢÷£A¡@¢ü¢ð¢é¢ü¡@£B¢÷¢ý¡@¢ë¢é¢ö¡@¢ë¢ð¢÷¢÷¢û¢í¡@¢ì¢ñ¢î¢î¢í¢ú¢í¢ö¢ü¡@¢ó¢ñ¢ö¢ì¢û¡ @¢÷¢î¡@¢ñ¢ö¢ø¢ý¢ü¡@¢õ¢í¢ü¢ð¢÷¢ì, it pop out suddely.
The Chinese input tools even affect the display of the last post. I can not help the pop out of the Chinese input box, that for selection of different input methods.
to close the input box, i.e. toggle between Chinese and English, press CTRL + SPACE. To toggle the different kinds of input methods, press CTRL + SHIFT...
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.