From: Luis Felipe <sirgazil@zoho.com>
To: Ricardo Wurmus <rekado@elephly.net>, help-guix@gnu.org
Subject: Re: ibus + ibus-libpinyin in Gnome
Date: Wed, 19 Jul 2023 12:42:44 +0000 [thread overview]
Message-ID: <7a578b15-3ef9-ad4e-f6e1-1a019bbf7dfd@zoho.com> (raw)
In-Reply-To: <877cqwex32.fsf@elephly.net>
[-- Attachment #1.1.1: Type: text/plain, Size: 2523 bytes --]
Hi Ricardo,
El 18/07/23 a las 21:14, Ricardo Wurmus escribió:
> Hi Guix,
>
> I’m still struggling with ibus + ibus-libpinyin on Gnome.
> ibus-libpinyin works in the gnome-shell input field, but the input
> method doesn’t work in any of the applications such as icecat, console,
> or soffice.
Surprisingly, it works for me (I haven't been able to type Japanese for
months). I tried in icecat and console.
> The GTK_IM_MODULE environment variable is set to “ibus”. I export it in
> the shell and launch “soffice” or “icecat” from there.
Hmm, I don't have GTK_IM_MODULE set in my ~/.profile (don't remember why
I removed it...). I have these:
# 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.
> ibus and ibus-libpinyin are installed in the system profile as well as
> the user profile. I previously had installed them only in the user
> profile, but then added them to the system profile because I want to be
> sure that any required environment variables are set in all contexts,
> even when launching applications from the Gnome shell.
I install ibus engines in my profile. I tried installing them in the
system profile, and that never worked for me. But I haven't tried recently.
> Do you have any ideas how to best debug this? I could strace the
> applications and see if any of them mention a failure to talk to ibus,
> but I’d like to avoid having to sift through all that noisy trace output
> for massive GTK applications.
For what it's worth, I was suggested to run the engine directly when I
was having trouble with ibus-stt
(https://github.com/PhilippeRo/IBus-Speech-To-Text/discussions/7). So maybe
/gnu/store/1s0p8fk1bgp0v2gv5dgjgpq1v4p3nwji-ibus-libpinyin-1.15.2/libexec/ibus-engine-libpinyin
--gapplication-replace -g
That helped me fix some ibus-stt errors. (And actually, I see an error
when running the ibus-anthy engine, which might be why I can't even find
the engine listed in input options).
Good luck,
--
Luis Felipe López Acevedo
https://luis-felipe.gitlab.io/
[-- Attachment #1.1.2: OpenPGP public key --]
[-- Type: application/pgp-keys, Size: 2881 bytes --]
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 495 bytes --]
next prev parent reply other threads:[~2023-07-19 12:44 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-07-18 21:14 ibus + ibus-libpinyin in Gnome Ricardo Wurmus
2023-07-19 12:42 ` Luis Felipe [this message]
2023-07-19 21:45 ` Ricardo Wurmus
2023-07-20 16:34 ` Luis Felipe
2023-08-03 4:16 ` Maxim Cournoyer
2023-08-03 14:06 ` Ricardo Wurmus
2023-08-03 16:08 ` Maxim Cournoyer
2023-08-03 16:09 ` Maxim Cournoyer
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=7a578b15-3ef9-ad4e-f6e1-1a019bbf7dfd@zoho.com \
--to=sirgazil@zoho.com \
--cc=help-guix@gnu.org \
--cc=rekado@elephly.net \
/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.
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.