QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 1003|回复: 5

wmaker汉化N个问题

[复制链接]
发表于 2004-6-2 09:42:45 | 显示全部楼层 |阅读模式
在/usr/X11R6/lib/X11/fonts/下建立ttf文件夹,把simsun.ttc文件拷贝进去
修改/etc/X11/XF86Config-4,在“unix:7100”前加一行:FontPath "/usr/X11R6/lib/X11/fonts/xp"
在“Section Module”中增加一行: Load "xtt"
但/etc/X11/XftConfig这个文件找不到,是否影响?

修改/etc/gtk/gtkrc.zh_CN
把fontset内改为 "-misc-simsun-medium-r-normal--14-*-*-*-*-*-gb2312.1980-0,
-*-*-medium-r-normal--14-*-*-*-*-*-gbk-0,*-r-*"

~/GUNSetp/Default/下的WMGLOBAL的内容是:
{
  DefaultFontSize = 12;
  FloppyPath = "/floppy";
  MultiByteText = YES;
  DoubleClickTime = 250;
  MouseWheelUp = Button4;
  MouseWheelDown = Button5;
}

startx后系统确实是已经汉化成中文,但字体是斜体,在哪修改回去,把斜体去掉
如果汉化xmms,如何让系统启动自动加载fcitx,我的本地locale是zh_CN.GBK

fonts.dir fonts.scale内容:
11
simsun.ttc -misc-fixed-medium-r-normal--0-0-0-0-c-0-gbk-0
simsun.ttc -misc-simsun-medium-r-normal--0-0-0-0-c-0-gbk-0
ai=0.2:simsun.ttc -misc-simsun-medium-o-normal--0-0-0-0-c-0-gbk-0
ai=0.4:simsun.ttc -misc-simsun-medium-i-normal--0-0-0-0-c-0-gbk-0
ai=-0.4:simsun.ttc -misc-simsun-medium-ri-normal--0-0-0-0-c-0-gbk-0
ai=-0.2:simsun.ttc -misc-simsun-medium-ro-normal--0-0-0-0-c-0-gbk-0
ab=y:simsun.ttc -misc-simsun-bold-r-normal--0-0-0-0-c-0-gbk-0
ai=0.2:ab=y:simsun.ttc -misc-simsun-bold-o-normal--0-0-0-0-c-0-gbk-0
ai=0.4:ab=y:simsun.ttc -misc-simsun-bold-i-normal--0-0-0-0-c-0-gbk-0
ai=-0.4:ab=y:simsun.ttc -misc-simsun-bold-ri-normal--0-0-0-0-c-0-gbk-0
ai=-0.2:ab=y:simsun.ttc -misc-simsun-bold-ro-normal--0-0-0-0-c-0-gbk-0
发表于 2004-6-2 11:04:09 | 显示全部楼层

Re: wmaker汉化N个问题

在/usr/X11R6/lib/X11/fonts/下建立ttf文件夹,把simsun.ttc文件拷贝进去
修改/etc/X11/XF86Config-4,在“unix:7100”前加一行:FontPath "/usr/X11R6/lib/X11/fonts/xp"
在“Section Module”中增加一行: Load "xtt"
但/etc/X11/XftConfig这个文件找不到,是否影响?


1.是simsun.ttf,不是simsun.ttc,你应该执行

mv simsun.ttc simsun.ttf

2.你既然没有XftConfig这个文件,只能说你的xfree版本和我的不一样,我的XftConfig内容如下:
[code:1]
# $XFree86: xc/lib/Xft/XftConfig.cpp,v 1.5 2000/12/14 23:03:53 keithp Exp $
dir "/usr/lib/X11/fonts/xp"
dir "/usr/lib/X11/fonts/fz"
dir "/usr/lib/X11/fonts/windows"
dir "/usr/X11R6/lib/X11/fonts/Type1"
dir "/usr/X11R6/lib/X11/fonts/TrueType"

#
# alias 'fixed' for 'mono'
#
match any family == "fixed"             edit family =+ "mono";

#
# Check users config file
#
includeif       "~/.xftconfig"
#
# Alias between XLFD families and font file family name, prefer local
# fonts
#
match any family == "charter"           edit family += "bitstream charter";
match any family == "bitstream charter" edit family =+ "charter";
[/code:1]




修改/etc/gtk/gtkrc.zh_CN
把fontset内改为 "-misc-simsun-medium-r-normal--14-*-*-*-*-*-gb2312.1980-0,
-*-*-medium-r-normal--14-*-*-*-*-*-gbk-0,*-r-*"


这个字符描述串依赖于fonts.dir文件,不一样的fonts.dir文件对应不一样的gtkrc.zh_CN文件。我>
的fonts.dir文件在下面列出来了。


~/GUNSetp/Default/下的WMGLOBAL的内容是:
{
  DefaultFontSize = 12;
  FloppyPath = "/floppy";
  MultiByteText = YES;
  DoubleClickTime = 250;
  MouseWheelUp = Button4;
  MouseWheelDown = Button5;
}


你这个文件怎么是这样的?我的是:
[code:1]
{
MultiByteText = YES;
}
[/code:1]

startx后系统确实是已经汉化成中文,但字体是斜体,在哪修改回去,把斜体去掉
如果汉化xmms,如何让系统启动自动加载fcitx,我的本地locale是zh_CN.GBK


这个和你的fonts.dir文件有关

fonts.dir fonts.scale内容:
11
simsun.ttc -misc-fixed-medium-r-normal--0-0-0-0-c-0-gbk-0
simsun.ttc -misc-simsun-medium-r-normal--0-0-0-0-c-0-gbk-0
ai=0.2:simsun.ttc -misc-simsun-medium-o-normal--0-0-0-0-c-0-gbk-0
ai=0.4:simsun.ttc -misc-simsun-medium-i-normal--0-0-0-0-c-0-gbk-0
ai=-0.4:simsun.ttc -misc-simsun-medium-ri-normal--0-0-0-0-c-0-gbk-0
ai=-0.2:simsun.ttc -misc-simsun-medium-ro-normal--0-0-0-0-c-0-gbk-0
ab=y:simsun.ttc -misc-simsun-bold-r-normal--0-0-0-0-c-0-gbk-0
ai=0.2:ab=y:simsun.ttc -misc-simsun-bold-o-normal--0-0-0-0-c-0-gbk-0
ai=0.4:ab=y:simsun.ttc -misc-simsun-bold-i-normal--0-0-0-0-c-0-gbk-0
ai=-0.4:ab=y:simsun.ttc -misc-simsun-bold-ri-normal--0-0-0-0-c-0-gbk-0
ai=-0.2:ab=y:simsun.ttc -misc-simsun-bold-ro-normal--0-0-0-0-c-0-gbk-0


用我的fonts.dir文件,记住  cp fonts.dir fonts.scale,这两个文件都保存在你的ttf目录下不会
不知道吧:
记住,在你的ttf目录下必须还要有下面的文件
[code:1]
-rw-r--r--    1 root     root         3214 2004-04-08 17:10 encodings.dir
-rw-r--r--    1 root     root        33856 2004-05-13 16:21 fonts.cache-1
-rw-r--r--    1 root     root         6728 2004-05-26 15:30 fonts.dir
-rw-r--r--    1 root     root         6728 2004-05-26 15:30 fonts.scale
-rw-r--r--    1 root     root      8829856 2004-04-08 17:10 mingliu.ttf
-rw-r--r--    1 root     root     10050868 2004-04-08 17:10 simhei.ttf
-rw-r--r--    1 root     root          570 2004-04-08 17:10 simsun.hints
-rw-r--r--    1 root     root     10507340 2004-04-08 17:10 simsun.ttf
-rw-r--r--    1 root     root      3211836 2004-05-26 15:19 sunglobe.ttf
-rw-r--r--    1 root     root       352868 2004-04-08 17:10 tahomabd.ttf
-rw-r--r--    1 root     root       379856 2004-04-08 17:10 tahoma.ttf
-rw-r--r--    1 root     root       334944 2004-04-08 17:10 timesbd.ttf
-rw-r--r--    1 root     root       239692 2004-04-08 17:10 timesbi.ttf
-rw-r--r--    1 root     root       248368 2004-04-08 17:10 timesi.ttf
-rw-r--r--    1 root     root       349636 2004-04-08 17:10 times.ttf
-rw-r--r--    1 root     root       137616 2004-04-08 17:10 verdanab.ttf
-rw-r--r--    1 root     root       155076 2004-04-08 17:10 verdanai.ttf
-rw-r--r--    1 root     root       171792 2004-04-08 17:10 verdana.ttf
-rw-r--r--    1 root     root       154800 2004-04-08 17:10 verdanaz.ttf
[/code:1]


fonts.cache-1是 执行 fv-cache -f -v产生的。和wmaker没有关系,你可以不管。


相关文件内容如下:

encodings.dir


[code:1]
47
dec-special /usr/X11R6/lib/X11/fonts/encodings/dec-special.enc
ksxjohab-1 /usr/X11R6/lib/X11/fonts/encodings/large/ksc5601.1992-3.enc.gz
big5.eten-0 /usr/X11R6/lib/X11/fonts/encodings/large/big5.eten-0.enc.gz
viscii1.1-1 /usr/X11R6/lib/X11/fonts/encodings/viscii1.1-1.enc.gz
microsoft-cp1258 /usr/X11R6/lib/X11/fonts/encodings/microsoft-cp1258.enc
microsoft-cp1252 /usr/X11R6/lib/X11/fonts/encodings/microsoft-cp1252.enc
microsoft-cp1253 /usr/X11R6/lib/X11/fonts/encodings/microsoft-cp1253.enc
microsoft-cp1250 /usr/X11R6/lib/X11/fonts/encodings/microsoft-cp1250.enc
microsoft-cp1251 /usr/X11R6/lib/X11/fonts/encodings/microsoft-cp1251.enc
microsoft-cp1256 /usr/X11R6/lib/X11/fonts/encodings/microsoft-cp1256.enc
microsoft-cp1257 /usr/X11R6/lib/X11/fonts/encodings/microsoft-cp1257.enc
microsoft-cp1254 /usr/X11R6/lib/X11/fonts/encodings/microsoft-cp1254.enc
mulelao-1 /usr/X11R6/lib/X11/fonts/encodings/mulelao-1.enc
microsoft-cp1255 /usr/X11R6/lib/X11/fonts/encodings/microsoft-cp1255.enc
jisx0212.1990-0 /usr/X11R6/lib/X11/fonts/encodings/large/jisx0212.1990-0.enc.gz
jisx0208.1990-0 /usr/X11R6/lib/X11/fonts/encodings/large/jisx0208.1990-0.enc.gz
big5.cp950-0 /usr/X11R6/lib/X11/fonts/encodings/large/big5.eten-0.enc.gz
jisx0208.1983-0 /usr/X11R6/lib/X11/fonts/encodings/large/jisx0208.1983-0.enc.gz
big5-0 /usr/X11R6/lib/X11/fonts/encodings/large/big5.eten-0.enc.gz
gb2312.1980-0 /usr/X11R6/lib/X11/fonts/encodings/large/gb2312.1980-0.enc.gz
adobe-symbol /usr/X11R6/lib/X11/fonts/encodings/adobe-symbol.enc.gz
adobe-standard /usr/X11R6/lib/X11/fonts/encodings/adobe-standard.enc.gz
microsoft-ansi /usr/X11R6/lib/X11/fonts/encodings/microsoft-cp1252.enc
tis620-2 /usr/X11R6/lib/X11/fonts/encodings/tis620-2.enc
tis620-0 /usr/X11R6/lib/X11/fonts/encodings/iso8859-11.enc
tis620.2529-1 /usr/X11R6/lib/X11/fonts/encodings/iso8859-11.enc
armscii-8 /usr/X11R6/lib/X11/fonts/encodings/armscii-8.enc
gbk-0 /usr/X11R6/lib/X11/fonts/encodings/large/gbk-0.enc.gz
mulearabic-2 /usr/X11R6/lib/X11/fonts/encodings/mulearabic-2.enc
mulearabic-0 /usr/X11R6/lib/X11/fonts/encodings/mulearabic-0.enc
tis620.2533-0 /usr/X11R6/lib/X11/fonts/encodings/iso8859-11.enc
mulearabic-1 /usr/X11R6/lib/X11/fonts/encodings/mulearabic-1.enc
tis620.2533-1 /usr/X11R6/lib/X11/fonts/encodings/iso8859-11.enc
jisx0201.1976-0 /usr/X11R6/lib/X11/fonts/encodings/large/jisx0201.1976-0.enc.gz
ksc5601.1987-0 /usr/X11R6/lib/X11/fonts/encodings/large/ksc5601.1987-0.enc.gz
ksx1001.1997-3 /usr/X11R6/lib/X11/fonts/encodings/large/ksc5601.1992-3.enc.gz
ibm-cp437 /usr/X11R6/lib/X11/fonts/encodings/ibm-cp437.enc
tcvn-0 /usr/X11R6/lib/X11/fonts/encodings/tcvn-0.enc
ksc5601.1992-3 /usr/X11R6/lib/X11/fonts/encodings/large/ksc5601.1992-3.enc.gz
microsoft-win3.1 /usr/X11R6/lib/X11/fonts/encodings/microsoft-win3.1.enc
ibm-cp852 /usr/X11R6/lib/X11/fonts/encodings/ibm-cp852.enc
ibm-cp866 /usr/X11R6/lib/X11/fonts/encodings/ibm-cp866.enc
ibm-cp850 /usr/X11R6/lib/X11/fonts/encodings/ibm-cp850.enc
iso8859-16 /usr/X11R6/lib/X11/fonts/encodings/iso8859-16.enc
iso8859-13 /usr/X11R6/lib/X11/fonts/encodings/iso8859-13.enc
iso8859-11 /usr/X11R6/lib/X11/fonts/encodings/iso8859-11.enc
adobe-dingbats /usr/X11R6/lib/X11/fonts/encodings/adobe-dingbats.enc.gz
[/code:1]

simsun.hints
[code:1]
category truetype
begin /path/to/simsun.ttf
  FaceNum = 2
  Family = SimSun
  FontName = SimSun
  Encoding = Unicode
  Location = English Chinese-China
  Charset = GB2312 GBK GB18030 ISO8859-1
  GeneralFamily = hi
  Weight = Medium
  Width = Variable
  Shape = Serif Upright Condensed
  Foundry = my
  Priority = 20
  Family1 = NSimSun
  FontName1 = NSimSun-Regular
  Encoding1 = Unicode
  Location1 = English Chinese-China
  Charset1 = GB2312 GBK GB18030 ISO8859-1
  GeneralFamily1 = Roman
  Weight1 = Medium
  Width1 = Variable
  Shape1 = Upright
  Priority1 = 20
end
[/code:1]


fonts.dir和fonts.scale

[code:1]
100
tahoma.ttf -misc-kai-medium-r-normal--0-0-0-0-p-0-ascii-0
tahoma.ttf -misc-kai-medium-r-normal--0-0-0-0-p-0-iso8859-1
tahoma.ttf -misc-kai-medium-r-normal--0-0-0-0-p-0-iso8859-15
tahoma.ttf -misc-fixed-medium-r-normal--0-0-0-0-p-0-iso8859-1
tahoma.ttf -misc-SimSun-medium-r-normal--0-0-0-0-p-0-iso8859-1
tahoma.ttf -misc-song-medium-r-normal--0-0-0-0-p-0-iso8859-1
ai=0.3:tahoma.ttf -misc-song-medium-i-normal--0-0-0-0-p-0-iso8859-1
tahomabd.ttf -misc-kai-bold-r-normal--0-0-0-0-p-0-ascii-0
tahomabd.ttf -misc-kai-bold-r-normal--0-0-0-0-p-0-iso8859-1
tahomabd.ttf -misc-kai-bold-r-normal--0-0-0-0-p-0-iso8859-15
tahomabd.ttf -misc-fixed-bold-r-normal--0-0-0-0-p-0-iso8859-1
tahomabd.ttf -misc-SimSun-bold-r-normal--0-0-0-0-p-0-iso8859-1
tahomabd.ttf -misc-song-bold-r-normal--0-0-0-0-p-0-iso8859-1
ai=0.3:tahomabd.ttf -misc-song-bold-i-normal--0-0-0-0-p-0-iso8859-1
simsun.ttf -misc-kai-medium-r-normal--0-0-0-0-c-0-gbk-0
simsun.ttf -misc-kai-medium-r-normal--0-0-0-0-c-0-iso10646-1
simsun.ttf -misc-kai-medium-r-normal--0-0-0-0-c-0-gb2312.1980-0
simsun.ttf -misc-fixed-medium-r-normal--0-0-0-0-c-0-gb2312.1980-0
simsun.ttf -misc-fixed-medium-r-normal--0-0-0-0-c-0-gbk-0
simsun.ttf -misc-fixed-medium-r-normal--0-0-0-0-c-0-iso10646-1
simsun.ttf -misc-SimSun-medium-r-normal--0-0-0-0-c-0-gb2312.1980-0
ai=0.3:simsun.ttf -misc-SimSun-medium-i-normal--0-0-0-0-c-0-gb2312.1980-0
ds=y:simsun.ttf -misc-SimSun-bold-r-normal--0-0-0-0-c-0-gb2312.1980-0
ds=y:ai=0.3:simsun.ttf -misc-SimSun-bold-i-normal--0-0-0-0-c-0-gb2312.1980-0
ai=0.3:tahoma.ttf -misc-SimSun-medium-i-normal--0-0-0-0-p-0-iso8859-1
ai=0.3:tahomabd.ttf -misc-SimSun-bold-i-normal--0-0-0-0-p-0-iso8859-1
simsun.ttf -misc-SimSun-medium-r-normal--0-0-0-0-c-0-gbk-0
ai=0.3:simsun.ttf -misc-SimSun-medium-i-normal--0-0-0-0-c-0-gbk-0
ds=y:simsun.ttf -misc-SimSun-bold-r-normal--0-0-0-0-c-0-gbk-0
ds=y:ai=0.3:simsun.ttf -misc-SimSun-bold-i-normal--0-0-0-0-c-0-gbk-0
simsun.ttf -misc-SimSun-medium-r-normal--0-0-0-0-p-0-fcd8859-15
ai=0.3:simsun.ttf -misc-SimSun-medium-i-normal--0-0-0-0-p-0-fcd8859-15
ds=y:simsun.ttf -misc-SimSun-bold-r-normal--0-0-0-0-p-0-fcd8859-15
ai=0.3:simsun.ttf -misc-SimSun-bold-i-normal--0-0-0-0-p-0-fcd8859-15
simsun.ttf -misc-SimSun-medium-r-normal--0-0-0-0-p-0-iso8859-15
ai=0.3:simsun.ttf -misc-SimSun-medium-i-normal--0-0-0-0-p-0-iso8859-15
ds=y:simsun.ttf -misc-SimSun-bold-r-normal--0-0-0-0-p-0-iso8859-15
ai=0.3:simsun.ttf -misc-SimSun-bold-i-normal--0-0-0-0-p-0-iso8859-15
simsun.ttf -misc-SimSun-medium-r-normal--0-0-0-0-c-0-iso10646-1
ai=0.3:simsun.ttf -misc-SimSun-medium-i-normal--0-0-0-0-c-0-iso10646-1
ds=y:simsun.ttf -misc-SimSun-bold-r-normal--0-0-0-0-c-0-iso10646-1
ds=y:ai=0.3:simsun.ttf -misc-SimSun-bold-i-normal--0-0-0-0-c-0-iso10646-1
simsun.ttf -misc-song-medium-r-normal--0-0-0-0-c-0-gb2312.1980-0
ai=0.3:simsun.ttf -misc-song-medium-i-normal--0-0-0-0-c-0-gb2312.1980-0
ds=y:simsun.ttf -misc-song-bold-r-normal--0-0-0-0-c-0-gb2312.1980-0
ds=y:ai=0.3:simsun.ttf -misc-song-bold-i-normal--0-0-0-0-c-0-gb2312.1980-0
simsun.ttf -misc-song-medium-r-normal--0-0-0-0-c-0-gbk-0
ai=0.3:simsun.ttf -misc-song-medium-i-normal--0-0-0-0-c-0-gbk-0
ds=y:simsun.ttf -misc-song-bold-r-normal--0-0-0-0-c-0-gbk-0
ds=y:ai=0.3:simsun.ttf -misc-song-bold-i-normal--0-0-0-0-c-0-gbk-0
simsun.ttf -misc-song-medium-r-normal--0-0-0-0-p-0-fcd8859-15
ai=0.3:simsun.ttf -misc-song-medium-i-normal--0-0-0-0-p-0-fcd8859-15
ds=y:simsun.ttf -misc-song-bold-r-normal--0-0-0-0-p-0-fcd8859-15
ai=0.3:simsun.ttf -misc-song-bold-i-normal--0-0-0-0-p-0-fcd8859-15
simsun.ttf -misc-song-medium-r-normal--0-0-0-0-p-0-iso8859-15
ai=0.3:simsun.ttf -misc-song-medium-i-normal--0-0-0-0-p-0-iso8859-15
ds=y:simsun.ttf -misc-song-bold-r-normal--0-0-0-0-p-0-iso8859-15
ai=0.3:simsun.ttf -misc-song-bold-i-normal--0-0-0-0-p-0-iso8859-15
sunglobe.ttf -misc-unikai-medium-r-normal--0-0-0-0-c-0-gbk-0
sunglobe.ttf -misc-unikai-medium-r-normal--0-0-0-0-c-0-iso10646-1
sunglobe.ttf -misc-unikai-medium-r-normal--0-0-0-0-c-0-gb2312.1980-0
sunglobe.ttf -misc-unifixed-medium-r-normal--0-0-0-0-c-0-gb2312.1980-0
sunglobe.ttf -misc-unifixed-medium-r-normal--0-0-0-0-c-0-gbk-0
sunglobe.ttf -misc-unifixed-medium-r-normal--0-0-0-0-c-0-iso10646-1
sunglobe.ttf -misc-UniSun-medium-r-normal--0-0-0-0-c-0-gb2312.1980-0
ai=0.3:sunglobe.ttf -misc-UniSun-medium-i-normal--0-0-0-0-c-0-gb2312.1980-0
ds=y:sunglobe.ttf -misc-UniSun-bold-r-normal--0-0-0-0-c-0-gb2312.1980-0
ds=y:ai=0.3:sunglobe.ttf -misc-UniSun-bold-i-normal--0-0-0-0-c-0-gb2312.1980-0
sunglobe.ttf -misc-UniSun-medium-r-normal--0-0-0-0-c-0-gbk-0
ai=0.3:sunglobe.ttf -misc-UniSun-medium-i-normal--0-0-0-0-c-0-gbk-0
ds=y:sunglobe.ttf -misc-UniSun-bold-r-normal--0-0-0-0-c-0-gbk-0
ds=y:ai=0.3:sunglobe.ttf -misc-UniSun-bold-i-normal--0-0-0-0-c-0-gbk-0
sunglobe.ttf -misc-UniSun-medium-r-normal--0-0-0-0-p-0-fcd8859-15
ai=0.3:sunglobe.ttf -misc-UniSun-medium-i-normal--0-0-0-0-p-0-fcd8859-15
ds=y:sunglobe.ttf -misc-UniSun-bold-r-normal--0-0-0-0-p-0-fcd8859-15
ai=0.3:sunglobe.ttf -misc-UniSun-bold-i-normal--0-0-0-0-p-0-fcd8859-15
sunglobe.ttf -misc-UniSun-medium-r-normal--0-0-0-0-p-0-iso8859-15
ai=0.3:sunglobe.ttf -misc-UniSun-medium-i-normal--0-0-0-0-p-0-iso8859-15
ds=y:sunglobe.ttf -misc-UniSun-bold-r-normal--0-0-0-0-p-0-iso8859-15
ai=0.3:sunglobe.ttf -misc-UniSun-bold-i-normal--0-0-0-0-p-0-iso8859-15
sunglobe.ttf -misc-UniSun-medium-r-normal--0-0-0-0-c-0-iso10646-1
ai=0.3:sunglobe.ttf -misc-UniSun-medium-i-normal--0-0-0-0-c-0-iso10646-1
ds=y:sunglobe.ttf -misc-UniSun-bold-r-normal--0-0-0-0-c-0-iso10646-1
ds=y:ai=0.3:sunglobe.ttf -misc-UniSun-bold-i-normal--0-0-0-0-c-0-iso10646-1
sunglobe.ttf -misc-unisong-medium-r-normal--0-0-0-0-c-0-gb2312.1980-0
ai=0.3:sunglobe.ttf -misc-unisong-medium-i-normal--0-0-0-0-c-0-gb2312.1980-0
ds=y:sunglobe.ttf -misc-unisong-bold-r-normal--0-0-0-0-c-0-gb2312.1980-0
ds=y:ai=0.3:sunglobe.ttf -misc-unisong-bold-i-normal--0-0-0-0-c-0-gb2312.1980-0
sunglobe.ttf -misc-unisong-medium-r-normal--0-0-0-0-c-0-gbk-0
ai=0.3:sunglobe.ttf -misc-unisong-medium-i-normal--0-0-0-0-c-0-gbk-0
ds=y:sunglobe.ttf -misc-unisong-bold-r-normal--0-0-0-0-c-0-gbk-0
ds=y:ai=0.3:sunglobe.ttf -misc-unisong-bold-i-normal--0-0-0-0-c-0-gbk-0
sunglobe.ttf -misc-unisong-medium-r-normal--0-0-0-0-p-0-fcd8859-15
ai=0.3:sunglobe.ttf -misc-unisong-medium-i-normal--0-0-0-0-p-0-fcd8859-15
ds=y:sunglobe.ttf -misc-unisong-bold-r-normal--0-0-0-0-p-0-fcd8859-15
ai=0.3:sunglobe.ttf -misc-unisong-bold-i-normal--0-0-0-0-p-0-fcd8859-15
sunglobe.ttf -misc-unisong-medium-r-normal--0-0-0-0-p-0-iso8859-15
ai=0.3:sunglobe.ttf -misc-unisong-medium-i-normal--0-0-0-0-p-0-iso8859-15
ds=y:sunglobe.ttf -misc-unisong-bold-r-normal--0-0-0-0-p-0-iso8859-15
ai=0.3:sunglobe.ttf -misc-unisong-bold-i-normal--0-0-0-0-p-0-iso8859-15
[/code:1]
回复

使用道具 举报

 楼主| 发表于 2004-6-2 11:09:02 | 显示全部楼层
如何让fcitx随X启动?
具体修改哪个文件?
回复

使用道具 举报

发表于 2004-6-2 11:13:31 | 显示全部楼层
.xsession
[code:1]
#!/bin/sh
export LANGUAGE=zh_CN.GBK
export LC_ALL=zh_CN.GBK
export LANG=zh_CN.GBK
export LC_CTYPE=zh_CN.GBK
export XMODIFIERS="@im=fcitx"
export XIM=fcitx
export G_BROKEN_FILENAMES=1
xinit &
xscreensaver &
fcitx &
wmaker
[/code:1]
回复

使用道具 举报

 楼主| 发表于 2004-6-2 11:18:23 | 显示全部楼层
能解释下
export XIM=fcitx
export G_BROKEN_FILENAMES=1
xinit &
xscreensaver &
这四行的意思吗?
export LANGUAGE=zh_CN.GBK
还有,他的意思是???
我现在的系统locale已经是zh_CN.GBK,是否可以去掉不用?
回复

使用道具 举报

发表于 2004-6-2 11:28:02 | 显示全部楼层
[quote:0e7c750ee6="Linyinwill"]能解释下
export XIM=fcitx
export G_BROKEN_FILENAMES=1
xinit &
xscreensaver &
这四行的意思吗?
export LANGUAGE=zh_CN.GBK
还有,他的意思是???
我现在的系统locale已经是zh_CN.GBK,是否可以去掉不用?[/quote]


export XIM=fcitx #X Input Method 用fcitx
export G_BROKEN_FILENAMES=1 # Gnome2不会把中文文件名处理成乱码
xinit & #从字符界面启动X啊,这个你都不知道?都是redhat害的,现在的小孩连xinit都不知道
xscreensaver & #天呐……这个命令是干什么的我拒绝回答,你看看英文单词这个简单
export LANGUAGE=zh_CN.GBK #输出系统环境变量LANGUAGE为zh_CN.GBK
随便啊,我也是GBK了,反正有这一行
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-11-7 01:45 , Processed in 0.039250 second(s), 15 queries .

© 2021 Powered by Discuz! X3.5.

快速回复 返回顶部 返回列表