all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Important environment variables for using input method on Guix
@ 2022-01-29 10:00 Squirrel
  0 siblings, 0 replies; only message in thread
From: Squirrel @ 2022-01-29 10:00 UTC (permalink / raw)
  To: help-guix

Hi everyone,

I see that many users find it hard to use input methods like ibus and 
fcitx in X11 on Guix System. Even though the input method is running, no 
character suggestion panel is shown while typing.

In fact, except for GTK_IM_MODULE, QT_IM_MODULE and XMODIFIERS, the 
environment variables GUIX_GTK2_IM_MODULE_FILE and GUIX_GTK3_IM_MODULE 
also have to be set. For example, the following is in my '~/.myenv', 
which I "source" in '~/.xsession' (I use slim as desktop manager).

     export GTK_IM_MODULE="ibus"
     export QT_IM_MODULE="ibus"
     export XMODIFIERS="@im=ibus"
     export 
GUIX_GTK2_IM_MODULE_FILE=/run/current-system/profile/lib/gtk-2.0/2.10.0/immodules-gtk2.cache
     export 
GUIX_GTK3_IM_MODULE_FILE=/run/current-system/profile/lib/gtk-3.0/3.0.0/immodules-gtk3.cache

In wayland Gnome, it seems that ibus runs perfectly without special 
configurations.

Maybe someone can add the hints in Guix manual? I'm not familiar with 
development tools. :)

Many thanks to https://guix.org.cn/

Reference (in Chinese):

     1. https://guix.org.cn/wiki/input-method/

     2. https://guix.org.cn/wiki/guix-system-gnome-ibus/





^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-01-29 11:31 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-29 10:00 Important environment variables for using input method on Guix Squirrel

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.