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

Hope this helps.

Regards,

Thomas

Reply via email to