You are not logged in.

#1 2016-10-18 06:43:35

huohuo
Member
Registered: 2016-04-20
Posts: 28

[SOLVED]fcitx did not work

my fictx seems to not work, the output of fcitx-diagnose is below


1.  `${XMODIFIERS}`:

    **XMODIFIERS is not set**

    **Please set environment variable XMODIFIERS to "@im=fcitx" using the tool your distribution provides or add `export XMODIFIERS=@im=fcitx` to your `~/.xprofile`. See [Input Method Related Environment Variables: XMODIFIERS](http://fcitx-im.org/wiki/Input_method_r … XMODIFIERS).**
    Xim Server Name from Environment variable is fcitx.

2.  XIM_SERVERS on root window:

    Xim server name is the same with that set in the environment variable.

## Qt:
1.  qt4 - `${QT4_IM_MODULE}`:

    **Please set environment variable QT_IM_MODULE to "fcitx" using the tool your distribution provides or add `export QT_IM_MODULE=fcitx` to your `~/.xprofile`. See [Input Method Related Environment Variables: QT_IM_MODULE](http://fcitx-im.org/wiki/Input_method_r … _IM_MODULE).**

2.  qt5 - `${QT_IM_MODULE}`:

    **Please set environment variable QT_IM_MODULE to "fcitx" using the tool your distribution provides or add `export QT_IM_MODULE=fcitx` to your `~/.xprofile`. See [Input Method Related Environment Variables: QT_IM_MODULE](http://fcitx-im.org/wiki/Input_method_r … _IM_MODULE).**

3.  Qt IM module files:
    Found fcitx im module for Qt5: `/usr/lib/qt/plugins/platforminputcontexts/libfcitxplatforminputcontextplugin.so`.
    Found fcitx im module for Qt4: `/usr/lib/qt4/plugins/inputmethods/qtim-fcitx.so`.
    Found fcitx qt module: `/usr/lib/fcitx/qt/libfcitx-quickphrase-editor.so`.

## Gtk:
1.  gtk - `${GTK_IM_MODULE}`:

    **Please set environment variable GTK_IM_MODULE to "fcitx" using the tool your distribution provides or add `export GTK_IM_MODULE=fcitx` to your `~/.xprofile`. See [Input Method Related Environment Variables: GTK_IM_MODULE](http://fcitx-im.org/wiki/Input_method_r … _IM_MODULE).**



but my .xprofile is already set like that

  1  export GTK_IM_MODULE=fcitx
  2  export QT_IM_MODULE=fcitx
  3  export XMODIFIERS=@im=fcitx

i have tried to search for the solutions but failed

Last edited by huohuo (2016-10-18 13:04:03)

Offline

#2 2016-10-18 06:48:01

omegao
Member
Registered: 2012-06-24
Posts: 5

Re: [SOLVED]fcitx did not work

你是登录的wayland吧?貌似有些问题,而且wayland并不执行.xprofile.所以换ibus吧。

Offline

#3 2016-10-18 11:00:40

huohuo
Member
Registered: 2016-04-20
Posts: 28

Re: [SOLVED]fcitx did not work

omegao wrote:

你是登录的wayland吧?貌似有些问题,而且wayland并不执行.xprofile.所以换ibus吧。


thanks for your comment, i will use english as i can not input chinese now. there are three options that i can choose when login, gnome, gnome classic and gnome xorg, and i did not pay attention to them. after i login with gnome-xorg and the previous exceptions are removed from the output of fcitx-diagnose, but there there still some error like 


  **Config GUI for gtk2 not found.**

  **Failed to find fcitx in the output of `/usr/bin/gtk-query-immodules-2.0`**

  **Cannot find fcitx im module for gtk 2.**

  **Failed to find fcitx in immodule cache at `/usr/lib/gtk-2.0/2.10.0/immodules.cache`**

  **Cannot find fcitx im module for gtk 2 in cache.**

Offline

#4 2016-10-18 13:02:44

huohuo
Member
Registered: 2016-04-20
Posts: 28

Re: [SOLVED]fcitx did not work

i add the three "export" to the "/etc/profile", though i do not know it should or not to do so,  it works

Offline

Board footer

Powered by FluxBB