Web lists-archives.com

Cannot switch to Chinese Input Method with fcitx after upgrading to Debian Buster




Hi all,

Yesterday I upgraded my Debian Stretch to Debian Buster. Something unexpected happens. I cannot switch to fcitx-googlepinyin/sunpinyin with fcitx.

In Debian Stretch, if I click "Ctrl+Space", it will change to fcitx-googlepinyin. And then I can type Chinese. However, in buster, when I click
"Ctrl+Space", there is no other input method shown. Only English could be typed.

I run "fcitx-diagnose", but cannot understand the result. Is there anyone who encounters the same problem with me? Do you have any solution?


-- 

My best regards to you.

      No System Is Safe!
      Dongliang Mu

# System Info:
1.  `uname -a`:

        Linux debian 4.12.0-1-amd64 #1 SMP Debian 4.12.6-1 (2017-08-12) x86_64 GNU/Linux

2.  `lsb_release -a`:

        No LSB modules are available.
        Distributor ID:	Debian
        Description:	Debian GNU/Linux testing (buster)
        Release:	testing
        Codename:	buster

3.  `lsb_release -d`:

        Description:	Debian GNU/Linux testing (buster)

4.  `/etc/lsb-release`:

    `/etc/lsb-release` not found.

5.  `/etc/os-release`:

        PRETTY_NAME="Debian GNU/Linux buster/sid"
        NAME="Debian GNU/Linux"
        ID=debian
        HOME_URL="https://www.debian.org/";
        SUPPORT_URL="https://www.debian.org/support";
        BUG_REPORT_URL="https://bugs.debian.org/";

6.  Desktop Environment:

    Desktop environment is `gnome3`.

7.  Bash Version:

        BASH_VERSION='4.4.12(1)-release'

# Environment:
1.  DISPLAY:

        DISPLAY=':0'

2.  Keyboard Layout:

    1.  `setxkbmap`:

            xkb_keymap {
            	xkb_keycodes  { include "evdev+aliases(qwerty)"	};
            	xkb_types     { include "complete"	};
            	xkb_compat    { include "complete"	};
            	xkb_symbols   { include "pc+us+inet(evdev)"	};
            	xkb_geometry  { include "pc(pc105)"	};
            };

    2.  `xprop`:

            _XKB_RULES_NAMES(STRING) = "evdev", "pc105", "us", "", ""

3.  Locale:

    1.  All locale:

            C
            C.UTF-8
            en_US.utf8
            POSIX

    2.  Current locale:

            LANG=en_US.UTF-8
            LANGUAGE=
            LC_CTYPE="en_US.UTF-8"
            LC_NUMERIC="en_US.UTF-8"
            LC_TIME="en_US.UTF-8"
            LC_COLLATE="en_US.UTF-8"
            LC_MONETARY="en_US.UTF-8"
            LC_MESSAGES="en_US.UTF-8"
            LC_PAPER="en_US.UTF-8"
            LC_NAME="en_US.UTF-8"
            LC_ADDRESS="en_US.UTF-8"
            LC_TELEPHONE="en_US.UTF-8"
            LC_MEASUREMENT="en_US.UTF-8"
            LC_IDENTIFICATION="en_US.UTF-8"
            LC_ALL=

4.  Directories:

    1.  Home:

            /home/mdl

    2.  `${XDG_CONFIG_HOME}`:

        Environment variable `XDG_CONFIG_HOME` is not set.

        Current value of `XDG_CONFIG_HOME` is `~/.config` (`/home/mdl/.config`).

    3.  Fcitx Settings Directory:

        Current fcitx settings directory is `~/.config/fcitx` (`/home/mdl/.config/fcitx`).

5.  Current user:

    The script is run as mdl (1000).

# Fcitx State:
1.  executable:

    Found fcitx at `/usr/bin/fcitx`.

2.  version:

    Fcitx version: `4.2.9.1`

3.  process:

    Found 2 fcitx processes:

         2920 fcitx
         2930 fcitx-dbus-watc

4.  `fcitx-remote`:

    `fcitx-remote` works properly.

5.  DBus interface:

    Using `dbus-send` to check dbus.

    Owner of DBus name `org.fcitx.Fcitx` is `:1.133`.

    PID of DBus name `org.fcitx.Fcitx` owner is `2920`.

# Fcitx Configure UI:
1.  Config Tool Wrapper:

    Found fcitx-configtool at `/usr/bin/fcitx-configtool`.

2.  Config GUI for gtk2:

    **Config GUI for gtk2 not found.**

3.  Config GUI for gtk3:

    Found `fcitx-config-gtk3` at `/usr/bin/fcitx-config-gtk3`.

4.  Config GUI for kde:

# Frontends setup:
## Xim:
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_related_environment_variables#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_related_environment_variables#QT_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_related_environment_variables#QT_IM_MODULE).**

3.  Qt IM module files:

    Found fcitx im module for Qt4: `/usr/lib/x86_64-linux-gnu/qt4/plugins/inputmethods/qtim-fcitx.so`.
    Found fcitx im module for Qt5: `/usr/lib/x86_64-linux-gnu/qt5/plugins/platforminputcontexts/libfcitxplatforminputcontextplugin.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_related_environment_variables#GTK_IM_MODULE).**

2.  `gtk-query-immodules`:

    1.  gtk 2:

        **Cannot find `gtk-query-immodules` for gtk 2**

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

    2.  gtk 3:

        **Cannot find `gtk-query-immodules` for gtk 3**

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

3.  Gtk IM module cache:

    1.  gtk 2:

        Found immodules cache for gtk `2.20.0` at `/usr/lib/vmware-installer/2.1.0/lib/libconf/etc/gtk-2.0/gtk.immodules`.
        Version Line:

            # Created by gtk-query-immodules-2.0 from gtk+-2.20.0

        **Failed to find fcitx in immodule cache at `/usr/lib/vmware-installer/2.1.0/lib/libconf/etc/gtk-2.0/gtk.immodules`**

        Found immodules cache for gtk `2.20.0` at `/usr/lib/vmware/libconf/etc/gtk-2.0/gtk.immodules`.
        Version Line:

            # Created by gtk-query-immodules-2.0 from gtk+-2.20.0

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

        Found immodules cache for gtk `2.24.31` at `/usr/lib/x86_64-linux-gnu/gtk-2.0/2.10.0/immodules.cache`.
        Version Line:

            # Created by /usr/lib/x86_64-linux-gnu/libgtk2.0-0/gtk-query-immodules-2.0 from gtk+-2.24.31

        Found fcitx im modules for gtk `2.24.31`.

            "/usr/lib/x86_64-linux-gnu/gtk-2.0/2.10.0/immodules/im-fcitx.so" 
            "fcitx" "Fcitx (Flexible Input Method Framework)" "fcitx" "/usr/share/locale" "ja:ko:zh:*" 

    2.  gtk 3:

        Found immodules cache for gtk `3.22.19` at `/usr/lib/x86_64-linux-gnu/gtk-3.0/3.0.0/immodules.cache`.
        Version Line:

            # Created by /usr/lib/x86_64-linux-gnu/libgtk-3-0/gtk-query-immodules-3.0 from gtk+-3.22.19

        Found fcitx im modules for gtk `3.22.19`.

            "/usr/lib/x86_64-linux-gnu/gtk-3.0/3.0.0/immodules/im-fcitx.so" 
            "fcitx" "Fcitx (Flexible Input Method Framework)" "fcitx" "/usr/share/locale" "ja:ko:zh:*" 

4.  Gtk IM module files:

    1.  gtk 2:

        All found Gtk 2 immodule files exist.

    2.  gtk 3:

        All found Gtk 3 immodule files exist.

# Configuration:
## Fcitx Addons:
1.  Addon Config Dir:

    Found fcitx addon config directory: `/usr/share/fcitx/addon`.

2.  Addon List:

    1.  Found 25 enabled addons:

            fcitx-autoeng
            fcitx-chttrans
            fcitx-classic-ui
            fcitx-clipboard
            fcitx-dbus
            fcitx-freedesktop-notify
            fcitx-fullwidth-char
            fcitx-googlepinyin
            fcitx-imselector
            fcitx-ipc
            fcitx-keyboard
            fcitx-kimpanel-ui
            fcitx-lua
            fcitx-notificationitem
            fcitx-punc
            fcitx-quickphrase
            fcitx-remote
            fcitx-spell
            fcitx-sunpinyin
            fcitx-unicode
            fcitx-vk
            fcitx-x11
            fcitx-xim
            fcitx-xkb
            fcitx-xkbdbus

    2.  Found 0 disabled addons:

3.  Addon Libraries:

    **Cannot find file `fcitx-xkbdbus.so` of addon `fcitx-xkbdbus`.**

    **Cannot find file `fcitx-autoeng.so` of addon `fcitx-autoeng`.**

    **Cannot find file `fcitx-x11.so` of addon `fcitx-x11`.**

    **Cannot find file `fcitx-quickphrase.so` of addon `fcitx-quickphrase`.**

    **Cannot find file `fcitx-fullwidth-char.so` of addon `fcitx-fullwidth-char`.**

    **Cannot find file `fcitx-googlepinyin.so` of addon `fcitx-googlepinyin`.**

    **Cannot find file `fcitx-kimpanel-ui.so` of addon `fcitx-kimpanel-ui`.**

    **Cannot find file `fcitx-clipboard.so` of addon `fcitx-clipboard`.**

    **Cannot find file `fcitx-dbus.so` of addon `fcitx-dbus`.**

    **Cannot find file `fcitx-remote-module.so` of addon `fcitx-remote`.**

    **Cannot find file `fcitx-keyboard.so` of addon `fcitx-keyboard`.**

    **Cannot find file `fcitx-vk.so` of addon `fcitx-vk`.**

    **Cannot find file `fcitx-classic-ui.so` of addon `fcitx-classic-ui`.**

    **Cannot find file `fcitx-notificationitem.so` of addon `fcitx-notificationitem`.**

    **Cannot find file `fcitx-sunpinyin.so` of addon `fcitx-sunpinyin`.**

    **Cannot find file `fcitx-lua.so` of addon `fcitx-lua`.**

    **Cannot find file `fcitx-unicode.so` of addon `fcitx-unicode`.**

    **Cannot find file `fcitx-spell.so` of addon `fcitx-spell`.**

    **Cannot find file `fcitx-xim.so` of addon `fcitx-xim`.**

    **Cannot find file `fcitx-freedesktop-notify.so` of addon `fcitx-freedesktop-notify`.**

    **Cannot find file `fcitx-punc.so` of addon `fcitx-punc`.**

    **Cannot find file `fcitx-xkb.so` of addon `fcitx-xkb`.**

    **Cannot find file `fcitx-imselector.so` of addon `fcitx-imselector`.**

    **Cannot find file `fcitx-ipc.so` of addon `fcitx-ipc`.**

    **Cannot find file `fcitx-chttrans.so` of addon `fcitx-chttrans`.**

4.  User Interface:

    Found 2 enabled user interface addons:

        fcitx-classic-ui
        fcitx-kimpanel-ui

## Input Methods:
1.  Found 3 enabled input methods:

        fcitx-keyboard-us
        sunpinyin
        googlepinyin

2.  Default input methods:

    You have a keyboard input method "fcitx-keyboard-us" correctly added as your default input method.

# Log:
1.  `date`:

        Thu Sep  7 13:38:34 EDT 2017

2.  `~/.config/fcitx/log/`:

        total 0

3.  `~/.config/fcitx/log/crash.log`:

    `~/.config/fcitx/log/crash.log` not found.