Table of Contents
Strategy:
So, basically, all modification done in /etc/X11/XF86Config is enough.
Example 1. File /etc/X11/XF86Config:
Section "Files" RgbPath "/usr/X11R6/lib/X11/rgb" FontPath "/fonts/TrueType/win_zh_CN.0" FontPath "/usr/share/fonts/zh_CN/TrueType" FontPath "/usr/share/fonts/zh_TW/TrueType" FontPath "unix/:7100" EndSection Section "Module" Load "dbe" # Double-buffering Load "dri" # Direct rendering infrastructure Load "GLcore" # OpenGL support Load "glx" # OpenGL X protocol interface Load "extmod" # Misc. required extensions # Load "v4l" # Video4Linux, not in default setting # Load "pex5" # PHIGS for X 3D environment (obsolete) Load "record" # X event recorder # Load "xie" # X Image Extension (obsolete) # You only need the following two modules if you do not use xfs. Load "freetype" # TrueType font handler, can also use xtt Load "type1" # Adobe Type 1 font handler, not in default setting Load "fbdevhw" EndSection
Quit xwindow then start it gain. Note that restarting xwindow manager won't help.
xfd -fn -microsoft-simsun-medium-r-normal--0-0-0-0-c-0-gb2312.1980-0 & xfd -fn -microsoft-simsun-medium-r-normal--0-0-0-0-p-0-gb2312.1980-0 &