Xwindow language selection under the Linux operating system

  

Now everyone may encounter such problems with linux. After selecting the system language as Chinese, Xwindow is very good to use Chinese, and the input method is not bad. But back to the character terminal, if you do not install Chinese terminal software such as cce, use some software such as vi is the prompt information in the software, it will become garbled. Of course, if you start cce, it won't be. Now is how to solve the use of English in the character terminal, and in Chinese under Xwindow?

Let me tell you the answer, edit a very simple shell:



export LC_ALL=zh_CN.GB2312 export LANG=zh_CN.GB2312 startx

< Br>

Save these content files as your favorite name such as: xxstartx. Change the permissions to 755, ie: chmod 755 xxstartx. Cp it to the /usr/X11R6/bin directory, ie: cp xxstartx /usr/X11R6/bin. The above operation is done under root.

ok, test it, the system language is set to English. Log out to the login terminal interface (all users can log in), run xxstartx directly and see if it's cool. ^_^.

rh90 by ……

Note: This method is also effective for English-language Xwindow to support Chinese-language applications, such as gftp, qterm , qq……

Copyright © Windows knowledge All Rights Reserved