Log inUsernamePassword
Log me on automatically each visit    
Register
Register
Log in to check your private messages
Log in to check your private messages
Zaurus 中文论坛 Forum Index » pdaXrom & debain & openBSD

This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.
pdaxrom问题自我诊断及修复
View previous topic :: View next topic  
Author Message
joerkky



Joined: 10 Dec 2006
Posts: 75

小企鹅: 2359

PostPosted: 2007-Feb-27 Tue, pm10:19 Reply with quote
 Post subject: pdaxrom问题自我诊断及修复

pdaxrom是Z上最接近pc的linux系统,由于各种驱动都是linux通用驱动,所以经常会出现一些兼容性的问题。此外,即时对于经常玩linux的老手来说,也会遇到很多莫名其妙的问题。这里有一些自我诊断的方法和心得,和大家分享。

对于软件启动不起来,首先你需要打开rxvt终端,直接输入命令。比如:
#stardict
出现下面的提示:
Error while loading share libraries: xxx.so.0: Cannot open shared object file: no such file or directory.
意思就是缺少相应的库文件。提示是哪个库文件(xxx.so.0)就找相应名字的包安装上就可以了。特别注意的是有些老版本的程序提示找不到libstdc++.so.5,这个时候需要找的不是libstdcxx5这个包,而是libstdcxx5_compat_5.0.7_armv5tel.ipk。

乱码问题:这个问题很复杂,基本上说来是locale的问题。有时候是因为不存在相应的locale. 比如说显示中文必须要装glib2-locale-zh-cn。此外中文还有很多不同的编码,比如gbk,gb2312,utf8等等,你要显示的文档如果和系统设置的locale不一致,就需要转换,也就是安装glibc-gconv-gb*系列包。此外字体文件也有相应的编码,也要转换成系统设置的locale显示出来。这个过程中间有很多稀奇古怪的问题,如果你走投无路的话,可以尝试换换字体试试看。有一些古老的程序需要libiconv,这个也是个转换编码的库,你可能用得着。默认编码在/etc/sysconfig/locale文件中存放着,文件内容如下:

export LC_ALL=en_US.UTF-8
export LANG=en_US.UTF-8
export CONSOLE_FONT=Cyr_a8x16

如果出现乱码的话,把en_US改成zh_CN可能会有效果。

针对xmms出现segment fault的错误,可以通过命令LC_ALL=en_US.UTF-8 xmms来启动。
dillo显示中文乱码的话,可以通过LC_ALL=zh_CN.gbk dillo,或者LC_ALL=zh_CN.utf8 dillo来解决。前提是必须安装相应的locale和gconv.

另外,想在桌面上添加图标的话,可以编辑一个xxx.desktop文件放在/usr/share/application/下,格式参见该目录下其它的desktop文件。图标文件可以放在/usr/share/pixmaps/下。

欢迎大家添加新的内容。
Back to top
View user's profile Send private message
刘邦



Joined: 19 Jan 2007
Posts: 87

小企鹅: 2358

PostPosted: 2007-Mar-07 Wed, pm4:09 Reply with quote
 Post subject:

我的SD,CF卡上的文件夹是中文的就无法显示,是什么原因,请高手指教.
Back to top
View user's profile Send private message
Display posts from previous:     
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Zaurus 中文论坛 Forum Index » pdaXrom & debain & openBSD All times are GMT + 8 Hours
Page 1 of 1

 
Jump to:   
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum

[ 页面生成时间: 秒 ] :: [ 次查询 ] :: [ ]
Powered by phpBB © 2001, 2002 phpBB Group
iCGstation v1.0 Template By Ray © 2003, 2004 iOptional