Fedora Core 2 Explanation of Fonts and Input Method Settings
System environment:
KERNEL: Linux-2. 6.5-1.358-i386
Related files: / etc / sysconfig / i18n (uppercase, is: i18n)
/etc/x11/xinit/xinit.d/xinput
~ / .bashrc
~ / .bash_profile
/ usr / bin / fcitx
among them:
/ etc / sysconfig / i18n (I18N ~ as the last modified backup) sets the system default language and zone option, affects display from start to XWINDOWS system information (including terminal, x menu, system messages, etc.) .
For example, suppose / etc / inittab init: 5: Default, ie, the graphical interface is started, then show Details and the X Lodged window when starting is Chinese or English initialization information.
/etc/x11/xinit/xinitrc.d/xinput The input method used in the system is configured and installed, including the option to select the input method under the same language area, affect the input character selection in various text input environments.
For example, after o is installed, this will decide whether to press Ctrl Space to call up the cute little penguin input strip in Gedit, GNOME-TERMINAL, Mozilla.
~ / .bashrc or ~ / .bash_profile and ~ / Lang.SH, etc. are all based on system-configured personal temporary profiles. If there is no existence, use the system predefined; otherwise, the corresponding configuration is overwritten by personal configuration (temporary).
/ usr / bin saved is a program that the terminal can perform directly execute, such as the main program of the input method platform.
Language area related variables
Value Domain: zh_cn.utf-8: zh_cn: en: en_tw.utf-8: en_tw: en: en_us.utf-8: en_us: EN common variable:
GDM_LANG LC_ALL LC_CTYPE LANG CONSOLE_NOT_LOCALIZED X11_NOT_LOCALIZED ----- (Subsequently arranged by system search; the last two is additional options for i18n, meaning literal)
»To support Chinese (input) in the terminal, you must set LC_CTYPE to Chinese character sets.
»To support Chinese display in the graphical interface (including the terminal), you must set lc_all to Chinese character sets.
»To make the xwindows interface as English, you must ensure that lang set to English character sets
»Some applications Chinese support need to be set in the corresponding configuration file
Finally, the changes to these configuration files and the settings of environment variables under the terminal or console are equivalent, and the latter is more flexible and there is no need to re-login or restart. Note that the following facts:
1. Supporting Chinese under the console requires ENCON (.ETC) 2, the variable set by Export is immediately taken into effect, under the entire xwindow until it is logged out. 3. When the Terminal By & Start input method (such as fcitx), the support of Chinese is limited to programs start from the current terminal.
The first time I did the test record, show ugliness.
-------------------------------------------------- ------------------------------
December 9, 2004 22:08:14