LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
楼主: hupeng923

FC2确实非常不错!附简要调整过程(关于locale和输入法的问题,好象大家没抓住关键哦)

[复制链接]
发表于 2004-5-20 22:46:01 | 显示全部楼层
我的 xmms 还是乱码。。。 看下面


[root@localhost X11]# locale
LANG=zh_CN.gbk
LC_CTYPE="zh_CN.gbk"
LC_NUMERIC="zh_CN.gbk"
LC_TIME="zh_CN.gbk"
LC_COLLATE="zh_CN.gbk"
LC_MONETARY="zh_CN.gbk"
LC_MESSAGES="zh_CN.gbk"
LC_PAPER="zh_CN.gbk"
LC_NAME="zh_CN.gbk"
LC_ADDRESS="zh_CN.gbk"
LC_TELEPHONE="zh_CN.gbk"
LC_MEASUREMENT="zh_CN.gbk"
LC_IDENTIFICATION="zh_CN.gbk"
LC_ALL=
[root@localhost X11]# xmms
The font "-adobe-helvetica-medium-r-normal-*-*-120-*-*-p-*-viscii1.1-1,-misc-simsun-medium-r-normal-*-*-120-*-*-c-*-koi8-r" does not support all the required character sets for the current locale "zh_CN.gbk"
  (Missing character set "GBK-0")
The font "-isas-song ti-medium-r-normal-*-*-160-*-*-c-*-gb2312.1980-0,*" does not support all the required character sets for the current locale "zh_CN.gbk"
  (Missing character set "GBK-0")
The font "-isas-song ti-medium-r-normal-*-*-240-*-*-c-*-gb2312.1980-0,*" does not support all the required character sets for the current locale "zh_CN.gbk"
  (Missing character set "GBK-0")
The font "-isas-song ti-medium-r-normal-*-*-240-*-*-c-*-gb2312.1980-0" does not support all the required character sets for the current locale "zh_CN.gbk"
  (Missing character set "ISO8859-1")
  (Missing character set "GBK-0")
The font "-isas-song ti-medium-r-normal-*-*-240-*-*-c-*-gb2312.1980-0" does not support all the required character sets for the current locale "zh_CN.gbk"
  (Missing character set "ISO8859-1")
  (Missing character set "GBK-0")
ALSA lib pcm_hw.c:1056snd_pcm_hw_open) open /dev/snd/pcmC0D0p failed: ?豸????Դæ

** WARNING **: alsa_setup(): Failed to open pcm device (default): ?豸????Դæ
[root@localhost X11]#
 楼主| 发表于 2004-5-21 05:57:45 | 显示全部楼层
你有用ttmkfdir和chkfontpath把simsun添加成X核心字体吗?xmms和很多其它程序需要这样的核心字,具体在第二页
 楼主| 发表于 2004-5-21 09:06:43 | 显示全部楼层

10. 命令行的cdrecord不能正常使用的问题

晕!刚发现aaccdd发的“FC2 release note (安装之前最好先看看)”就有
http://www.linuxsir.cn/forum.php ... ;highlight=cdrecord
发表于 2004-5-21 09:26:31 | 显示全部楼层
其实刻录机的问题在release note里提到了:
The 2.6 kernel provides a new and much-improved mechanism (known as SG_IO) for applications that must send raw commands to storage devices. This includes applications for burning CDs or for extracting data from audio CDs. SG_IO also eliminates the need for ide-scsi emulation, where boot-time parameters such as hdd=ide-scsi were required to support ATAPI CD burners.

Applications packaged as part of Fedora Core 2 have been adjusted to take advantage of SG_IO. For example, to burn a CD using cdrecord, the old-style command was similar to this:


cdrecord --dev=0,0,0 <iso-file>



With SG_IO, the command would be similar to this:


cdrecord --dev=<device> <iso-file>



Where <device> could be any valid IDE (/dev/hdc) or SCSI/USB (/dev/scd0) device file name.
新的SG_IO,使用cdrecord烧录直接用设备名 cdrecord --device=<device> <iso-file>

遗憾的是大家都不看release note~   :confused:
 楼主| 发表于 2004-5-21 09:31:28 | 显示全部楼层
看来在用新版本前先看Release Note很有必要啊!
发表于 2004-5-21 21:26:21 | 显示全部楼层
fedora 2还是很漂亮的。
感觉就是跟“中文”存在一些问题。

我很想使用其英文版面。
请问在英文版面下如何才能实现输入中文呀??
 楼主| 发表于 2004-5-21 21:36:26 | 显示全部楼层
这个我没有尝试过,你可以搜一下相关的帖子,都是通用的
 楼主| 发表于 2004-5-22 00:00:32 | 显示全部楼层

11.还有一个问题是安装了fcitx-2.0.2-4.noarch.rpm和站上提供的一个美化包后,gnome难

陆续有人遇到了,恐怕更多人遇到麻烦,我想还是说一下。典型的一个帖子是:
http://www.linuxsir.cn/forum.php?mod=viewthread&tid=110754

在这里简单说一下原因和解决办法
fcitx-2.0.2-4.noarch.rpm和站上提供的一个美化包都会往/etc/profile.d内复制一个脚本
input.sh,这个脚本在每次登陆系统时都会运行,并往用户目录下的.gnome2文件夹写入session-manual文件,并且每次登陆gnome的时候,这个文件都会起作用,但它的内容却有错,导致gnome登陆困难,有时会导致崩溃。

解决办法:
1.删除这些文件
$HOME/.gnome2/session-manual
/etc/profile.d/input.sh
$HOME/.kde/Autostart/fcitx

2.删除曾经加入的export XMODIFIERS="@im=fcitx"; export XIM=fcitx ;export XIM_PROGRAM=fcitx等类似的条目,然后进行第3部

3.改/etc/X11/xinit/xinitrc.d/xinput
这个文件是redhat、fedora专门用来调用输入法的脚本,已经作了XIM的定义,把里面的chinput全部替换成fcitx就可以了,以后fcitx可以自动运行。记得备份
发表于 2004-5-22 16:33:04 | 显示全部楼层
非常感谢,终于在fedora core linux 2 英文环境中搞定了fcitx 2.0.2 和字体美化的问题。再一次谢谢楼主。。。
发表于 2004-5-22 21:36:28 | 显示全部楼层
作者,能不能把你的/etc/ld.so.conf文件贴上来,我激需要,谢谢!
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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