You are not logged in.

#1 2018-02-10 19:36:05

triplethink
Member
Registered: 2018-02-10
Posts: 6

[SOLVED]Unable to use fcitx in almost every situation

Hi!
I am currently running into a problem when trying using fcitx.
It appears not to be showing up in every situation except telegram desktop. In other situations, I cannot see it activating.
Here is the output when starting fcitx in gnome-terminal:

(INFO-28602 addon.c:151) Load Addon Config File:fcitx-googlepinyin.conf         
(INFO-28602 addon.c:151) Load Addon Config File:fcitx-unicode.conf
(INFO-28602 addon.c:151) Load Addon Config File:fcitx-clipboard.conf
(INFO-28602 addon.c:151) Load Addon Config File:fcitx-remote-module.conf
(INFO-28602 addon.c:151) Load Addon Config File:fcitx-qw.conf
(INFO-28602 addon.c:151) Load Addon Config File:fcitx-xkbdbus.conf
(INFO-28602 addon.c:151) Load Addon Config File:fcitx-x11.conf
(INFO-28602 addon.c:151) Load Addon Config File:fcitx-quickphrase.conf
(INFO-28602 addon.c:151) Load Addon Config File:fcitx-freedesktop-notify.conf
(INFO-28602 addon.c:151) Load Addon Config File:fcitx-classic-ui.conf
(INFO-28602 addon.c:151) Load Addon Config File:fcitx-imselector.conf
(INFO-28602 addon.c:151) Load Addon Config File:fcitx-pinyin.conf
(INFO-28602 addon.c:151) Load Addon Config File:fcitx-fullwidth-char.conf
(INFO-28602 addon.c:151) Load Addon Config File:fcitx-xim.conf
(INFO-28602 addon.c:151) Load Addon Config File:fcitx-spell.conf
(INFO-28602 addon.c:151) Load Addon Config File:fcitx-table.conf
(INFO-28602 addon.c:151) Load Addon Config File:fcitx-kimpanel-ui.conf
(INFO-28602 addon.c:151) Load Addon Config File:fcitx-ipcportal.conf
(INFO-28602 addon.c:151) Load Addon Config File:fcitx-autoeng.conf
(INFO-28602 addon.c:151) Load Addon Config File:fcitx-notificationitem.conf
(INFO-28602 addon.c:151) Load Addon Config File:fcitx-chttrans.conf
(INFO-28602 addon.c:151) Load Addon Config File:fcitx-punc.conf
(INFO-28602 addon.c:151) Load Addon Config File:fcitx-xkb.conf
(INFO-28602 addon.c:151) Load Addon Config File:fcitx-pinyin-enhance.conf
(INFO-28602 addon.c:151) Load Addon Config File:fcitx-keyboard.conf
(INFO-28602 addon.c:151) Load Addon Config File:fcitx-dbus.conf
(INFO-28602 addon.c:151) Load Addon Config File:fcitx-ipc.conf
(INFO-28602 addon.c:151) Load Addon Config File:fcitx-vk.conf
(WARN-28602 dbusstuff.c:248) DBus Service Already Exists
(ERROR-28602 instance.c:443) Exiting.

As for the fcitx-diagnose:

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

        Linux triplet 4.15.2-2-ARCH #1 SMP PREEMPT Thu Feb 8 18:54:52 UTC 2018 x86_64 GNU/Linux

2.  `lsb_release`:

    `lsb_release` not found.

3.  `/etc/lsb-release`:

    `/etc/lsb-release` not found.

4.  `/etc/os-release`:

        NAME="Arch Linux"
        PRETTY_NAME="Arch Linux"
        ID=arch
        ID_LIKE=archlinux
        ANSI_COLOR="0;36"
        HOME_URL="https://www.archlinux.org/"
        SUPPORT_URL="https://bbs.archlinux.org/"
        BUG_REPORT_URL="https://bugs.archlinux.org/"

5.  Desktop Environment:

    Desktop environment is `gnome3`.

6.  Bash Version:

        BASH_VERSION='4.4.18(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
            en_US.utf8
            ja_JP.utf8
            POSIX
            zh_CN.utf8
            zh_TW.utf8

    2.  Current locale:

            LANG=en_US.UTF-8
            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/triplethink

    2.  `${XDG_CONFIG_HOME}`:

        Environment variable `XDG_CONFIG_HOME` is not set.

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

    3.  Fcitx Settings Directory:

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

5.  Current user:

    The script is run as triplethink (1000).

# Fcitx State:
1.  executable:

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

2.  version:

    Fcitx version: `4.2.9.5`

3.  process:

    Found 2 fcitx processes:

         1137 fcitx
         1146 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.66`.

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

# 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:

    **`kcmshell4` not found.**

# Frontends setup:
## Xim:
1.  `${XMODIFIERS}`:

    Environment variable XMODIFIERS is set to "@im=fcitx" correctly.
    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}`:

    Environment variable QT_IM_MODULE is set to "fcitx" correctly.

2.  qt5 - `${QT_IM_MODULE}`:

    Environment variable QT_IM_MODULE is set to "fcitx" correctly.

3.  Qt IM module files:

    **Cannot find fcitx input method module for Qt4.**
    **Cannot find fcitx input method module for Qt5.**

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

    Environment variable GTK_IM_MODULE is set to "fcitx" correctly.

2.  `gtk-query-immodules`:

    1.  gtk 2:

        Found `gtk-query-immodules` for gtk `2.24.32` at `/usr/bin/gtk-query-immodules-2.0`.
        Version Line:

            # Created by /usr/bin/gtk-query-immodules-2.0 from gtk+-2.24.32

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

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

    2.  gtk 3:

        Found `gtk-query-immodules` for gtk `3.22.26` at `/usr/bin/gtk-query-immodules-3.0`.
        Version Line:

            # Created by /usr/bin/gtk-query-immodules-3.0 from gtk+-3.22.26

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

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

3.  Gtk IM module cache:

    1.  gtk 2:

        Found immodules cache for gtk `2.24.32` at `/usr/lib/gtk-2.0/2.10.0/immodules.cache`.
        Version Line:

            # Created by /usr/bin/gtk-query-immodules-2.0 from gtk+-2.24.32

        **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.**

    2.  gtk 3:

        Found immodules cache for gtk `3.22.26` at `/usr/lib/gtk-3.0/3.0.0/immodules.cache`.
        Version Line:

            # Created by /usr/bin/gtk-query-immodules-3.0 from gtk+-3.22.26

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

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

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 27 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-ipcportal
            fcitx-keyboard
            fcitx-kimpanel-ui
            fcitx-notificationitem
            fcitx-pinyin
            fcitx-pinyin-enhance
            fcitx-punc
            fcitx-quickphrase
            fcitx-remote
            fcitx-spell
            fcitx-table
            fcitx-unicode
            fcitx-vk
            fcitx-x11
            fcitx-xim
            fcitx-xkb
            fcitx-xkbdbus

    2.  Found 1 disabled addons:

            fcitx-qw

3.  Addon Libraries:

    All libraries for all addons are found.

4.  User Interface:

    Found 2 enabled user interface addons:

        fcitx-classic-ui
        fcitx-kimpanel-ui

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

        fcitx-keyboard-us
        pinyin

2.  Default input methods:

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

# Log:
1.  `date`:

        Sun Feb 11 03:18:59 CST 2018

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

        total 0

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

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

Also, I don't see any running background apps' icon in system tray(like I've seen in Ubuntu). I think it may relate to this issue, is it normal?

Pre-Thanks!

Last edited by triplethink (2018-02-11 16:26:59)

Offline

#2 2018-02-10 22:35:06

seth
Member
Registered: 2012-09-03
Posts: 49,954

Re: [SOLVED]Unable to use fcitx in almost every situation

in gnome-terminal

Wayland?

loginctl session-status

Online

#3 2018-02-11 08:21:56

triplethink
Member
Registered: 2018-02-10
Posts: 6

Re: [SOLVED]Unable to use fcitx in almost every situation

seth wrote:

in gnome-terminal

Wayland?

loginctl session-status

Here is the output of loginctl session-status:

c2 - triplethink (1000)
           Since: Sun 2018-02-11 16:13:07 CST; 4min 53s ago
          Leader: 691 (gdm-session-wor)
            Seat: seat0; vc2
             TTY: tty2
         Service: gdm-password; type wayland; class user
           State: active
            Unit: session-c2.scope
                  ├─ 691 gdm-session-worker [pam/gdm-password]
                  ├─ 705 /usr/bin/gnome-keyring-daemon --daemonize --login
                  ├─ 709 /usr/lib/gdm/gdm-wayland-session gnome-session
                  ├─ 713 /usr/lib/gnome-session-binary
                  ├─ 743 /usr/bin/gnome-shell
                  ├─ 766 /usr/bin/Xwayland :0 -rootless -terminate -core -listen 4 -listen 5 -displayfd 6
                  ├─ 872 /usr/lib/gnome-settings-daemon/gsd-mouse
                  ├─ 874 /usr/lib/gnome-settings-daemon/gsd-power
                  ├─ 875 /usr/lib/gnome-settings-daemon/gsd-print-notifications
                  ├─ 876 /usr/lib/gnome-settings-daemon/gsd-rfkill
                  ├─ 878 /usr/lib/gnome-settings-daemon/gsd-screensaver-proxy
                  ├─ 880 /usr/lib/gnome-settings-daemon/gsd-sharing
                  ├─ 883 /usr/lib/gnome-settings-daemon/gsd-wacom
                  ├─ 889 /usr/lib/gnome-settings-daemon/gsd-xsettings
                  ├─ 893 /usr/lib/gnome-settings-daemon/gsd-sound

Offline

#4 2018-02-11 08:23:15

seth
Member
Registered: 2012-09-03
Posts: 49,954

Re: [SOLVED]Unable to use fcitx in almost every situation

Have you also read it?

Online

#5 2018-02-11 15:05:52

triplethink
Member
Registered: 2018-02-10
Posts: 6

Re: [SOLVED]Unable to use fcitx in almost every situation

Sorry, I don't know what you mean?

Offline

#6 2018-02-11 15:33:16

seth
Member
Registered: 2012-09-03
Posts: 49,954

Re: [SOLVED]Unable to use fcitx in almost every situation

I asked you whether it's wayland and told you how to figure that. So, is it? Did you check whether fcitx might work on wayland at all?
Spoiler: it means "Free Chinese Input Tool of X" ...

Online

#7 2018-02-11 16:24:50

triplethink
Member
Registered: 2018-02-10
Posts: 6

Re: [SOLVED]Unable to use fcitx in almost every situation

seth wrote:

I asked you whether it's wayland and told you how to figure that. So, is it? Did you check whether fcitx might work on wayland at all?
Spoiler: it means "Free Chinese Input Tool of X" ...

It's very weird one of my friend recommended me rime, so I installed fcitx-rime, and immediately the original one works...
I think this problem is due to the dependency/configuration not done right by default.
Though I don't know the specific mechanism, it is solved.

Offline

Board footer

Powered by FluxBB