Solving the slow startx under zh_CN.GBK problem
-----------------------------------------------
Retried to run startx under LC_CTYPE=zh_CN.GB2312, and it took only 6 - 7 second
s. I suspect it is because there is no font for GBK codeset (inspired by a docum
ent in LinuxSir.org that explains details of fonts.dir file). Looking at fonts.d
ir file and fonts.scale files under the directory where my simsun.ttc resides (/
usr/X11R6/lib/fonts/local/) shows indeed there is no font defined for gbk. So du
plicated the line:
simsun.ttc -misc-SimSun-medium-r-normal--0-0-0-0-p-0-gb2312.1980-0
and changed it to:
simsun.ttc -misc-SimSun-medium-r-normal--0-0-0-0-p-0-gbk-0
Did the same thing for fonts.scale (guess it is necessary). Updated first line o
f both file to indicate the correct number of fonts listed below.
After that run startx again. After about 7 seconds I am in fluxbox!