all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Ricardo Wurmus <rekado@elephly.net>
To: guix-devel@gnu.org
Subject: Re: No ibus modules for GTK4 with Sway
Date: Sat, 14 Dec 2024 14:11:31 +0100	[thread overview]
Message-ID: <87r06a5rzw.fsf@elephly.net> (raw)
In-Reply-To: <87a5cyl9gh.fsf@wolfsden.cz> (Tomas Volf's message of "Sat, 14 Dec 2024 13:45:18 +0100")

Hi Tomas,

I had the other variables set, but not GUIX_GTK4_PATH.  I tried

   export GUIX_GTK4_PATH=/run/current-system/profile/lib/gtk-4.0/

This is an improvement, because now dino (my GTK4 test application)
accepts characters selected with ibus-libpinyin.  It's not really
usable, though, because the selection window is invisible (same on all
other applications in Sway) and selected characters are inserted twice.

> I see for GTK 2 and 3 we have GUIX_GTK2_IM_MODULE_FILE and
> GUIX_GTK3_IM_MODULE_FILE, there is none for GTK 4 though.  So maybe I am
> wrong and the auto-discovery should just work for 4.

The mechanism has changed.  For wayland there are different versions of
a protocol for input methods.  Currently, ibus only implements version
1, so this could be why it's not working properly in Sway.

I see that there's ongoing work on supporting version 2 of the wayland
protocol for input methods:

    https://github.com/fujiwarat/ibus/tree/wayland-v2/

I'll try building that.

-- 
Ricardo


      reply	other threads:[~2024-12-14 13:12 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-12-13 22:08 No ibus modules for GTK4 with Sway Ricardo Wurmus
2024-12-14 12:45 ` Tomas Volf
2024-12-14 13:11   ` Ricardo Wurmus [this message]

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=87r06a5rzw.fsf@elephly.net \
    --to=rekado@elephly.net \
    --cc=guix-devel@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.
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.