LinuxSir.cn,穿越时空的Linuxsir!

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

SCIM 居然正常了!可以在永中试用版中和wine 中输入。

[复制链接]
发表于 2008-7-12 19:47:34 | 显示全部楼层 |阅读模式
一直对这两个问题比较苦恼,也google无数次,但是没有结果;最近改的配置文件比较多,也不知是哪里起的效果。(汗!)
有关文件如下,大家不妨一试:
/etc/scim/config :

# This file is encoded in UTF-8 encoding.

/DefaultIMEngineFactory/zh_CN = 05235cfc-43ce-490c-b1b1-c5a2185276ae
/FrontEnd/IMOpenedByDefault = true
/FrontEnd/SharedInputMethod = true

/FrontEnd/OnTheSpot = true
/FrontEnd/ChangeFactoryGlobally = false
/FrontEnd/Socket/ConfigReadOnly = false
/FrontEnd/Socket/MaxClients = 512
/FrontEnd/X11/BrokenWchar = true
/FrontEnd/X11/Dynamic = false
/FrontEnd/X11/OnTheSpot = true
/FrontEnd/X11/ServerName = SCIM
#/Hotkeys/FrontEnd/NextFactory = Control+Alt+Down,Shift+Control+KeyRelease+Shift_L,Shift+Control+KeyRelease+Shift_R
#/Hotkeys/FrontEnd/PreviousFactory = Control+Alt+Up,Shift+Control+KeyRelease+Control_L,Shift+Control+KeyRelease+Control_R
#/Hotkeys/FrontEnd/ShowFactoryMenu = Control+Alt+Right
/Hotkeys/FrontEnd/Trigger = Control+space
#/Hotkeys/FrontEnd/ValidKeyMask = Shift+Control+Alt+CapsLock+Meta+QuirkKanaRo
/Panel/Gtk/color/ActiveBackground = light sky blue
/Panel/Gtk/color/ActiveText = black
/Panel/Gtk/color/NormalBackground = #F7F3F7
/Panel/Gtk/color/NormalText = black
/Panel/Gtk/Font = default
/Panel/Gtk/DefaultSticked = false
/Panel/Gtk/LookupTableEmbedded = true
/Panel/Gtk/LookupTableVertical = false
/Panel/Gtk/ShowStatusBox = false
/Panel/Gtk/ShowTrayIcon = true
/Panel/Gtk/ToolBar/AlwaysShow = false
/Panel/Gtk/ToolBar/AutoSnap = true
/Panel/Gtk/ToolBar/HideTimeout = 2
/Panel/Gtk/ToolBar/POS_X = -1
/Panel/Gtk/ToolBar/POS_Y = -1
/Panel/Gtk/ToolBar/ShowHelpIcon = true
/Panel/Gtk/ToolBar/ShowFactoryIcon = true
/Panel/Gtk/ToolBar/ShowFactoryName = true
/Panel/Gtk/ToolBar/ShowMenuIcon = true
/Panel/Gtk/ToolBar/ShowSetupIcon = true
/Panel/Gtk/ToolBar/ShowStickIcon = false
/IMEngine/RawCode/Locales = default

/etc/scim/global :


/SupportedUnicodeLocales = en_US.UTF-8
/DefaultPanelProgram = scim-panel-gtk
/DefaultConfigModule = simple
/DefaultSocketFrontEndAddress = local:/tmp/scim-socket-frontend
/DefaultSocketIMEngineAddress = local:/tmp/scim-socket-frontend
/DefaultSocketConfigAddress = local:/tmp/scim-socket-frontend
/DefaultPanelSocketAddress = local:/tmp/scim-panel-socket
/DefaultHelperManagerSocketAddress = local:/tmp/scim-helper-manager-socket
/DefaultSocketTimeout = 5000

$HOME/.xinitrc:

export XMODIFIERS="@im=scim"
export XIM="scim"
export XIM_PROGRAM="scim"
export XIM_ARGS="-d"
export GTK_IM_MODULE="scim"
export QT_IM_MODULE="scim"


/etc/gtk-2.0/gtk.immodules:

...
#"/usr/lib/gtk-2.0/immodules/im-scim.so"
#"scim" "SCIM Input Method" "scim" "/usr/share/locale" "ja:ko:zh"
 楼主| 发表于 2008-7-12 19:52:21 | 显示全部楼层
补充:用xfce自动执行 scim -d 方式运行scim 。
回复 支持 反对

使用道具 举报

发表于 2008-7-13 12:25:53 | 显示全部楼层
有这么麻烦吗?我照着gentoo wiki做,opera、永中office、symphony,没有发现不能输入中文的
回复 支持 反对

使用道具 举报

 楼主| 发表于 2008-7-13 13:42:10 | 显示全部楼层
Post by kpld;1874055
有这么麻烦吗?我照着gentoo wiki做,opera、永中office、symphony,没有发现不能输入中文的

为什么我的不行呢?
回复 支持 反对

使用道具 举报

发表于 2008-7-13 13:48:56 | 显示全部楼层
很早就可以了,只是有些程序光标无法跟随,可能因为使用xim模式,比如静态qt4版本的opera。
回复 支持 反对

使用道具 举报

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

本版积分规则

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