October 13, 2025 at 6:51 AM, "Thomas Albers Raviola" <[email protected] 
mailto:[email protected]?to=%22Thomas%20Albers%20Raviola%22%20%3Cthomas%40thomaslabs.org%3E
 > wrote:


> 
> Hi Joseph,
> 
> > 
> > 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.
> > 
> I'm glad this helped. No, this is nowhere documented in the Guix manual
> and is a missing `native-search-path` of the fcitx5 package. When I have
> the time for it, I'll create a merge request with a fix.

Thank you!  I submitted this PR:

https://codeberg.org/guix/guix/pulls/3567

> > 
> > (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)
> > 
> This error apparently means that you are using fcitx5 compiled with a
> version of glib different from that of libreoffice (probably an older
> one), as also commented by 宋文武. The most probable cause is that you
> are combining programs from different profiles, one of them with older
> packages. Specially if I consider your comment:
> 
> > 
> > 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
> > 
> The IM module is inside your home profile, while the version of GTK that
> is probably being used is that from your 'base' extra profile.
> 
> I sugggest two possible solutions. Update all your profiles to the
> latest guix commit, not only you home profile. That means running `guix
> package -p <profile> -m <manifest>` or `guix package -p <profile> -u`
> for all your profiles. Alternatively install libreoffice and fcitx
> inside the same profile. I recommend the second option to avoid this
> error from happening again in the future.
> 
> Hope this solves your issue.

Yes, installing libreoffice in the same profile as my fcitx5 packages solved 
the issue.

Thank you!

Joseph

Reply via email to