/********************************************************************* * Author:samson * date:10/21/2014 * Test PL Atform: * Mint * GNU bash, version 4.2.45 * ************************************************* ******************/
Sometimes, the Chinese environment does not have the ability to directly configure the interface to the English language environment, as for you to ask why? Then I can only say that others are so customized, you know; _*
For a programmer to repair the GNOME and other programs, this is a TMD environment, because many need to carry out keyword search, and the English environment is really able to quickly deal with the problem of the environment, Fei words do not say, how to do?
That is, in the start to the login interface, directly using the shortcut keyboard to jump to the command line mode, CTRL+ALT+F1 to switch, and then use root to log in, modify the lang environment variable value, you can use the locale command to view the current locale configuration, if in the Chinese environment, The values for the following variables are generally:
[Email protected]:~$ locale
Lang=zh_cn.utf-8
Language=
Lc_ctype= "Zh_cn.utf-8"
Lc_numeric= "Zh_cn.utf-8"
Lc_time= "Zh_cn.utf-8"
Lc_collate= "Zh_cn.utf-8"
lc_monetary= "Zh_cn.utf-8"
Lc_messages= "Zh_cn.utf-8"
Lc_paper= "Zh_cn.utf-8"
Lc_name= "Zh_cn.utf-8"
Lc_address= "Zh_cn.utf-8"
Lc_telephone= "Zh_cn.utf-8"
Lc_measurement= "Zh_cn.utf-8"
lc_identification= "Zh_cn.utf-8"
Lc_all=
Use the command:
Export Lang=posix
Then, on the command line, enter the start command for the Gnome Display manager that LinuxMint uses: MDM
Can enter the English environment.
Once the system is in place, use the locale command as follows: [Email protected]:~$ locale
Lang=posix
Language=
Lc_ctype= "POSIX"
Lc_numeric= "POSIX"
Lc_time= "POSIX"
Lc_collate= "POSIX"
lc_monetary= "POSIX"
Lc_messages= "POSIX"
Lc_paper= "POSIX"
Lc_name= "POSIX"
Lc_address= "POSIX"
Lc_telephone= "POSIX"
Lc_measurement= "POSIX"
lc_identification= "POSIX"
Lc_all=
Of course, the above method only applies to the one-time language environment modification. After restarting, the Chinese environment will still be in place.
LinuxMint How to configure the Chinese environment directly to the English environment (disposable)