[问题]scim在cedega模拟的程序里不能输入

Kvm、VMware、Virtualbox、Xen、Qemu 等
回复
cyberx
帖子: 52
注册时间: 2007-04-30 9:48
来自: 火星
送出感谢: 0
接收感谢: 0

[问题]scim在cedega模拟的程序里不能输入

#1

帖子 cyberx » 2007-05-10 22:57

试着在xubuntu 下用 cedega5.1 运行warcraft3,但是游戏里不响应键盘。
退出war3后,发现终端下积累了一堆刚才在游戏里按过的字符。

网上查了一下相关的帖子,多是讲怎样在魔兽世界里输入中文,但是现在似乎不是一个问题。

安装了scim-bridge,scim-qtiim, scim-bridge-agent, scim-gtk2-immodule

/etc/X11/xinit/xinput.d/scim 内容如下:

代码: 全选

# im-switch configuration file for scim
# should be installed as /etc/X11/xinit/xinput.d/scim
# this configuration uses GTK IM module and Qt IM module provided by SCIM

# exported enviroment variables
XMODIFIERS="@im=SCIM"
GTK_IM_MODULE="scim-bridge"
QT_IM_MODULE="scim"
# command and arguments to invoke scim
XIM_PROGRAM="/usr/bin/scim"
XIM_ARGS="--daemon"
# package dependency (note that the format used here is not environment
# variable, but some format for libapt-pkg-perl and is parsed by grep,
# so can't be quoted, and no spaces allowed)
DEPENDS=scim-gtk2-immodule,scim-qtimm


代码: 全选

$ im-switch -c

There are 7 candidates which provide IM for /home/cyberx/.xinput.d/zh_CN:

  Selection    Alternative
  -----------------------------------------------
      1        default
      2        none
 +    3        scim
*     4        scim-immodule
      5        scim-pinyin
      6        scim_xim
      7        th-xim



用apt-get装的wine可以用键盘,但是太慢了。在中文支持版问过,没人搭理 :shock:
回复

回到 “虚拟机和虚拟化”