Hello again, El 22/04/24 a las 12:59, Luis Felipe escribió: > Hi Felix, > > El 22/04/24 a las 0:47, Felix Lechner via escribió: >> Hi Tomas, >> >> On Mon, Nov 06 2023, Tomas Volf wrote: >> >>> Not sure about pinyin, but for ibus I need to set >>> >>>      (simple-service >>>       'im-env-vars home-environment-variables-service-type >>>       '(("GTK_IM_MODULE" . "ibus") >>>        ("QT_IM_MODULE" . "ibus") >>>        ("XMODIFIERS" . "@im=ibus") >>>         ;; TODO: Are these still required?  If yes, try to get rid >>> of them. >>>        ("GUIX_GTK2_IM_MODULE_FILE" >>>          . >>> "$HOME/.guix-home/profile/lib/gtk-2.0/2.10.0/immodules-gtk2.cache") >>>        ("GUIX_GTK3_IM_MODULE_FILE" >>>          . >>> "$HOME/.guix-home/profile/lib/gtk-3.0/3.0.0/immodules-gtk3.cache"))) >> That works locally under EXWM, but have been unable to get ibus working >> under GNOME.  Would someone please post a complete recipe, including >> what to install in which profile, and whether to start GNOME in X or >> Wayland? > > I use GNOME in X. In my system configuration I have this package: > >   #| NOTE: I'd like to have ibus available to all users by default, > >   but last time I checked, this didn't work as expected and I still >   had to install it in user profiles. |# >   (specification->package "ibus") > > In the manifest for my user profile I have these packages: > >   "ibus" >   "ibus-anthy" >   "ibus-libhangul" >   "ibus-libpinyin" >   "ibus-speech-to-text" > > In my ~/.profile file I export these variables: > >   # GUIX RELATED VARIABLES TO WORK AROUND BUG #35610 >   # https://issues.guix.gnu.org/issue/35610 >   # export > GUIX_GTK2_IM_MODULE_FILE="$HOME/.guix-profile/lib/gtk-2.0/2.10.0/immodules-gtk2.cache" >   export > GUIX_GTK3_IM_MODULE_FILE="$HOME/.guix-profile/lib/gtk-3.0/3.0.0/immodules-gtk3.cache" >   # These are needed only to work on Qt apps like TeXmacs. >   export XMODIFIERS="@im=ibus"  # Set X input method server (xim) to > ibus. >   export QT_IM_MODULE="ibus"    # Set Qt input method module to ibus. > > Finally, every time I start a GNOME desktop session, I have to run the > following: > >   ibus-daemon -drx > > I input Japanese reliably using this. I don't use the other input > methods often, but they work, as far as I can see. > > Hope that helps, Just to add that I upgraded my system to guix e2ba933 today, started the new GNOME 44.10 (Wayland) and I still can use ibus input methods normally with those same settings.