Section "Module" Load "dbe" # Double-buffering Load "GLcore" # OpenGL support Load "dri" # Direct rendering infrastructure Load "glx" # OpenGL X protocol interface Load "extmod" # Misc. required extensions Load "v4l" # Video4Linux Load "xtt" ;加入这一行 # 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 # Load "type1" # Adobe Type 1 font handler EndSection
(4)修改 gtk 的字体定义
#vi /etc/gtk/gtkrc.zh_CN
修改后的内容如下:
# $(gtkconfigdir)/gtkrc.zh_CN # # This file defines the fontsets for Chinese language (zh) using # the simplified chinese standard GuoBiao as in mainland China (CN) # # 1999, Pablo Saratxaga style "gtk-default-zh-cn" { fontset = "-misc-SimSun-medium-r-normal--14-*-*-*-*-*-*-*" } class "GtkWidget" style "gtk-default-zh-cn"
alias rm= m -i alias cp=cp -i # Source global definitions if [ -f /etc/bashrc ]; then . /etc/bashrc fi export LC_ALL=zh_CN.GB2312 export LANG=zh_CN.GB2312 export XMODIFIERS=@im=Chinput