谢谢宋文武!Thank you Albers!
On October 10, 2025 8:58:33 AM UTC, Thomas Albers Raviola <[email protected]> wrote: >Hi, > >> Currently, I am getting this error when opening libreoffice: >> >> (soffice:16075): Gtk-WARNING **: 12:29:00.230: GModule >> (/gnu/store/yigxmvw9pbaarz4sgbs9dvxp17d5lqy9-fcitx5-gtk-5.1.4-gtk3/lib/gtk-3.0/3.0.0/immodules/im-fcitx5.so) >> initialization check failed: GLib version too old (micro mismatch) >> >> (soffice:16075): Gtk-WARNING **: 12:29:00.230: Loading IM context type >> 'fcitx' failed >> > >Unfortunately, I'm unable to reproduce this error. I have both fcitx5 >and libreoffice installed in the same profile (home environment). Maybe >you could try a `guix pull` followed by either `guix package -u` or >`guix home reconfigure`. I have tried `guix pull` followed by reinstalling my guix system, guix home, and all of my guix manifests. Libreoffice still fails with the following error: (soffice:944): Gtk-WARNING **: 07:22:30.579: GModule (/gnu/store/0ws5jvbvbqick3wh7pf9fvwz3m6wnd5j-fcitx5-gtk-5.1.4-gtk3/lib/gtk-3.0/3.0.0/immodules/im-fcitx5.so) initialization check failed: GLib version too old (micro mismatch) (soffice:944): Gtk-WARNING **: 07:22:30.579: Loading IM context type 'fcitx' failed My value for $GUIX_GTK3_IM_MODULE_FILE is: /home/joseph/.guix-home/profile/lib/gtk-3.0/3.0.0/immodules-gtk3.cache: My value for $GUIX_GTK3_PATH is: /home/joseph/.guix-extra-profiles/base/base/lib/gtk-3.0:/run/current-system/profile/lib/gtk-3.0 My value for $GUIX_GTK4_PATH is: /home/joseph/.guix-home/profile/lib/gtk-4.0: Among those, only $GUIX_GTK4_PATH is being set manually by me in .xinitrc: export GUIX_GTK4_PATH="$HOME/.guix-home/profile/lib/gtk-4.0:" Please let me know if I can report any more detail to help solve this issue. Thank you!! >> I am also unable to activate fcitx in other programs such as Dino, which >> prints the following error: >> >> (dino:15719): Gtk-WARNING **: 12:12:22.928: No IM module matching >> GTK_IM_MODULE=fcitx found > >Luckily, I do know the answer to this one. Dino is a GTK4 program, so >you need `fcitx5-gtk4`. Also, the environment variable `GUIX_GTK4_PATH`, >where GTK4 looks for modules, is currently not set up automatically by >guix. You need to add the following: > >export GUIX_GTK4_PATH="$HOME/.guix-home/profile/lib/gtk-4.0:" > >Or the folder of the profile where you installed `fcitx5-gtk4` I did have fcitx5-gtk4 installed, but I was missing the GUIX_GTK4_PATH env var. After adding that, fcitx5 works perfectly in Dino. Thank you!! Is this variable documented anywhere? I checked the Guix manual but didn't find it. >Hope this helps. Very helpful! Thank you both, Joseph
