How to directly configure LinuxMint from the Chinese environment to the English environment (one time), linuxmint English
/********************************************************************* * 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.
In linux, how does one switch from an English input environment to a Chinese Input environment?
First, you have installed the Chinese input method. If you have installed the method, you can run a command in the terminal. This command depends on what input method you have installed.
The installation package is usually described.
If you are the default one, ctrl + space is the same as windows.
How to change the linux Chinese environment to English
1. Bash environment edit the/etc/bashrc environment file and add a line of export LC_ALL = en_US.UTF-82. Csh environment edit/etc/csh. cshrc environment file, add a line setenv LC_ALL = en_US.UTF-8 Note: centos is more troublesome, don't eat the above set. When logging on to the graphic interface, a window will pop up, whether to change all the Chinese directory name owners (such as desktop, Chinese as "desktop") to English, select Yes, then OK