How to directly configure LinuxMint from the Chinese environment to the English environment (one time)
/*************************************** ******************************
* Author : Samson * Date : 10/21/2014 * Test platform: * Mint 16 * GNU bash, version 4.2.45 * *******************************************************************/
Sometimes, the Chinese environment cannot be configured directly on the interface of the English language environment. Why? I can only say that others are customized like this, you know ;_*
For a programmer who wants to fix gnome and other programs, This is a TMD environment, because a lot of keywords need to be searched, the English environment is the environment where the problem can be quickly handled. fei is not much to say. What should I do?
That is, when the logon interface is started, you can directly use the shortcut keyboard to jump to the command line mode, ctrl + alt + F1 to switch, and then use root to log on, to modify the LANG environment variable value, you can use the locale command to view the configuration of the current language environment. If it is in a Chinese environment, the values of the following variables are generally:
Locaufo @ ufo :~ $ 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 =
Run the following command:
Export LANG = POSIX
Enter the GNOME Display Manager startup command used by LinuxMint in the command line: mdm
You can enter the English environment.
After running the system, run the following locale command: ufo @ ufo :~ $ 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 one-time language environment modifications. The Chinese environment will be started after the restart.