Home >Operation and Maintenance >Linux Operation and Maintenance >What should I do if I can't input Chinese in Linux?
Solution to the problem that Linux cannot input Chinese: 1. Enter the terminal; 2. Modify "ANGUAGE=zh_CN.GB2312:zh_CN:zhLANG=zh_CN"; 3. Save and exit.
The operating environment of this article: linux5.9.8 system, Dell G3 computer.
linux What should I do if I can’t input Chinese?
After searching for a day, I finally found the solution. The solution is as follows:
1. Enter the terminal
2. gedit /etc/sysconfig /i18n
Is there only one line? I just have one line: LANGE=... (can’t remember what I wrote)
3. Delete the original text and replace it with the following text
LANGUAGE=zh_CN.GB2312:zh_CN:zh LANG=zh_CN#默认中文
XIM=Scim#Input method Related
XIM_PROGRAM=scim#输入法相关 XMODIFIERS="@im=SCIM"#输入法相关
Save and exit.
4. Log out in order to restart the input method. There may be a simpler way, such as a command to reload the input method.
5. There are many input methods, including Wubi and Intelligent Pinyin. The font is also in Traditional Chinese. Next, you can right-click to set which input methods are displayed and which ones are not displayed. For example, you can not display the Traditional Chinese input method.
Okay, this is how my system solved it. If your problem cannot be solved, it may be because the input method is not installed or for other reasons.
Recommended learning: "linux video tutorial"
The above is the detailed content of What should I do if I can't input Chinese in Linux?. For more information, please follow other related articles on the PHP Chinese website!