Copyright Statement: during reprinting, please use a hyperlink to indicate the original source and author information of the article and this statement OS: DebianTestingEtch references: UbuntuWiki, which is much easier than Gentoo. 1. set the local environment # dpkg-reconfigurelocalesanchor to ensure that the zh_CN.UTF-8 is selected, and the default local is en _
Copyright disclaimer: during reprinting, please use hyperlinks to indicate the original source and author information of the article and this statement
OS: Debian Testing "Etch"
Reference: Ubuntu Wiki
This is much easier than Gentoo.
1. set the local environment
# Dpkg-reconfigure locales
"Anchor">
Make sure that the zh_CN.UTF-8 is selected, and the local is the en_US.UTF-8 by default
# Gedit/etc/environment
---------------------------------------------------------------------------------
LANG = en_US.UTF-8
LC_CTYPE = zh_CN.UTF-8
LC_NUMERIC = en_US.UTF-8
LC_TIME = en_US.UTF-8
LC_COLLATE = en_US.UTF-8
LC_MONETARY = en_US.UTF-8
LC_MESSAGES = en_US.UTF-8
LC_PAPER = en_US.UTF-8
LC_NAME = en_US.UTF-8
LC_ADDRESS = en_US.UTF-8
LC_TELEPHONE = en_US.UTF-8
LC_MEASUREMENT = en_US.UTF-8
LC_IDENTIFICATION = en_US.UTF-8
-------------------------------------------------------------------------------
2. install and set the input method
# Apt-get install scim-chinese
# Gedit/etc/X11/Xsession. d/95 xinput
Bytes ----------------------------------------------------------------------------------------------------------------
Export XMODIFIERS = @ im = SCIM
Export GTK_IM_MODULE = "scim"
Export QT_IM_MODULE = "scim"
Scim-d
Bytes -----------------------------------------------------------------------------------------------------------------
# Chmod + 755/etc/X11/Xsession. d/95 xinput
3. restart XWindow