简体   繁体   English

为什么我不能在gnome-terminal中使用fcitx输入法?

[英]Why can not I use fcitx input method in gnome-terminal?

After reinstalling my archlinux, I can't use fcitx input method in gnome-terminal. 重新安装archlinux之后,无法在gnome-terminal中使用fcitx输入法。 But it's ok in other programs such as gedit, fcitx-configtool. 但是在其他程序(例如gedit,fcitx-configtool)中也可以。 When in terminal, ctrl + space makes no effect. 在终端中,Ctrl +空格不起作用。 Why? 为什么? What could have happened during my re-installation? 重新安装期间可能会发生什么?

Ok, I think I have resolved the question. 好的,我想我已经解决了这个问题。 I put "LC_ALL=zh_CN.UTF-8" in my ~/.xinitrc so that gnome-session can not find correct config-file somewhere. 我在“〜/ .xinitrc”中放入了“ LC_ALL = zh_CN.UTF-8”,以便gnome-session在某处找不到正确的配置文件。 Then it set XMODIFIERS=@im=ibus for me, which is not expected. 然后为我设置了XMODIFIERS = @ im = ibus,这是不期望的。 After removing LC_ALL assignment, I can type Chinese in gnome-terminal again! 删除LC_ALL分配后,我可以再次在gnome-terminal中输入中文!

But, thank you too. 但是,也谢谢你。 And you can ignore this question. 您可以忽略此问题。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM