Prolems with fcitx5 installation - cannot open configtool
Hi, I'm trying to install fcitx5 on my yocto linux OS, but I'm encountering some issues. The fcitx5 daemon is started and I also see the icon of the keyboard on the top bar, but i cannot click, it doesn't open. When i try to open fcitx5 configtool from the UI, it doesn't work, so i tried to launch it from the command line, but it gives me the following error:
You are currently running fcitx with GUI, but fcitx-config-qt could not be found. Now it will open config directory. Cannot find a command to run
and nothing happens. I set the variables QT_IM_MODULE, GTK_IM_MODULE and XMODIFIERS to fcitx. I'm using XFCE and X11. In addition i will leave here the diagnose output:
# System Info:
1. `uname -a`:
Linux 6hd 5.15.137-intel-pk-standard #1 SMP PREEMPT Fri Oct 27 17:42:22 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
2. `lsb_release`:
`lsb_release` not found.
3. `/etc/lsb-release`:
`/etc/lsb-release` not found.
4. `/etc/os-release`:
`/etc/os-release` not found.
5. Desktop Environment:
Desktop environment is `xfce`.
6. Bash Version:
BASH_VERSION='5.1.16(1)-release'
# Environment:
1. DISPLAY:
DISPLAY=':0.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+ara(azerty):2+inet(evdev)" };
xkb_geometry { include "pc(pc105)" };
};
2. `xprop`:
_XKB_RULES_NAMES(STRING) = "evdev", "pc105", "us,ara", ",azerty", ""
3. Locale:
`locale` not found.
4. Directories:
1. Home:
/home/root
2. `${XDG_CONFIG_HOME}`:
Environment variable `XDG_CONFIG_HOME` is not set.
Current value of `XDG_CONFIG_HOME` is `~/.config` (`/home/root/.config`).
3. Fcitx5 Settings Directory:
Current fcitx5 settings directory is `~/.config/fcitx5` (`/home/root/.config/fcitx5`).
5. Current user:
The script is run as root (0).
1. `sudo` Environment Variables:
SUDO_COMMAND is not set.
SUDO_USER is not set.
SUDO_UID is not set.
SUDO_GID is not set.
2. Running as root:
**You are probably logging in as `root` or using `sudo` to run this script. This either means you have security problems or the result of this script may not be accurate. See [Why is it bad to run as root](https://www.google.com/search?q=Why+is+it+bad+to+run+as+root) or [sudo environment variables](https://www.google.com/search?q=sudo+environment+variables) for more information.**
# Fcitx State:
1. executable:
Found fcitx5 at `/usr/bin/fcitx5`.
2. version:
Fcitx version: `5.0.8`
3. process:
Found 1 fcitx5 process:
3313 fcitx5
4. `fcitx5-remote`:
`fcitx5-remote` works properly.
5. DBus interface:
Using `dbus-send` to check dbus.
Owner of DBus name `org.fcitx.Fcitx5` is `:1.67`.
PID of DBus name `org.fcitx.Fcitx5` owner is `3313`.
# Fcitx Configure UI:
1. Config Tool Wrapper:
Found fcitx5-configtool at `/usr/bin/fcitx5-configtool`.
2. Config GUI for qt:
**Config GUI for qt not found.**
3. Config GUI for kde:
**`kcmshell5` not found.**
**Cannot find a GUI config tool, please install one of `kcm-fcitx5`, or `fcitx5-config-qt`.**
# 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:
Found unknown fcitx qt module: `/usr/lib/qt5/plugins/platforminputcontexts/libfcitxplatforminputcontextplugin.so`.
Found unknown fcitx qt module: `/usr/lib/fcitx/qt/libfcitx-quickphrase-editor5.so`.
**Cannot find fcitx5 input method module for Qt4.**
**Cannot find fcitx5 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.33` at `/usr/bin/gtk-query-immodules-2.0`.
Version Line:
# Created by /usr/bin/gtk-query-immodules-2.0 from gtk+-2.24.33
**Failed to find fcitx5 in the output of `/usr/bin/gtk-query-immodules-2.0`**
**Cannot find fcitx5 im module for gtk 2.**
2. gtk 3:
Found `gtk-query-immodules` for gtk `3.24.34` at `/usr/bin/gtk-query-immodules-3.0`.
Version Line:
# Created by /usr/bin/gtk-query-immodules-3.0 from gtk+-3.24.34
**Failed to find fcitx5 in the output of `/usr/bin/gtk-query-immodules-3.0`**
**Cannot find fcitx5 im module for gtk 3.**
3. Gtk IM module cache:
1. gtk 2:
**Cannot find immodules cache for gtk 2**
**Cannot find fcitx5 im module for gtk 2 in cache.**
2. gtk 3:
**Cannot find immodules cache for gtk 3**
**Cannot find fcitx5 im module for gtk 3 in cache.**
3. gtk 4:
**Cannot find immodules cache for gtk 4**
**Cannot find fcitx5 im module for gtk 4 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.
3. gtk 4:
All found Gtk 4 immodule files exist.
# Configuration:
## Fcitx Addons:
1. Addon Config Dir:
Found fcitx5 addon config directory: `/usr/share/fcitx5/addon`.
2. Addon List:
1. Found 24 enabled addons:
Simplified and Traditional Chinese Translation
Classic User Inteface
Clipboard
Cloud Pinyin
DBus
DBus Frontend
Fcitx4 Frontend
Full width character
Hangul
Input method selector
Keyboard
KDE Input Method Panel
M17N
Status Notifier
Notification
Pinyin
Extra Pinyin functionality
Punctuation
Quick Phrase
Spell
Table
Unicode
XCB
X Input Method Frontend
2. Found 0 disabled addons:
3. Addon Libraries:
**Cannot find file `table` of addon `Table`.**
**Cannot find file `chttrans` of addon `Simplified`.**
**Cannot find file `unicode` of addon `Unicode`.**
**Cannot find file `m17n` of addon `M17N`.**
**Cannot find file `xcb` of addon `XCB`.**
**Cannot find file `fullwidth` of addon `Full`.**
**Cannot find file `imselector` of addon `Input`.**
**Cannot find file `fcitx4frontend` of addon `Fcitx4`.**
**Cannot find file `classicui` of addon `Classic`.**
**Cannot find file `quickphrase` of addon `Quick`.**
**Cannot find file `dbusfrontend` of addon `DBus`.**
**Cannot find file `notificationitem` of addon `Status`.**
**Cannot find file `clipboard` of addon `Clipboard`.**
**Cannot find file `notifications` of addon `Notification`.**
**Cannot find file `xim` of addon `X`.**
**Cannot find file `cloudpinyin` of addon `Cloud`.**
**Cannot find file `hangul` of addon `Hangul`.**
**Cannot find file `spell` of addon `Spell`.**
**Cannot find file `kimpanel` of addon `KDE`.**
**Cannot find file `pinyinhelper` of addon `Extra`.**
**Cannot find file `dbus` of addon `DBus`.**
**Cannot find file `punctuation` of addon `Punctuation`.**
**Cannot find file `pinyin` of addon `Pinyin`.**
4. User Interface:
Found 2 enabled user interface addons:
Classic User Inteface
KDE Input Method Panel
# Log:
1. `date`:
Fri Mar 9 02:51:20 PM UTC 2018
2. `/home/root/.config/fcitx5/crash.log`:
=========================
Fcitx 5.0.8 -- Get Signal No.: 11
Date: try "date -d @1520605733" if you are using GNU date ***
ProcessID: 779
/usr/bin/fcitx5(+0xc94d)[0x56207436194d]
/lib/libc.so.6(+0x41920)[0x7f7cc8742920]
/usr/lib/libFcitx5Utils.so.2(+0x404df)[0x7f7cc8bb14df]
/usr/lib/libFcitx5Utils.so.2(+0x53777)[0x7f7cc8bc4777]
/usr/lib/libevent_core-2.1.so.7(+0x1cc98)[0x7f7cc8697c98]
/usr/lib/libevent_core-2.1.so.7(event_base_loop+0x567)[0x7f7cc86983e7]
/usr/lib/libFcitx5Utils.so.2(_ZN5fcitx9EventLoop4execEv+0x3a)[0x7f7cc8bc49ea]
/usr/lib/libFcitx5Core.so.7(_ZN5fcitx8Instance4execEv+0x54)[0x7f7cc8c98a84]
/usr/bin/fcitx5(+0xb6b6)[0x5620743606b6]
/lib/libc.so.6(+0x2d57b)[0x7f7cc872e57b]
/lib/libc.so.6(__libc_start_main+0x80)[0x7f7cc872e630]
/usr/bin/fcitx5(+0xbbf5)[0x562074360bf5]
Edited by Nicola Battaglino