LinuxSir.cn,穿越时空的Linuxsir!

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

scim在gtk程序下怎么实现光标跟随?

[复制链接]
发表于 2003-12-17 00:22:30 | 显示全部楼层 |阅读模式
如题,我在qt程序下是可以的(qtconfig里面设自xim为over the spot)
但是mozilla,gaim等gtk程序就不能光标跟随!
请问各位老大是怎么解决的??
发表于 2003-12-17 02:36:25 | 显示全部楼层
Use "scim -d" to start SCIM.It works pefect
发表于 2003-12-17 03:04:29 | 显示全部楼层
I don't think so.
There are 2 different modes for SCIM to run
either as a im_module for gtk2 or stand alone.

If you upgrade your gnome after you install scim, you probably will find
that you cann't select chinese input for gtk2 programs, since the im_module of scim is included in the /etc/gtk-2.0/gtk.immodules file and the gtk2 program will automatically select the SCIM im_module, which requires scim to run as a socket frontend, but "scim -d" only start a x11 frontend
发表于 2003-12-17 15:25:20 | 显示全部楼层
I know "There are 2 different modes for SCIM to run";)
But I've no gnome in My Gentoo Linux.
I like KDE only.
So the problem you say will never appear in my system...
 楼主| 发表于 2003-12-17 22:50:33 | 显示全部楼层
最初由 powerpig 发表
I don't think so.
There are 2 different modes for SCIM to run
either as a im_module for gtk2 or stand alone.

If you upgrade your gnome after you install scim, you probably will find
that you cann't select chinese input for gtk2 programs, since the im_module of scim is included in the /etc/gtk-2.0/gtk.immodules file and the gtk2 program will automatically select the SCIM im_module, which requires scim to run as a socket frontend, but "scim -d" only start a x11 frontend


还是不明白两位的意思,我用的是kde,也是scim -d启动scim的。
那究竟怎么样才能使gtk还是不明白两位的意思程序支持光标跟随?请指教!!要使用socket吗?

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?注册

x
发表于 2003-12-18 05:35:19 | 显示全部楼层
最初由 wangjiansir 发表
还是不明白两位的意思,我用的是kde,也是scim -d启动scim的。
那究竟怎么样才能使gtk还是不明白两位的意思程序支持光标跟随?请指教!!要使用socket吗?

运行
gtk-query-immodules-2.0 > /etc/gtk-2.0/gtk.immodules
然后每次启动两个scim:
scim -f socket -ns socket -d
scim -f x11 -s socket -c socket -d
第一个给gtk程序
第二个给qt程序
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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