From: Liliana Marie Prikler <liliana.prikler@ist.tugraz.at>
To: Luis Felipe <luis.felipe.la@protonmail.com>,
help guix <help-guix@gnu.org>
Subject: Re: Ibus does not work with GTK 4 applications (?)
Date: Wed, 19 Oct 2022 09:09:52 +0200 [thread overview]
Message-ID: <e8089633d2fadfcd6572aea5cc0053f343c736af.camel@ist.tugraz.at> (raw)
In-Reply-To: <7MNZHlmrYwXI9mYK4XLv2100SstmqI0IK2wBZCC4NyvODRcaJdPEqS6Q1d5belzxuKYmpZiZbhmbzBeKJl-8-otpVLvUmxvatLsxPmJ_E2c=@protonmail.com>
Hi Luis,
Am Dienstag, dem 18.10.2022 um 20:46 +0000 schrieb Luis Felipe:
> Hi,
>
> I stumbled upon this issue when migrating an application from GTK+ to
> GTK 4 on a Guix System (77e768a) with ibus set up. Input methods
> didn't work in the GTK 4 GUI while they worked fine¹ in the GTK+ 3
> GUI.
>
> Looking at my ~/.profile file, I see that I export some variables to
> work around the known ibus issue
> (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"
>
> The above is missing a corresponding variable for GTK4. But I
> couldn't figure it out because I can't find any a corresponding
> "immodules-gtk4".
You don't need a similar variable for GTK4. GTK4 has its own logic for
locating immodules, which works without Guix needing to patch it.
Note, that as of [1] ibus has GTK4 support, so on this side things
should be fine. However...
> I also checked GNOME applications that already migrated to GTK 4 or
> libadwaita, and couldn't use my input methods there either (e.g.
> gnome-music, gnome-calendar). Something to note about this
> applications is that they are pretty much unusable right now, but I
> don't know if that's related to the ibus thing.
>
> Anyone knows anything about this? I wonder if there is some setting
> missing in Guix System regarding GTK 4 for this to work...
> __________
> 1. I say ibus works fine in GTK+ apps, but not quite. Everytime I
> reboot, I have to "ibus-daemon -dr" to make it work (but that's
> another story, or is it?).
> ‾‾‾‾‾‾‾‾‾‾
IBus is one of these annoying packages that may cause stale caches on
the user's side. I recommend you rm -rf ~/.cache/ibus and then restart
it.
それで日本語を書きできる。
You should take this with a grain of salt however. It might still be
that you need to restart ibus or gnome-shell from time to time because
they lost sight of each other. I'm not sure how this relates to reboot
cycles, but it might be a clue.
Cheers
[1]
http://git.savannah.gnu.org/cgit/guix.git/commit/?id=a96ebe47b0686b5dd7ebe5fc133073abce559f4d
next prev parent reply other threads:[~2022-10-19 7:11 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-10-18 20:46 Ibus does not work with GTK 4 applications (?) Luis Felipe
2022-10-19 7:09 ` Liliana Marie Prikler [this message]
2022-10-19 16:50 ` Luis Felipe
2022-10-20 6:23 ` Liliana Marie Prikler
2022-10-20 20:20 ` Luis Felipe
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=e8089633d2fadfcd6572aea5cc0053f343c736af.camel@ist.tugraz.at \
--to=liliana.prikler@ist.tugraz.at \
--cc=help-guix@gnu.org \
--cc=luis.felipe.la@protonmail.com \
/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).