unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: Squirrel <1953494819@qq.com>
To: help-guix@gnu.org
Subject: Important environment variables for using input method on Guix
Date: Sat, 29 Jan 2022 18:00:41 +0800	[thread overview]
Message-ID: <tencent_88840A860A1990EB7BC12FF21D4A82F33D06@qq.com> (raw)

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/





                 reply	other threads:[~2022-01-29 11:31 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=tencent_88840A860A1990EB7BC12FF21D4A82F33D06@qq.com \
    --to=1953494819@qq.com \
    --cc=help-guix@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).