From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id kMdfJTqjT2Pw6AAAbAwnHQ (envelope-from ) for ; Wed, 19 Oct 2022 09:11:54 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id SItrJTqjT2OCTwAAauVa8A (envelope-from ) for ; Wed, 19 Oct 2022 09:11:54 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 461EB3A376 for ; Wed, 19 Oct 2022 09:11:54 +0200 (CEST) Received: from localhost ([::1]:55426 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ol3F2-0006np-JW for larch@yhetil.org; Wed, 19 Oct 2022 03:11:52 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:54056) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ol3DS-0006lH-QB for help-guix@gnu.org; Wed, 19 Oct 2022 03:10:15 -0400 Received: from mailrelay.tugraz.at ([129.27.2.202]:52566) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ol3DN-0006F3-Ac for help-guix@gnu.org; Wed, 19 Oct 2022 03:10:14 -0400 Received: from lprikler-laptop.ist.intra (gw.ist.tugraz.at [129.27.202.101]) by mailrelay.tugraz.at (Postfix) with ESMTPSA id 4Mshgj5cgFz1LWp5; Wed, 19 Oct 2022 09:09:53 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 mailrelay.tugraz.at 4Mshgj5cgFz1LWp5 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tugraz.at; s=mailrelay; t=1666163393; bh=sGHL0yK+Kx6RwZqXYOL4GeG165g+a9rpztfNBuDqexw=; h=Subject:From:To:Date:In-Reply-To:References:From; b=cwlK9o9kFmHKDdEhuO4qOWCPWpZGh67R60TvpvNr5Goh02GIxJ4MKrKMEdIb9Ay+W 87WAKvD3Ybq8HbErTjseDLx6tRyD2T895JhQHAUAdu/PiVl2n1XLMjtijzrktTSFwn 2v/Z2qPbmoYR+EwSs7GSy0/gl+P+NQ5ITxNmKF4k= Message-ID: Subject: Re: Ibus does not work with GTK 4 applications (?) From: Liliana Marie Prikler To: Luis Felipe , help guix Date: Wed, 19 Oct 2022 09:09:52 +0200 In-Reply-To: <7MNZHlmrYwXI9mYK4XLv2100SstmqI0IK2wBZCC4NyvODRcaJdPEqS6Q1d5belzxuKYmpZiZbhmbzBeKJl-8-otpVLvUmxvatLsxPmJ_E2c=@protonmail.com> References: <7MNZHlmrYwXI9mYK4XLv2100SstmqI0IK2wBZCC4NyvODRcaJdPEqS6Q1d5belzxuKYmpZiZbhmbzBeKJl-8-otpVLvUmxvatLsxPmJ_E2c=@protonmail.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.46.0 MIME-Version: 1.0 X-TUG-Backscatter-control: waObeELIUl4ypBWmcn/8wQ X-Scanned-By: MIMEDefang 2.74 on 129.27.10.116 Received-SPF: none client-ip=129.27.2.202; envelope-from=liliana.prikler@ist.tugraz.at; helo=mailrelay.tugraz.at X-Spam_score_int: -42 X-Spam_score: -4.3 X-Spam_bar: ---- X-Spam_report: (-4.3 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1666163514; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=sGHL0yK+Kx6RwZqXYOL4GeG165g+a9rpztfNBuDqexw=; b=Rd5tjCAc86+1cbA3EXdsjxWuE8kciwlh5yQafwgsICVoTx2t4lxtwsK8pc+wS82NEAUjb+ M1J3YcVR44PYK1UInzKJAPWRUUPn7NUYdABhZqdSUjeStpMNw6cxFR8woJgzut2RlsQPM9 S/gm+5Mtgk3+S/z4Du6ZJJ+X5ciSRaQCMOpL6r5tWJNOBf1/5InE0SUTw20lQQQ6zGAEQ9 helFI9qz63BwTlCdqOijLlFC5BKHoAYNwu9Pb9/vvyRTmmZ0S3aVuclIIwHojHYSA0FUDG e9+CiqiCTpm3Wtf7QuSw8aLjadTcIEs3IvFEXcqq0UjQFl/FNzKZ3OefUPGymA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1666163514; a=rsa-sha256; cv=none; b=PFie/wZ4ojS+dm1n+48iTK5MwgmMgKpOgQDqHs+z+MX0axRSrHEOJsanpH/odErrCUZSSr nm5gLerJYDAlk4wRq+xbRyNKct82amPGw0ygMRqvgPqnDVIapINBAlR888dVQmotySfZOY Cc1gQBy9ov7LdN9tqLh80YJLYylIX8q+3hhxVPx9mH7++Nx000hKmbwunFUgW4Wp1oeVYE EbMzarzHTTJKkMnUPLklYz7qXoNhplsibIcxtRM51ClLxO6R2DMIoFjmGXgbpoEnGCdnIo wmTX9JFNIaFfR7JsYWyiKOwxKk/pvSWxa32hiPQrHVD0rCfPLbyzrMo+qxfA8w== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=tugraz.at header.s=mailrelay header.b=cwlK9o9k; dmarc=pass (policy=none) header.from=tugraz.at; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -5.53 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=tugraz.at header.s=mailrelay header.b=cwlK9o9k; dmarc=pass (policy=none) header.from=tugraz.at; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 461EB3A376 X-Spam-Score: -5.53 X-Migadu-Scanner: scn0.migadu.com X-TUID: DZuy31rCYu07 Hi Luis, Am Dienstag, dem 18.10.2022 um 20:46 +0000 schrieb Luis Felipe: > Hi, >=20 > 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=C2=B9 in the GTK+ 3 > GUI. >=20 > 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): >=20 > =C2=A0 export GUIX_GTK2_IM_MODULE_FILE=3D"$HOME/.guix-profile/lib/gtk- > 2.0/2.10.0/immodules-gtk2.cache" > =C2=A0 export GUIX_GTK3_IM_MODULE_FILE=3D"$HOME/.guix-profile/lib/gtk- > 3.0/3.0.0/immodules-gtk3.cache" >=20 > 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.=20 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. >=20 > 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?). > =E2=80=BE=E2=80=BE=E2=80=BE=E2=80=BE=E2=80=BE=E2=80=BE=E2=80=BE=E2=80=BE= =E2=80=BE=E2=80=BE 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. =E3=81=9D=E3=82=8C=E3=81=A7=E6=97=A5=E6=9C=AC=E8=AA=9E=E3=82=92=E6=9B=B8=E3= =81=8D=E3=81=A7=E3=81=8D=E3=82=8B=E3=80=82 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=3Da96ebe47b0686b5dd7eb= e5fc133073abce559f4d