Environment variable XDG_CONFIG_HOME is set to /home/leah/.config.
Current value of XDG_CONFIG_HOME is ~/.config (/home/leah/.config).
Fcitx5 Settings Directory:
Current fcitx5 settings directory is ~/.config/fcitx5 (/home/leah/.config/fcitx5).
Current user:
The script is run as leah (1000).
Fcitx State:
executable:
Found fcitx5 at /etc/profiles/per-user/leah/bin/fcitx5.
version:
Fcitx version: 5.1.6
process:
Found 2 fcitx5 processes:
420345 .fcitx5-wrapped
423066 fcitx5-diagnose
fcitx5-remote:
fcitx5-remote works properly.
DBus interface:
Using dbus-send to check dbus.
Owner of DBus name org.fcitx.Fcitx5 is :1.233.
PID of DBus name org.fcitx.Fcitx5 owner is 420345.
Debug information from dbus:
Group [wayland:] has 4 InputContext(s)
IC [45971e5597c644bf8da8f6f0b2070ae4] program:vesktop frontend:wayland_v2 cap:100000052 focus:0
IC [f9512922807c4c2d9f27c17bc8661f7e] program:firefox frontend:wayland_v2 cap:52 focus:0
IC [3b14690c5f2e47b3a9c366867d7db129] program:kitty frontend:wayland_v2 cap:100000052 focus:0
IC [ce98cee3f69447daa6a862534f1d633c] program: frontend:wayland_v2 cap:100000052 focus:0
Group [x11::0] has 0 InputContext(s)
Input Context without group
Fcitx Configure UI:
Config Tool Wrapper:
Found fcitx5-configtool at /etc/profiles/per-user/leah/bin/fcitx5-configtool.
Config GUI for qt:
Found fcitx5-config-qt at /etc/profiles/per-user/leah/bin/fcitx5-config-qt.
Config GUI for kde:
kcmshell5 not found.
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:
${XMODIFIERS}:
Environment variable XMODIFIERS is set to "@im=fcitx" correctly.
Xim Server Name from Environment variable is fcitx.
XIM_SERVERS on root window:
xprop not found.
Qt:
qt4 - ${QT4_IM_MODULE}:
Environment variable QT_IM_MODULE is set to "fcitx" correctly.
fcitx5-qt4-immodule-probing not found.
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:
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.Cannot find fcitx5 input method module for Qt5.Cannot find fcitx5 input method module for Qt6.
Gtk:
gtk - ${GTK_IM_MODULE}:
Environment variable GTK_IM_MODULE is set to "fcitx" correctly.
fcitx5-gtk2-immodule-probing not found.
Using fcitx5-gtk3-immodule-probing to check the actual im module to be used under current environment:
GTK_IM_MODULE=fcitx
Using fcitx5-gtk4-immodule-probing to check the actual im module to be used under current environment:
GTK_IM_MODULE=fcitx
gtk-query-immodules:
gtk 2:
Cannot find gtk-query-immodules for gtk 2
Cannot find fcitx5 im module for gtk 2.
gtk 3:
Cannot find gtk-query-immodules for gtk 3
Cannot find fcitx5 im module for gtk 3.
Gtk IM module cache:
gtk 2:
Cannot find immodules cache for gtk 2
Cannot find fcitx5 im module for gtk 2 in cache.
gtk 3:
Cannot find immodules cache for gtk 3
Cannot find fcitx5 im module for gtk 3 in cache.
Gtk IM module files:
gtk 2:
All found Gtk 2 immodule files exist.
gtk 3:
All found Gtk 3 immodule files exist.
gtk 4:
All found Gtk 4 immodule files exist.
Configuration:
Fcitx Addons:
Addon Config Dir:
Found fcitx5 addon config directory: /nix/store/267sqgghd02dfama5w0qh3k7ggz73ik8-fcitx5-5.1.6/share/fcitx5/addon.
Classic User Interface
KDE Input Method Panel
DBus Virtual Keyboard
Input Methods:
/home/leah/.config/fcitx5/profile:
[Groups/0]
# Group Name
Name=Default
# Layout
Default Layout=us
# Default Input Method
DefaultIM=rime
[Groups/0/Items/0]
# Name
Name=keyboard-us
# Layout
Layout=
[Groups/0/Items/1]
# Name
Name=rime
# Layout
Layout=
[Groups/0/Items/2]
# Name
Name=mozc
# Layout
Layout=
[GroupOrder]
0=Default
Log:
date:
Fri Jan 19 12:57:02 PM CET 2024
/home/leah/.config/fcitx5/crash.log:
/home/leah/.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.
Describe the bug Ditto. Any read-only config file will be overwritten when app setttings change.
To Reproduce Steps to reproduce the behavior:
chmod -w ~/.config/fcitx5/profile
to make profile read-onlyfcitx5 -r
to reload Fcitx5stat -c %A ~/.config/fcitx5/profile
will return-rw-------
, showing that it has been made writable and replacedExpected behavior Fcitx5 should log an error saying that it could not write to the config file, but otherwise nothing should change.
Desktop (please complete the following information):
The output of fcitx5-diagnose if possible.
lsb_release
:lsb_release
not found./etc/lsb-release
:/etc/os-release
:Desktop Environment:
Cannot determine desktop environment.
XDG SESSION TYPE:
Bash Version:
Environment:
DISPLAY:
Keyboard Layout:
setxkbmap
:setxkbmap
not found.xprop
:xprop
not found.Locale:
All locales:
Current locale:
Directories:
Home:
${XDG_CONFIG_HOME}
:Environment variable
XDG_CONFIG_HOME
is set to/home/leah/.config
.Current value of
XDG_CONFIG_HOME
is~/.config
(/home/leah/.config
).Fcitx5 Settings Directory:
Current fcitx5 settings directory is
~/.config/fcitx5
(/home/leah/.config/fcitx5
).Current user:
The script is run as leah (1000).
Fcitx State:
executable:
Found fcitx5 at
/etc/profiles/per-user/leah/bin/fcitx5
.version:
Fcitx version:
5.1.6
process:
Found 2 fcitx5 processes:
fcitx5-remote
:fcitx5-remote
works properly.DBus interface:
Using
dbus-send
to check dbus.Owner of DBus name
org.fcitx.Fcitx5
is:1.233
.PID of DBus name
org.fcitx.Fcitx5
owner is420345
.Debug information from dbus:
Fcitx Configure UI:
Config Tool Wrapper:
Found fcitx5-configtool at
/etc/profiles/per-user/leah/bin/fcitx5-configtool
.Config GUI for qt:
Found
fcitx5-config-qt
at/etc/profiles/per-user/leah/bin/fcitx5-config-qt
.Config GUI for kde:
kcmshell5
not found.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:
${XMODIFIERS}
:Environment variable XMODIFIERS is set to "@im=fcitx" correctly. Xim Server Name from Environment variable is fcitx.
XIM_SERVERS on root window:
xprop
not found.Qt:
qt4 -
${QT4_IM_MODULE}
:Environment variable QT_IM_MODULE is set to "fcitx" correctly.
fcitx5-qt4-immodule-probing
not found.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:
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 IM module files:
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. Cannot find fcitx5 input method module for Qt5. Cannot find fcitx5 input method module for Qt6.
Gtk:
gtk -
${GTK_IM_MODULE}
:Environment variable GTK_IM_MODULE is set to "fcitx" correctly.
fcitx5-gtk2-immodule-probing
not found.Using fcitx5-gtk3-immodule-probing to check the actual im module to be used under current environment:
Using fcitx5-gtk4-immodule-probing to check the actual im module to be used under current environment:
gtk-query-immodules
:gtk 2:
Cannot find
gtk-query-immodules
for gtk 2Cannot find fcitx5 im module for gtk 2.
gtk 3:
Cannot find
gtk-query-immodules
for gtk 3Cannot find fcitx5 im module for gtk 3.
Gtk IM module cache:
gtk 2:
Cannot find immodules cache for gtk 2
Cannot find fcitx5 im module for gtk 2 in cache.
gtk 3:
Cannot find immodules cache for gtk 3
Cannot find fcitx5 im module for gtk 3 in cache.
Gtk IM module files:
gtk 2:
All found Gtk 2 immodule files exist.
gtk 3:
All found Gtk 3 immodule files exist.
gtk 4:
All found Gtk 4 immodule files exist.
Configuration:
Fcitx Addons:
Addon Config Dir:
Found fcitx5 addon config directory:
/nix/store/267sqgghd02dfama5w0qh3k7ggz73ik8-fcitx5-5.1.6/share/fcitx5/addon
.Addon List:
Found 20 enabled addons:
Found 0 disabled addons:
Addon Libraries:
All libraries for all addons are found.
User Interface:
Found 3 enabled user interface addons:
Input Methods:
/home/leah/.config/fcitx5/profile
:Log:
date
:/home/leah/.config/fcitx5/crash.log
:/home/leah/.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.