LinuxSir.cn,穿越时空的Linuxsir!

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

problems about vectorlinux 5.8 soho, Chinese

[复制链接]
发表于 2007-6-25 18:36:43 | 显示全部楼层 |阅读模式
sorry i can't input Chinese, so I've to use my poor English.

After install and configure fonts,I can view Chinese characters online,without any problem,  but if I save to my computer, some would be shown as block. I have tried some method, but failed. And then I post this for help.
the same, when I view the txt files on my computer, some character become block.

I also installed fcitx, but can't input Chinese.

I appreciate for your help.
发表于 2007-6-25 19:21:37 | 显示全部楼层
Please use the command to see: locale

If you LC_CTYPE variable is not zh_CN.GB2312, you must modify the /etc/profile.d/
lang.sh file to add it,  then login out and try again!


About fcix, you can try:set the XMODIFIERS=@im=fcix in file /etc/profile.d/lang.sh
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-6-26 00:01:06 | 显示全部楼层
非常感谢爱神同学……


终于弄的差不多了
不过如果文件夹名字有中文的话会显示“????”这个应该怎么搞?

fcitx我是按照输入法版的置顶重装了下。有个问题就是怎么让fcitx在我开机的时候就启动阿,我现在每次都要打命令。
回复 支持 反对

使用道具 举报

发表于 2007-7-7 07:53:53 | 显示全部楼层
我也在用Vecotr Linux。 可以交流下。 QQ: 66601809
回复 支持 反对

使用道具 举报

发表于 2007-7-7 14:59:54 | 显示全部楼层

Auto start application when starting X

终于弄的差不多了
不过如果文件夹名字有中文的话会显示“????”这个应该怎么搞?

fcitx我是按照输入法版的置顶重装了下。有个问题就是怎么让fcitx在我开机的时候就启动阿,我现在每次都要打命令。
1. Make a directory $HOME/.config/autostart if it doesn't exist, and cd to it.
  1. $ mkdir -p $HOME/.config/autostart
  2. $ cd $HOME/.config/autostart
复制代码
2. Create a file called FCITX.Desktop, and put the following lines in it.
  1. [Desktop Entry]
  2. Encoding=UTF-8
  3. Version=3.1.1
  4. Type=Application
  5. Name=FCITX
  6. Comment=FCITX Input Method
  7. Exec=/usr/bin/fcitx
  8. StartupNotify=false
  9. Terminal=false
  10. Hidden=false
复制代码
3. Restart X.

Note:
1. If you don't know the path of fcitx, type "which fcitx" to find it and change the line Exec=/usr/bin/fcitx accordingly.
2. The method suggested was tested in KDE 3.5.7 and XFCE4.4 under Slackware 12.0. It will fail in XFCE4.2.
3. With tries and errors, I have found KDE desktop has poorer Chinese support than Gnome and XFCE desktop. If you need better Chinese support, use Gnome or XFCE instead.
4. I personally recommended using UTF-8 encoding instead of GBK encoding, so go to /etc/profile.d/lang.sh and change the line from LANG=xxx to LANG=en_US.UTF-8. This way you will have an English desktop with Chinese environment. Then
不过如果文件夹名字有中文的话会显示“????”这个应该怎么搞?
Some of the filenames are written with Chinese GB2312. You can convert the filenames into UTF-8 encoding with
   convmv -f gb2312 -t utf-8 -r --notest *
If this fails, you may need to convert your filesystems, something like adding correct options to /etc/fstab. For example,
#Filename: /etc/fstab
/dev/cdrom  /mnt/cdrom     iso9660    defaults,noauto,users,ro,utf8  0 0

Good luck !!
回复 支持 反对

使用道具 举报

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

本版积分规则

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