Eclipse无法在Ubuntu上获得关键输入 [英] Eclipse cant get key input on Ubuntu
问题描述
然后,我更改为其他程序并输入任何内容,之后,回到eclipse可以再次接受我的密钥。这让我很沮丧。
任何人都知道这个问题?我正在使用台式电脑,内存是1G。
我发现这个问题;方法1,
只是
strong>右键单击eclipse工作区 - > 选择输入法 - > SCIM输入法,没关系。但是,每次打开另一个文件时都应该这样做。
解决方案2,使scim成为默认的系统输入法。
编辑/etc/X11/xinit/xinput.d/scim如下:
XIM = SCIM
XIM_PROGRAM = / usr / bin / scim
XIM_ARGS = - d
XIM_PROGRAM_SETS_ITSELF_AS_DAEMON =是
#GTK_IM_MODULE = xim
#QT_IM_MODULE = xim
GTK_IM_MODULE = scim
QT_IM_MODULE = scim
还可以将x95input文件添加到/etc/X11/Xsession.d/ 95xinput
/ usr / bin / scim -d
XMODIFIERS =@ im = SCIM
export XMODIFIERS
export GTK_IM_MODULE = scim
希望这可以帮助别人。
I'm using Ubuntu 12.10 and Eclipse Juno. This happens frequently: When I put focus in eclipse editor window, I can input few words in editor at the beginning, and then undo several times, Suddenly it happened that, I can't input any word in eclipse, that's strange problem.
Then, I change to other program and input anything, After that, back to eclipse it can accept my key again. It get me so frustrate.
Any one knows this problem? I am using desktop pc, memory is 1G.
I found this problem; It is scim input method conflict with XIM(X Input Method) method.
Solution 1,
just right click in eclipse workspace -> select Input Methods -> SCIM input methods, that's OK. But, Every time you should do it while opening another file.
Solution 2, make scim as default system input methods. Edit /etc/X11/xinit/xinput.d/scim as below:
XIM=SCIM
XIM_PROGRAM=/usr/bin/scim
XIM_ARGS="-d"
XIM_PROGRAM_SETS_ITSELF_AS_DAEMON=yes
#GTK_IM_MODULE=xim
#QT_IM_MODULE=xim
GTK_IM_MODULE=scim
QT_IM_MODULE=scim
also, add x95input file to /etc/X11/Xsession.d/95xinput
/usr/bin/scim -d
XMODIFIERS="@im=SCIM"
export XMODIFIERS
export GTK_IM_MODULE=scim
Hope this can help others.
这篇关于Eclipse无法在Ubuntu上获得关键输入的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!