unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: Luis Felipe <luis.felipe.la@protonmail.com>
To: help guix <help-guix@gnu.org>
Subject: Ibus does not work with GTK 4 applications (?)
Date: Tue, 18 Oct 2022 20:46:31 +0000	[thread overview]
Message-ID: <7MNZHlmrYwXI9mYK4XLv2100SstmqI0IK2wBZCC4NyvODRcaJdPEqS6Q1d5belzxuKYmpZiZbhmbzBeKJl-8-otpVLvUmxvatLsxPmJ_E2c=@protonmail.com> (raw)


[-- Attachment #1.1: Type: text/plain, Size: 1418 bytes --]

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".

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?).
‾‾‾‾‾‾‾‾‾‾

---
Luis Felipe López Acevedo
https://luis-felipe.gitlab.io/

[-- Attachment #1.2: publickey - luis.felipe.la@protonmail.com - 0x12DE1598.asc --]
[-- Type: application/pgp-keys, Size: 1722 bytes --]

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 509 bytes --]

             reply	other threads:[~2022-10-18 20:58 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-10-18 20:46 Luis Felipe [this message]
2022-10-19  7:09 ` Ibus does not work with GTK 4 applications (?) Liliana Marie Prikler
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='7MNZHlmrYwXI9mYK4XLv2100SstmqI0IK2wBZCC4NyvODRcaJdPEqS6Q1d5belzxuKYmpZiZbhmbzBeKJl-8-otpVLvUmxvatLsxPmJ_E2c=@protonmail.com' \
    --to=luis.felipe.la@protonmail.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).