neko, a few things:
1. I modified your module slightly: moved /home/guest folder to /root as I run root. Anyway, the main issues are the same:
2.
Code: Select all
root@porteus:~# fcitx5-configtool
You're currently running Fcitx with GUI, but fcitx5-config-qt couldn't be found. Now it will open config directory.
3. Ctrl+Space doesn't work, it's because they really want to use
fcitx in the ENV exports and not
fcitx5. It wasn't a bug but a feature
4. GLib mismatch is still there so Gtk apps won't work anyway.
beny's last message shows he could somehow get /
usr/lib64/gtk-3.0/3.0.0/immodules/im-fcitx5.so to load. I suggest we wait for
beny to share his method of fixing the GLib issue (I guess it's a bit ugly).
Here is the full output with your module (which doesn't work):
Code: Select all
root@porteus:~# fcitx5-diagnose
# System Info:
1. `uname -a`:
Linux porteus.example.net 5.18.8-porteus #1 SMP PREEMPT_DYNAMIC Sat Jul 2 10:05:31 MSK 2022 x86_64 Intel(R) Core(TM) i5-9500 CPU @ 3.00GHz GenuineIntel GNU/Linux
2. `lsb_release`:
`lsb_release` not found.
3. `/etc/lsb-release`:
`/etc/lsb-release` not found.
4. `/etc/os-release`:
NAME=Porteus
VERSION="5"
ID=slackware
VERSION_ID=5.0
PRETTY_NAME="Porteus 5.0"
ANSI_COLOR="0;34"
CPE_NAME="cpe:/o:porteus:porteus_linux:5"
HOME_URL="http://www.porteus.org/"
SUPPORT_URL="http://forum.porteus.org/"
BUG_REPORT_URL="http://forum.porteus.org/"
5. Desktop Environment:
Cannot determine desktop environment.
6. XDG SESSION TYPE:
XDG_SESSION_TYPE='x11'
7. Bash Version:
BASH_VERSION='5.1.16(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+ledscroll(group_lock)" };
xkb_symbols { include "pc+us+ru(phonetic_YAZHERTY):2+inet(evdev)+group(alt_shift_toggle)+terminate(ctrl_alt_bksp)" };
xkb_geometry { include "pc(pc105)" };
};
2. `xprop`:
_XKB_RULES_NAMES(STRING) = "evdev", "pc105", "us,ru", ",phonetic_YAZHERTY", ",grp:alt_shift_toggle,grp_led:scroll,terminate:ctrl_alt_bksp"
3. Locale:
1. All locales:
C
C.utf8
POSIX
en_US
en_US.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=C
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:
/root
2. `${XDG_CONFIG_HOME}`:
Environment variable `XDG_CONFIG_HOME` is not set.
Current value of `XDG_CONFIG_HOME` is `~/.config` (`/root/.config`).
3. Fcitx5 Settings Directory:
Current fcitx5 settings directory is `~/.config/fcitx5` (`/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.18`
3. process:
Found 1 fcitx5 process:
1991 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.27`.
PID of DBus name `org.fcitx.Fcitx5` owner is `1991`.
Debug information from dbus:
Group [x11::0] has 1 InputContext(s)
IC [4cd55ab46e8c49458233dd11a34eadf7] program: frontend:xim cap:4000000000 focus:0
Input Context without group
# 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 "@im=fcitx5" instead of "@im=fcitx". Please check if you have exported it incorrectly in any of your init files.**
**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 fcitx5.
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 "fcitx5" instead of "fcitx". Please check if you have exported it incorrectly in any of your init files.**
**You may have trouble using fcitx in qt4 programs.**
**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}`:
**Environment variable QT_IM_MODULE is "fcitx5" instead of "fcitx". Please check if you have exported it incorrectly in any of your init files.**
**You may have trouble using fcitx in qt5 programs.**
**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 fcitx5 im module for qt5: `/usr/lib64/qt5/plugins/platforminputcontexts/libfcitx5platforminputcontextplugin.so`.
Found fcitx5 qt5 module: `/usr/lib64/fcitx5/qt5/libfcitx-quickphrase-editor5.so`.
**Cannot find fcitx5 input method module for Qt4.**
## Gtk:
1. gtk - `${GTK_IM_MODULE}`:
**Environment variable GTK_IM_MODULE is "fcitx5" instead of "fcitx". Please check if you have exported it incorrectly in any of your init files.**
**You may have trouble using fcitx in gtk programs.**
**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 fcitx5 im module for gtk 2.**
2. gtk 3:
Cannot load module /usr/lib64/gtk-3.0/3.0.0/immodules/im-fcitx5.so: GModule (/usr/lib64/gtk-3.0/3.0.0/immodules/im-fcitx5.so) initialization check failed: GLib version too old (micro mismatch)
/usr/lib64/gtk-3.0/3.0.0/immodules/im-fcitx5.so does not export GTK+ IM module API: GModule (/usr/lib64/gtk-3.0/3.0.0/immodules/im-fcitx5.so) initialization check failed: GLib version too old (micro mismatch)
Found `gtk-query-immodules` for unknown gtk version at `/usr/bin/gtk-query-immodules-3.0`.
**Failed to find fcitx5 in the output of `/usr/bin/gtk-query-immodules-3.0`**
**Cannot find `gtk-query-immodules` for gtk 3**
**Cannot find fcitx5 im module for gtk 3.**
3. Gtk IM module cache:
1. gtk 2:
Found immodules cache for gtk `2.24.33` at `/usr/lib64/gtk-2.0/2.10.0/immodules.cache`.
Version Line:
# Created by /usr/bin/gtk-query-immodules-2.0-64 from gtk+-2.24.33
**Failed to find fcitx5 in immodule cache at `/usr/lib64/gtk-2.0/2.10.0/immodules.cache`**
**Cannot find fcitx5 im module for gtk 2 in cache.**
2. gtk 3:
Found immodules cache for gtk `3.24.33` at `/usr/lib64/gtk-3.0/3.0.0/immodules.cache`.
Version Line:
# Created by /usr/bin/gtk-query-immodules-3.0-64 from gtk+-3.24.33
**Failed to find fcitx5 in immodule cache at `/usr/lib64/gtk-3.0/3.0.0/immodules.cache`**
**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 20 enabled addons:
Classic User Interface 5.0.18
Clipboard 5.0.18
DBus 5.0.18
DBus Frontend 5.0.18
Emoji 5.0.18
Fcitx4 Frontend 5.0.18
IBus Frontend 5.0.18
Input method selector 5.0.18
Keyboard 5.0.18
KDE Input Method Panel 5.0.18
Mozc
Status Notifier 5.0.18
Notification 5.0.18
Quick Phrase 5.0.18
Spell 5.0.18
Unicode 5.0.18
Wayland 5.0.18
Wayland Input method frontend 5.0.18
XCB 5.0.18
X Input Method Frontend 5.0.18
2. Found 0 disabled addons:
3. Addon Libraries:
All libraries for all addons are found.
4. User Interface:
Found 2 enabled user interface addons:
Classic User Interface
KDE Input Method Panel
## Input Methods:
1. `/root/.config/fcitx5/profile`:
`/root/.config/fcitx5/profile` not found.
# Log:
1. `date`:
Sat Aug 27 21:36:45 NZST 2022
2. `/root/.config/fcitx5/crash.log`:
`/root/.config/fcitx5/crash.log` not found.
root@porteus:~#