You are not logged in.

#1 2025-03-21 22:44:12

adr77
Member
From: Israel
Registered: 2023-10-28
Posts: 181

[SOLVED] error when launching Fcitx5 config tool - Qt related

Good day, see title for TL:DR, explained further:

After reinstalling Arch on my laptop (new SSD), Fcitx5 wouldn't launch the config tool, first because it was missing then now after trying to launch it in the terminal, this happens:

[andaro@oylmpus ~]$ fcitx5-config-qt
fcitx5-config-qt: error while loading shared libraries: libKF6WindowSystem.so.6: cannot open shared object file: No such file or directory
[andaro@oylmpus ~]$ 

If anyone could, help, It'd be a pleasure!

solution: just check that you install the `fcitx5-im` package instead of the base `fcitx5` package, also environment variables as well.

Last edited by adr77 (2025-03-22 15:04:14)


meet the rigs:
monolith: AMD Ryzen 7 5800X | ASUS TUF RTX 4070 | 32GB DDR4 | DIY
smolwrld: Intel Core i5-8350U | Intel HD Graphics 620 | 16GB DDR4 | ThinkPad T480s

Offline

#2 2025-03-22 00:25:57

mackin_cheese
Member
Registered: 2025-01-07
Posts: 477

Re: [SOLVED] error when launching Fcitx5 config tool - Qt related

Your error is suggesting that your missing some dependencies needed. search up the dependencies for fcitx5-configtool  and make sure you have those installed

Offline

#3 2025-03-22 06:59:48

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 75,381

Re: [SOLVED] error when launching Fcitx5 config tool - Qt related

Afaict https://archlinux.org/packages/extra/x8 … dowsystem/ isn't an (optional) dependency for https://archlinux.org/packages/extra/x8 … onfigtool/ (but would only get dragged in implicitly by the KCM stuff) and there's already a package bug reported: https://gitlab.archlinux.org/archlinux/ … -/issues/2

Offline

#4 2025-03-22 09:25:18

adr77
Member
From: Israel
Registered: 2023-10-28
Posts: 181

Re: [SOLVED] error when launching Fcitx5 config tool - Qt related

So... what should I do in this case?

I understand it could because something is missing, but how come in my previous Arch install, it would work just fine?


meet the rigs:
monolith: AMD Ryzen 7 5800X | ASUS TUF RTX 4070 | 32GB DDR4 | DIY
smolwrld: Intel Core i5-8350U | Intel HD Graphics 620 | 16GB DDR4 | ThinkPad T480s

Offline

#5 2025-03-22 09:49:41

WorMzy
Administrator
From: Scotland
Registered: 2010-06-16
Posts: 13,489
Website

Re: [SOLVED] error when launching Fcitx5 config tool - Qt related

bug report wrote:

Installing kwindowsystem resolves this.


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#6 2025-03-22 10:04:57

adr77
Member
From: Israel
Registered: 2023-10-28
Posts: 181

Re: [SOLVED] error when launching Fcitx5 config tool - Qt related

Okay, so now it launches, but now there's no input but English. I have Japanese input via Mozc, Russian and Hebrew installed. I mapped the "Enumerate Method Input Forward" to LShift+LAlt, but yet nothing happens...


meet the rigs:
monolith: AMD Ryzen 7 5800X | ASUS TUF RTX 4070 | 32GB DDR4 | DIY
smolwrld: Intel Core i5-8350U | Intel HD Graphics 620 | 16GB DDR4 | ThinkPad T480s

Offline

#7 2025-03-22 11:54:44

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 75,381

Re: [SOLVED] error when launching Fcitx5 config tool - Qt related

https://wiki.archlinux.org/title/Fcitx5 … e_problems - run fcitx5-diagnose and check what's wrong.

Offline

#8 2025-03-22 13:37:43

adr77
Member
From: Israel
Registered: 2023-10-28
Posts: 181

Re: [SOLVED] error when launching Fcitx5 config tool - Qt related

so this is what is provided me when I ran fcitx5-diagnose:

[andaro@oylmpus ~]$ fcitx5-diagnose
# System Info:
1.  `uname -a`:

        Linux oylmpus 6.13.7-arch1-1 #1 SMP PREEMPT_DYNAMIC Thu, 13 Mar 2025 18:12:00 +0000 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
        BUILD_ID=rolling
        ANSI_COLOR="38;2;23;147;209"
        HOME_URL="https://archlinux.org/"
        DOCUMENTATION_URL="https://wiki.archlinux.org/"
        SUPPORT_URL="https://bbs.archlinux.org/"
        BUG_REPORT_URL="https://gitlab.archlinux.org/groups/archlinux/-/issues"
        PRIVACY_POLICY_URL="https://terms.archlinux.org/docs/privacy-policy/"
        LOGO=archlinux-logo

5.  Desktop Environment:

    Desktop environment is `cinnamon`.

6.  XDG SESSION TYPE:

        XDG_SESSION_TYPE='x11'

7.  Bash Version:

        BASH_VERSION='5.2.37(1)-release'

# Environment:
1.  DISPLAY:

        DISPLAY=':0'


        WAYLAND_DISPLAY=''

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)+terminate(ctrl_alt_bksp)+group(win_space_toggle)"	};
            	xkb_geometry  { include "pc(pc105)"	};
            };

    2.  `xprop`:

            _XKB_RULES_NAMES(STRING) = "evdev", "pc105", "us", "", "grp:win_space_toggle,terminate:ctrl_alt_bksp"

3.  Locale:

    1.  All locales:

            C
            C.utf8
            POSIX
            en_IL
            en_IL.utf8
            he_IL.utf8
            ja_JP.utf8
            ru_RU.utf8

    2.  Current locale:

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

4.  Directories:

    1.  Home:

            /home/andaro

    2.  `${XDG_CONFIG_HOME}`:

        Environment variable `XDG_CONFIG_HOME` is not set.

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

    3.  Fcitx5 Settings Directory:

        Current fcitx5 settings directory is `~/.config/fcitx5` (`/home/andaro/.config/fcitx5`).

5.  Current user:

    The script is run as andaro (1000).

# Fcitx State:
1.  executable:

    Found fcitx5 at `/usr/bin/fcitx5`.

2.  version:

    Fcitx version: `5.1.12`

3.  process:

    Found 2 fcitx5 processes:

           1527 fcitx5
           1741 fcitx5-config-q

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.75`.

    PID of DBus name `org.fcitx.Fcitx5` owner is `1527`.

    Debug information from dbus:

           Group [x11::0] has 2 InputContext(s)
          IC [986a4f5075cf4037b9c153595f3bb9ba] program:fcitx5-config-qt frontend:dbus cap:6000800072 focus:0
          IC [a43fce168b02444f9fc591abb5995102] program:fcitx5-config-qt frontend:dbus cap:16000800072 focus:1
        Input Context without group

# Frontends setup:
The environment variable checked by this script only shows the environment under current shell. It is still possible that you did not set the environment to the whole graphic desktop session. You may inspect the actual environment variable of a certain process by using `xargs -0 -L1 /proc/$PID/environ` for a certain process that you find not working.

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

    Environment variable QT_IM_MODULE is set to "fcitx" correctly.

    **`fcitx5-qt4-immodule-probing` not found.**

2.  qt5 - `${QT_IM_MODULE}`:

    Environment variable QT_IM_MODULE is set to "fcitx" correctly.

    Using fcitx5-qt5-immodule-probing to check the actual im module to be used under current environment:



3.  qt6 - `${QT_IM_MODULE}`:

    Environment variable QT_IM_MODULE is set to "fcitx" correctly.

    Using fcitx5-qt6-immodule-probing to check the actual im module to be used under current environment:

        QT_QPA_PLATFORM=xcb
        QT_IM_MODULE=fcitx
        IM_MODULE_CLASSNAME=fcitx::QFcitxPlatformInputContext

4.  Qt IM module files:

    Found fcitx5 im module for qt6: `/usr/lib/qt6/plugins/platforminputcontexts/libfcitx5platforminputcontextplugin.so`.
    Found unknown fcitx qt module: `/usr/lib/qt6/plugins/plasma/kcms/systemsettings/kcm_fcitx5.so`.
    Found fcitx5 im module for qt: `/usr/lib/qt/plugins/platforminputcontexts/libfcitx5platforminputcontextplugin.so`.
    Found fcitx5 qt6 module: `/usr/lib/fcitx5/qt6/libfcitx-quickphrase-editor5.so`.
    Found fcitx5 qt5 module: `/usr/lib/fcitx5/qt5/libfcitx-quickphrase-editor5.so`.

    Following error may not be accurate because guessing Qt version from path depends on how your distribution packages Qt. It is not a critical error if you do not use any Qt application with certain version of Qt or you are using text-input support by Qt under Wayland.
    **Cannot find fcitx5 input method module for Qt4.**

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

    Environment variable GTK_IM_MODULE is set to "fcitx" correctly.

    **`fcitx5-gtk2-immodule-probing` not found.**

    **`fcitx5-gtk3-immodule-probing` not found.**

    **`fcitx5-gtk4-immodule-probing` not found.**

2.  `gtk-query-immodules`:

    1.  gtk 2:

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

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

    2.  gtk 3:

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

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

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

        Found immodules cache for gtk `3.24.49` 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.24.49

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

        **Cannot find fcitx5 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.

    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 21 enabled addons:

            Classic User Interface 5.1.12
            Clipboard 5.1.12
            DBus 5.1.12
            DBus Frontend 5.1.12
            Emoji 5.1.12
            Fcitx4 Frontend 5.1.12
            IBus Frontend 5.1.12
            Input method selector 5.1.12
            Keyboard 5.1.12
            KDE Input Method Panel 5.1.12
            Mozc 
            Status Notifier 5.1.12
            Notification 5.1.12
            Quick Phrase 5.1.12
            Spell 5.1.12
            Unicode 5.1.12
            DBus Virtual Keyboard 5.1.12
            Wayland 5.1.12
            Wayland Input method frontend 5.1.12
            XCB 5.1.12
            X Input Method Frontend 5.1.12

    2.  Found 0 disabled addons:

3.  Addon Libraries:

    All libraries for all addons are found.

4.  User Interface:

    Found 3 enabled user interface addons:

        Classic User Interface
        KDE Input Method Panel
        DBus Virtual Keyboard

## Input Methods:
1.  `/home/andaro/.config/fcitx5/profile`:

        [Groups/0]
        # Group Name
        Name=Default
        # Layout
        Default Layout=us
        # Default Input Method
        DefaultIM=keyboard-ru

        [Groups/0/Items/0]
        # Name
        Name=keyboard-us
        # Layout
        Layout=

        [Groups/0/Items/1]
        # Name
        Name=mozc
        # Layout
        Layout=

        [Groups/0/Items/2]
        # Name
        Name=keyboard-ru
        # Layout
        Layout=

        [Groups/0/Items/3]
        # Name
        Name=keyboard-il
        # Layout
        Layout=

        [GroupOrder]
        0=Default

# Log:
1.  `date`:

        Sat Mar 22 15:34:19 IST 2025

2.  `/home/andaro/.config/fcitx5/crash.log`:

    `/home/andaro/.config/fcitx5/crash.log` not found.

**Warning: the output of fcitx5-diagnose contains sensitive information, including the distribution name, kernel version, name of currently running programs, etc.**

**Though such information can be helpful to developers for diagnostic purpose, please double check and remove as necessary before posting it online publicly.**

One of the things I noticed is that it wanted me to add 'export XMODIFIERS=@im=fcitx' to my '~/.xprofile' file, so I went ahead and did that, I'll update with results after a reboot.

Update: it did nothing.

Last edited by adr77 (2025-03-22 13:40:50)


meet the rigs:
monolith: AMD Ryzen 7 5800X | ASUS TUF RTX 4070 | 32GB DDR4 | DIY
smolwrld: Intel Core i5-8350U | Intel HD Graphics 620 | 16GB DDR4 | ThinkPad T480s

Offline

#9 2025-03-22 13:59:16

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 75,381

Re: [SOLVED] error when launching Fcitx5 config tool - Qt related

What is your testcase? Does it work w/ gtk3-demo ?

Offline

#10 2025-03-22 14:53:28

adr77
Member
From: Israel
Registered: 2023-10-28
Posts: 181

Re: [SOLVED] error when launching Fcitx5 config tool - Qt related

What's gtk3-demo? I just used Firefox with Google Search.


meet the rigs:
monolith: AMD Ryzen 7 5800X | ASUS TUF RTX 4070 | 32GB DDR4 | DIY
smolwrld: Intel Core i5-8350U | Intel HD Graphics 620 | 16GB DDR4 | ThinkPad T480s

Offline

#11 2025-03-22 14:58:02

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 75,381

Offline

#12 2025-03-22 15:00:31

adr77
Member
From: Israel
Registered: 2023-10-28
Posts: 181

Re: [SOLVED] error when launching Fcitx5 config tool - Qt related

Oh my, fcitx5-gtk just isn't present... could this have been the issue of it all?

yeah, that was the main problem of it just not working... thanks again!

Last edited by adr77 (2025-03-22 15:03:09)


meet the rigs:
monolith: AMD Ryzen 7 5800X | ASUS TUF RTX 4070 | 32GB DDR4 | DIY
smolwrld: Intel Core i5-8350U | Intel HD Graphics 620 | 16GB DDR4 | ThinkPad T480s

Offline

Board footer

Powered by FluxBB