LinuxSir.cn,穿越时空的Linuxsir!

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

大家的scim不知道有没有这样的 “怪” 问题? 求助!

[复制链接]
发表于 2005-6-29 00:23:54 | 显示全部楼层 |阅读模式
当时装完scim的包时候,是按这样的方法进行配置的:

root执行一遍:set-m17n-env -x
出现如下的选择界面,最后的选择结果是自己选了四项
(ps:具体这些选项有关些什么不是很清楚,不过有介绍说是可以随便选的)

│ Activate your choices for multilingualization (m17n) of program and        
│ supporting for non-UTF-8 program through Debian menu. README entry has     
│ no effects. If not sure, check all marked with (*).                        
│                                                                           
│    [ ] force-default  Discard previous user modifications                  
│   
  • mc             mc (non-UTF-8 fix)                                   
    │   
  • README                                                              
    │   
  • vim-m17n       vim (m17n support, optional)                        
    │   
  • xterm-m17n     X terminals (m17n support)                          

    然后再普通用户执行一遍:set-m17n-env -x
    先是出现一个选择界面:“Select UTF-8 locale”
    我选的是 “zh_CN.UTF-8 Select zh_CN locale for X” 因为locale是“zh_CN.UTF-8”

    再然后出现的选择界面是:

      |  Activate your choices of X programs started automatically. This is         │
    │ achieved through creating files in ~/.xsession.d/ which is Desktop         
    │ neutral. Only the first X input method setting choices ([0-9][0-9]im-*)   
    │ will be selected. You can manually add/remove user created entries to      
    │ the following list by adding/removing files in ~/.xsession.d/* . If not   
    │ sure, select template 10auto-start only and learn how this works by        
    │ editing the installed file.                                                
    │                                                                           
    │    [ ] force-default  Discard previous user modifications                  
    │    [ ] 10auto-start   Auto start X programs (template)                     
    │   
  • 30im-scim      M17N IM: SCIM (recommended, GUI)                     
    │    [ ] 99su-in-x      Let su work in X smoothly.                           
    │   
  • gvimrc                                          

    选了如上两项!

    ---这样scim的配置结束,重启X后,多数情况下能正常调出输入法输入中文!
    像gvim,kwrite,firefox,qterm,konsole,等等几乎都能正常输入中文------

    目前唯一碰到不能正常调出输入法的程序是openoffice,之前用的是1.1.3
    现在升级到2.0,情况还是一样,无论是openoffice的write还是其他像draw之类的程序

    都是一样的无法调用输入法(ctrl+space)------

    搜索论坛里有关scim的帖子,好像大家都没有碰到这样的问题,也是整了好久了都没有明白为什么了,所以决定发帖把问题反应一下,也希望有好心人帮忙解决一下----

    好迟,先准备睡了,明天再来看帖子
  •  楼主| 发表于 2005-6-29 16:22:07 | 显示全部楼层
    今天又试着换用fcitx,结果情况也是同scim一模一样


    又看到论坛里以前的一些帖子说,有可能是热键定义上冲突-----

    看了一下,在openoffice里“ctrl+space“这个组合键倒的确是被定义做其他用途了。
    不过将ooo中的这个热键功能删除后,用“ctrl+space“仍然是无法调出输入法-----

    ai----,真是有些晕了
    回复 支持 反对

    使用道具 举报

    发表于 2005-6-29 17:59:58 | 显示全部楼层
    有没有设置XMODIFIERS=@im=SCIM?
    回复 支持 反对

    使用道具 举报

     楼主| 发表于 2005-6-30 12:51:27 | 显示全部楼层
    Post by pupilzeng
    有没有设置XMODIFIERS=@im=SCIM?



    这个应该是已经有设置好了----

    用set-m17n-env 的那个方法设置之后,会在账户目录下生成隐藏文件夹“ .xsession.d"

    然后文件夹里有个名为“30im-scim”的文件,文件内容如下:

    # M17N IM: SCIM (recommended, GUI)

    GDK_USE_XFT=1; export GDK_USE_XFT


    # GTK 2.0 default input as SCIM
    GTK_IM_MODULE="scim" ; export GTK_IM_MODULE
    # GTK 2.0 default input as XIM
    #GTK_IM_MODULE="xim" ; export GTK_IM_MODULE
    # For good old XIM applications
    XMODIFIERS="@im=SCIM" ; export XMODIFIERS             //<-----这里应该是设置了吧。

    /usr/bin/scim -d

    # Activation and locale (LC_CTYPE)
    # "/SupportedUnicodeLocales = en_US.UTF-8" in  ~/scim/config is just
    # to specify which Unicode locale will be supported. These locales may
    # not be supported by any IMEngine. The locales which supported by
    # IMEngines can be used directly without being added into this list.
    回复 支持 反对

    使用道具 举报

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

    本版积分规则

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