找回密码
 注册
查看: 1050|回复: 9

debian系统新装的xmms,菜单全是乱码?

[复制链接]
发表于 2005-7-11 20:13:20 | 显示全部楼层 |阅读模式
请问该怎么办?谢谢了!
发表于 2005-7-11 20:52:19 | 显示全部楼层
locale 输出?
/etc/gtk/gtkrc.zh_CN* 里的文件配置是否有中文设置?
回复

使用道具 举报

 楼主| 发表于 2005-7-11 21:22:01 | 显示全部楼层
下面是我的/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 <[email protected]>
#

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

使用道具 举报

发表于 2005-7-11 21:51:55 | 显示全部楼层
locale 呢?
在 Console 里运行 xmms 有什么错误输出?(最好让 xmms 显示一次中文,虽然显示不了)
回复

使用道具 举报

 楼主| 发表于 2005-7-11 22:09:46 | 显示全部楼层
报错

The font "-adobe-helvetica-medium-r-normal--12-*-*-*-*-*-iso8859-1,
                  -*-*-medium-r-normal--16-*-*-*-*-*-gb2312.1980-0,*-r-*" does not support all the required character sets for the current locale "zh_CN"
  (Missing character set "GBK-0")
libmikmod.so.2: 无法打开共享对象文件: 没有那个文件或目录
Message: device: default

该怎么办呢?
回复

使用道具 举报

发表于 2005-7-11 22:24:18 | 显示全部楼层
你试试 export LANG=zh_CN.GB2312 或者 GB18030
回复

使用道具 举报

 楼主| 发表于 2005-7-11 22:56:27 | 显示全部楼层
输入export LANG=zh_CN.GB2312就可以了!
谢谢斑竹!

这个不会每次启动都要执行一次吧?
回复

使用道具 举报

发表于 2005-7-12 17:56:46 | 显示全部楼层
目前似乎只能这样了。

你或者修改你的默认 locale 编码为 gb2312 ,但这样会对别的程序产生影响…………
或者自己重新编译 X 系统,打上 GBK 和 GB18030 支持的补丁
回复

使用道具 举报

发表于 2005-7-13 06:24:33 | 显示全部楼层
I got the same problem...and the problem can't  be resolve even after i set the locale to zh_CN.GB2312 and zh_CN.GB18030.
here is the error message when i call the xmms in console
     Gdk-WARNING **: locale not supported by C library
     Message: device: dmix

and the locale setting is
  LANG=zh_CN.GB2312
  LC_CTYPE="zh_CN.GB2312"
  LC_NUMERIC="zh_CN.GB2312"
  LC_TIME="zh_CN.GB2312"
  LC_COLLATE="zh_CN.GB2312"
  LC_MONETARY="zh_CN.GB2312"
  LC_MESSAGES="zh_CN.GB2312"
  LC_PAPER="zh_CN.GB2312"
  LC_NAME="zh_CN.GB2312"
  LC_ADDRESS="zh_CN.GB2312"
  LC_TELEPHONE="zh_CN.GB2312"
  LC_MEASUREMENT="zh_CN.GB2312"
  LC_IDENTIFICATION="zh_CN.GB2312"
  LC_ALL=

so, what can i do?
回复

使用道具 举报

发表于 2005-7-13 16:45:28 | 显示全部楼层
升级 X 系统,并且打补丁。
回复

使用道具 举报

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

本版积分规则

GMT+8, 2025-8-3 20:30 , Processed in 0.042683 second(s), 16 queries .

© 2001-2025 Discuz! Team. Powered by Discuz! X3.5.

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