LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 556|回复: 1

执行自动汉化脚本出现错误,没关系吧?

[复制链接]
发表于 2003-6-19 16:48:37 | 显示全部楼层 |阅读模式
[root@zhangqj Documents]# sh quicktime-1.1.sh
Thanks go to Quicktime who initiate this method:-)

This scritp will help you setup system simsun display

It has been successfully tested on Mandrake 9.1

You are going to INSTALL
Would you like to go on?[y/N]:y

What is your chinese input method[fcitx|chinput|xsim|scim]:[default=>fcitx]

You can check /etc/sysconfig/i18n to fine-tune
Checking  Dirtorector /usr/share/fonts/zh_CN/TrueType/simsun
Checking if simsun.ttf tahoma.ttf tahomabd.ttf exist
-r-xr-xr-x    1 root     root     10500792  6月 19 14:05 simsun.ttf
-r-xr-xr-x    1 root     root       310752  6月 19 14:06 tahoma.ttf
-r-xr-xr-x    1 root     root       296872  6月 19 14:06 tahomabd.ttf

quicktime-1.1.sh: line 1: gtkconfigdir: command not found    <======

Congratulations;Everything goes fine!
You MUST restart x server
Please Logout Xwindow and Login again or reboot your BOX

quicktime-1.1.sh: line 1: gtkconfigdir: command not found :%
发表于 2003-6-19 19:05:17 | 显示全部楼层

检查/etc/gtk/gtkrc.zh_CN是否大致如下:

style "gtk-default-zh-cn" {
       fontset = "-adobe-helvetica-medium-r-normal--12-*-*-*-*-*-iso8859-1,\
                  -misc-simsun-medium-r-normal--12-*-*-*-*-*-gb2312.1980-0,*-r-*"
}
class "GtkWidget" style "gtk-default-zh-cn"

这个问题不影响。
是由于gtkrc.zh_CN这一句被shell当作命令了
$(gtkconfigdir)/gtkrc.zh_CN
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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