LinuxSir.cn,穿越时空的Linuxsir!

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

看下我mplayer乱码??

[复制链接]
发表于 2005-12-20 18:42:14 | 显示全部楼层 |阅读模式
~/.mplayer/subfont.ttf是指向simsun的:
lrwxrwxrwx  1 root root   36 2005-12-20 18:22 subfont.ttf -> /usr/share/fonts/truetype/simsun.ttc
运行gmplayer,显示:
vo: X11 running at 1024x768 with depth 24 and 32 bpp (":0.0" => local display)
Linux RTC init error in ioctl (rtc_irqp_set 1024): Permission denied
Try adding "echo 1024 > /proc/sys/dev/rtc/max-user-freq" to your system startup scripts.
[ws] Sorry, your system does not support the XShape extension.

何故??

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?注册

x
发表于 2005-12-20 22:21:50 | 显示全部楼层
subfont.ttf是字幕字体,与你的乱码问题没有关系。
检查一下你的locale或者换另一个locale环境运行看看。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-12-20 23:54:47 | 显示全部楼层
我一直不清楚debian下的locale是由哪个文件决定的,/etc/enviroment,/etc/locale.gen,/etc/X11/Xsession.d/95locales-xinput-set???
反正我用dpkg-reconfigure locales修改后,运行$locale还是原来那个,只能export来改变当前xterm中locale,但是我 export LANG=zh_GBK后,
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
LANG=zh_GBK
LC_CTYPE="zh_GBK"
LC_NUMERIC="zh_GBK"
LC_TIME="zh_GBK"
LC_COLLATE="zh_GBK"
LC_MONETARY="zh_GBK"
LC_MESSAGES="zh_GBK"
LC_PAPER="zh_GBK"
LC_NAME="zh_GBK"
LC_ADDRESS="zh_GBK"
LC_TELEPHONE="zh_GBK"
LC_MEASUREMENT="zh_GBK"
LC_IDENTIFICATION="zh_GBK"
LC_ALL=
又只能改回UTF-8
这个是题外话,呵呵。。。。
==========================
我的mplayer的字幕正常,但是菜单中是乱码。
至于换locale的情况,我上面说了
export LANG=zh_GBK后,运行,看清楚了图中那个出错提示:
[ws] Sorry, your system does not support the XShape extension.

xterm中的信息如第一贴所示。
如何让它support the XShape extension呢??
回复 支持 反对

使用道具 举报

发表于 2005-12-21 11:09:45 | 显示全部楼层
"如何让它support the XShape extension呢??"
这个是说你的X服务器的
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-12-21 12:24:04 | 显示全部楼层
Post by pointer
"如何让它support the XShape extension呢??"
这个是说你的X服务器的

菜单乱码已经解决了,cp /etc/gtk/gtkrc_zh.CN ~/.gtkrc_zh.CN,这样就可以了

不过每次起动的时候都会出现那个错误的提示:
[ws] Sorry, your system does not support the XShape extension.

本人比较菜,希望知道的兄台讲下如何才能让它support the XShape extension.
回复 支持 反对

使用道具 举报

发表于 2005-12-22 11:20:55 | 显示全部楼层
这个好像是服务器的版本太老?
我这儿不用管,就支持XShape了.
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-12-22 12:27:15 | 显示全部楼层
Post by pointer
这个好像是服务器的版本太老?
我这儿不用管,就支持XShape了.

是不是要xog啊?我的还是xfree86
兄台哪个版本?
回复 支持 反对

使用道具 举报

发表于 2005-12-22 13:11:06 | 显示全部楼层
我是xorg的.
回复 支持 反对

使用道具 举报

发表于 2005-12-23 22:19:08 | 显示全部楼层
编译时加 --charset=utf-8试试
回复 支持 反对

使用道具 举报

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

本版积分规则

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