LinuxMint How to configure the Chinese environment directly to the English environment (disposable)

Source: Internet
Author: User
Tags locale posix

/********************************************************************* * 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)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.