OpenSolaris0906安装五笔输入法

    与前两个版本(0805,0811)相比,此版本的安装就要费些周折了,原有输入法可直接用IPS包管理器卸载,scim输入法的安装有两种方式

    1. 通过IPS包管理器安装,这个是图形界面,操作比较方便,直接在包管理器中输入关键字scim搜索,然后选取SUNWscim,SUNWscim-tables,SUNWscim-tables-chinese安装即可.

    2. 通过pkg install命令安装,如下:

        #pkg install SUNWscim

        #pkg install SUNWscim-tables

        #pkg install SUNWscim-tables-chinese

    使用上面的任一种方式都可以顺利完成五笔的安装,接下来就要作一些调整才可以正常使用,这两种方式都需要编辑/etc/gtk-2.0/gtk.immodules文件,修改过程如下:

    a. 删除文件中的如下内容(使用第二种方式安装的可跳过此步骤):

  "/usr/lib//gtk-2.0/2.10.0/immodules/im-iiim.so"
    "iiim" "Internet/Intranet Input Method" "iiimgcf" "/usr/share/locale" ""

    b. 修改 "scim" "SCIM Input Method" "scim" "/usr/share/locale" ""在最后一对引号内加入 ja:ko:zh, 修改后的内容为: "scim" "SCIM Input Method" "scim" "/usr/share/locale" "ja:ko:zh "

    此时五笔的安装及配置成功完成,重启后即可使用.

    附:/etc/gtk-2.0/gtk.immodules文件的完整内容

  # GTK+ Input Method Modules file
    # Automatically generated file, do not edit
    # Created by /usr/bin//gtk-query-immodules-2.0 from gtk+-2.14.5
    #


    "/usr/lib//gtk-2.0/2.10.0/immodules/im-scim-bridge.so"
    "scim-bridge" "SCIM Bridge Input Method" "" "" ""

    "/usr/lib//gtk-2.0/2.10.0/immodules/im-scim.so"
    "scim" "SCIM Input Method" "scim" "/usr/share/locale" "ja:ko:zh "

    "/usr/lib//gtk-2.0/2.10.0/immodules/im-xim.so"
    "xim" "X Input Method" "gtk20" "/usr/share/locale" "*"

相关推荐
©️2020 CSDN 皮肤主题: 大白 设计师:CSDN官方博客 返回首页