LinuxSir.cn,穿越时空的Linuxsir!

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

SCIM不能在openoffice, kwrite, kate等軟件中輸入中文

[复制链接]
发表于 2006-6-20 22:01:03 | 显示全部楼层 |阅读模式
現在只能在firefox和gaim中輸入中文,我設定了locale
  1. LANG=en_HK
  2. LANGUAGE=en_HK:en_US:en_GB:en
  3. LC_CTYPE="en_HK"
  4. LC_NUMERIC="en_HK"
  5. LC_TIME="en_HK"
  6. LC_COLLATE="en_HK"
  7. LC_MONETARY="en_HK"
  8. LC_MESSAGES="en_HK"
  9. LC_PAPER="en_HK"
  10. LC_NAME="en_HK"
  11. LC_ADDRESS="en_HK"
  12. LC_TELEPHONE="en_HK"
  13. LC_MEASUREMENT="en_HK"
  14. LC_IDENTIFICATION="en_HK"
  15. LC_ALL=
复制代码
我嘗試在dpkg-reconfigure locales中設定environment locale為en_HK.UTF-8,但locale中卻沒有UTF-8。之後我修改了/etc/X11/xinit/xinput.d/scim,加入
  1. XMODIFIERS="@im=SCIM"
  2. GTK_IM_MODULE="scim"
  3. QT_IM_MODULE="scim"
复制代码
還有,我install了skim, scim, scim-tables-zh, scim-gtk2-immodule。我嘗試過在.profile, .bashrc, .xinitrc, /etc/X11/Xsession.d裏加上以上code,都是不能輸入中文(skim能正常顯示在右下角)。請問問題出自哪?
-----------------
請問有誰可以和我交換msn & icq?我想有問題時都可以問人。
msn: mathsniper@hotmail.com
icq: 159209194
发表于 2006-6-21 00:24:05 | 显示全部楼层
install scim-qtimm
or set QT_IM_MODULE=xim
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-6-21 00:44:44 | 显示全部楼层
我已經嘗試設定/etc/X11/xinit/xinput.d/scim中QT_IM_MODULE=xim,問題仍然存在,而且offical debian還沒有scim-qtimm package。怎辨好?
回复 支持 反对

使用道具 举报

发表于 2006-6-21 07:19:59 | 显示全部楼层
yangtse@yangtse:~$ apt-cache search qtimm
scim-qtimm - SCIM context plugin for qt-immodule
回复 支持 反对

使用道具 举报

发表于 2006-6-21 09:40:19 | 显示全部楼层
Post by Mathsniper
現在只能在firefox和gaim中輸入中文,我設定了locale

  1. LANG=en_HK
  2. LANGUAGE=en_HK:en_US:en_GB:en
  3. LC_CTYPE="en_HK"
  4. LC_NUMERIC="en_HK"
  5. LC_TIME="en_HK"
  6. LC_COLLATE="en_HK"
  7. LC_MONETARY="en_HK"
  8. LC_MESSAGES="en_HK"
  9. LC_PAPER="en_HK"
  10. LC_NAME="en_HK"
  11. LC_ADDRESS="en_HK"
  12. LC_TELEPHONE="en_HK"
  13. LC_MEASUREMENT="en_HK"
  14. LC_IDENTIFICATION="en_HK"
  15. LC_ALL=
复制代码

我嘗試在dpkg-reconfigure locales中設定environment locale為en_HK.UTF-8,但locale中卻沒有UTF-8。之後我修改了/etc/X11/xinit/xinput.d/scim,加入

  1. XMODIFIERS="@im=SCIM"
  2. GTK_IM_MODULE="scim"
  3. QT_IM_MODULE="scim"
复制代码

還有,我install了skim, scim, scim-tables-zh, scim-gtk2-immodule。我嘗試過在.profile, .bashrc, .xinitrc, /etc/X11/Xsession.d裏加上以上code,都是不能輸入中文(skim能正常顯示在右下角)。請問問題出自哪?
-----------------
請問有誰可以和我交換msn & icq?我想有問題時都可以問人。
msn: mathsniper@hotmail.com
icq: 159209194

删除所有你自己加的设置,然后安装im-switch, 用im-switch来设置。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-6-21 09:58:29 | 显示全部楼层
Post by 种草得草
yangtse@yangtse:~$ apt-cache search qtimm
scim-qtimm - SCIM context plugin for qt-immodule

I have checked the offical debian website and use apt-cache. No result. And I know that scim-qtimm is under construction.
回复 支持 反对

使用道具 举报

发表于 2006-6-21 10:03:40 | 显示全部楼层
$ cat /etc/apt/sources.list
看一下你的输出。

可能你的源有问题。
回复 支持 反对

使用道具 举报

发表于 2006-6-21 10:35:18 | 显示全部楼层
Post by Mathsniper
I have checked the offical debian website and use apt-cache. No result. And I know that scim-qtimm is under construction.
sidÌ¡有Ù个包,码在metors.debian.net 上,需要的话你自己下载回去编译。或者你从ubuntu dapper里下载这个包,可能会有依赖问题。
BTW:我正在找sponsor 来upload则个包。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-6-21 11:07:47 | 显示全部楼层
I have tried to use im-switch. I type `im-switch -s scim`. the following message upcome
  1. mathsniper:~# im-switch -s scim
  2. No system wide default defined just for locale en_HK .
  3. Use "all_ALL" quasi-locale and set IM.
  4. Using `/etc/X11/xinit/xinput.d/scim' to provide `xinput-all_ALL'.
复制代码
And I restart computer, CTRL-SPACE does nothing. The SKIM icon appears at the right bottom.
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-6-21 11:21:41 | 显示全部楼层
I try to display the detials of im-switch by 'im-switch -l'.
  1. mathsniper:~# im-switch -l
  2. Your input method setup under en_HK locale as below.
  3. =======================================================
  4. No private configuration can be defined for root account.
  5. =======================================================
  6. The system wide default is pointed by "/etc/alternatives/xinput-all_ALL" .
  7. xinput-all_ALL - status is manual.
  8. link currently points to scim
  9. scim - priority 0
  10. default - priority 10
  11. none - priority 0
  12. Current `best' version is default.
  13. =======================================================
  14. The available input method configuration files are:
  15. /usr/bin/find: /root/.xinput.d: No such file or directory
  16. default default~ default.bak none scim scim~ scim.bak th-xim uim_hangul2 uim_hangul3 uim_pinyin-big5 uim_py uim_pyunihan uim_romaja uim_tcode uim_tutcode uim_viqr
  17. =======================================================
复制代码
Why "Current `best' version is default."? I have set `im-switch -s scim'. And I create ~/.xinput.d directory for im-switch.
回复 支持 反对

使用道具 举报

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

本版积分规则

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