From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id MFMFDhp+XWfCwwAAe85BDQ:P1 (envelope-from ) for ; Sat, 14 Dec 2024 12:46:18 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id MFMFDhp+XWfCwwAAe85BDQ (envelope-from ) for ; Sat, 14 Dec 2024 13:46:18 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=wolfsden.cz header.s=mail header.b=j11OLYBC; dkim=pass header.d=wolfsden.cz header.s=mail header.b=H8dl7JR7; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=wolfsden.cz ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1734180378; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=12Hlxpte0ja/0KY4z96bpNUOtdEGEzjB3qy8+Qudy50=; b=YRBI+bhApFv1p9p/qPTXYt3n20FS7MbI/uC7efMtI+Tq0Hstfl62Wd7+TrRoKcvLMEJfvV rct65XHPBa7KighB6YDdTN/faAAcoMw+KIdHrYLDjlKstOi+kRvb9I6toT+eMvrGv8drnT oMVMHtH9iQWbDW3egaelyRNx7o7eusu6fH+SHHy37MGy4Yo+gHkVMxPKp4/P5w/jJdTeGn PMNpvdwWDzkwYr0NajnDcuLhbGNvqz8QewRzGxBeUxeLglzsMkYdIqDnSCBtRYC/2dYoVa foHcXrrWHXTQchehTFTrxUsJApu9ObHudtsEjaPqhyrUH4t4L3YsGp7TlENSlQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1734180378; a=rsa-sha256; cv=none; b=ceQ46bYVN9tvFhKTL4q2RRnEHwJSddDmSGZagFxb9mknaWFLN75a2EEEIU4wcp8zDn9gpK NTEGKyyf/kgD6DAWO/M+/nkWYcSif3TN7Ay164OhyusBgu6YFMukxi6AGbbVZaKP6TeNIY ZVS1P/8S77ym07SPeQ9pSD6bNQRunGIiiVL2vbw5FYGiUBGzCzzmlxhX40ct0xEIpxVs46 M2STbZqJ/Rkt1ZXsqXWeamypEJl7BtkNLjD4fvVI3Jl7TNvACeaRmQhz2y9EdH4UMewKgH PUVM1Mwtn4f4yGiiwgnx8KpIm4tAywdcEGeaqsZaHF/LEDs+YxGx1LFq1Eu63w== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=wolfsden.cz header.s=mail header.b=j11OLYBC; dkim=pass header.d=wolfsden.cz header.s=mail header.b=H8dl7JR7; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=wolfsden.cz 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 B3E2F8F18C for ; Sat, 14 Dec 2024 13:46:16 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tMRWc-0000YE-UN; Sat, 14 Dec 2024 07:45:39 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <~@wolfsden.cz>) id 1tMRWP-0000X3-M4 for guix-devel@gnu.org; Sat, 14 Dec 2024 07:45:26 -0500 Received: from wolfsden.cz ([37.205.8.62]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <~@wolfsden.cz>) id 1tMRWN-0001oN-Fn for guix-devel@gnu.org; Sat, 14 Dec 2024 07:45:25 -0500 Received: by wolfsden.cz (Postfix, from userid 104) id 9F85236412C; Sat, 14 Dec 2024 12:45:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=wolfsden.cz; s=mail; t=1734180320; bh=btofCIC+HrJ7+2nXWf0L1vKYPEekms/mpNrfabRh2Lc=; h=From:To:Cc:Subject:In-Reply-To:References:Date; b=j11OLYBCNx6oXmNNZCjzWJPVPi2iq3Ke4X49OSmPBUIhqydh4oD7iYgpQ2WFjT9SU c0hmPH7MirbyollVF1F1tki8IpnRJ1Hn+dLZNLOHbcoQYJIdmj2lUV5uOSb+c6I3+q 5Tr18CZ2F3RZ9hDE8eTxmNQK6GsdFYPiu8Oq8g9reoZoJiotnaXNUYLeo99w2otW9E khmO6zISsxhStiYob/d3oYVTVor1p0BUk1EQt4RRt8geqgd7Sr6E9m4iahxse6Oyi5 Ir/5tgyl6igCKIJlNeAQa6CAOu482xd8NwzPHqpNkVjeDLfT8a+MQeMa7JHPFuL7QM CcGvwDQ94RbeeylgohmASUaffLX95R52ALCINRVCaWXUCO34yDfgM6z2eC+UQMXr9e C0LkC175a8Fmw7w4/8RHaO/YNIAV9xgyUgMIzzA5ppORUe6DGcrJwbJ2yWEDW5mc1v P8ZY+U8eEhirLcXltixVl1hX3j28VVqJbBrkEfJ1X2BQfpNHoy0wZLt+bjiEmAdSgp U3aYLqH4Jo6j7EmbpSqOmUUeNJVkk56DI9XhjhwFeLIYtasPwZU0ASP3XtQ450LRpq 65C96Jq8M4SxRmwfwrNnzrwB9+u0v7lQrK9c6DjJfkAwn++RSfpMZPCuH+q1rJbMx8 JXehQ16+6o5VEMgtc1VIHiJ4= Received: from localhost (unknown [128.0.188.242]) by wolfsden.cz (Postfix) with ESMTPSA id C930A36412B; Sat, 14 Dec 2024 12:45:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=wolfsden.cz; s=mail; t=1734180319; bh=btofCIC+HrJ7+2nXWf0L1vKYPEekms/mpNrfabRh2Lc=; h=From:To:Cc:Subject:In-Reply-To:References:Date; b=H8dl7JR72ZmeDnN2Mxvglz4n6dhplQMCICfnWySRehtxDyO4zzvRQLKl49O2WQQxw YATXBjY7nOqkRJGQ9aVnCKfFB+XRB5uAlzLcyg6T/j9Vgjr62axhfq1fXhhlvwmna6 y5aU+GctRFiWY0W29vfqzBsC2KEMDEIGegO6jJKKAJ1VwJBIiGh3NLmij973t0p/4/ gvpHl0B4ztkQ7EX0pFfxXTmVdF/6wyfZszVdh44iPeWrhbbY9FzBAYct/Nyp+PMGou /hkW5aJ4Pz+3Neh2CuSpSO0PnW+qFfUtFCxl6wQXrq/R9GKhCoZXQXRndm/XFlQefS AreGgUfXUcYhNwqOagbyzrWbo8uUu+uqvLsNnj4HxWgz1PZJ/5l0FszXe64efNr1by 80SUsI/kg6l1/dTqLQhJ8G1rHRG9zmjEcUCcNf6VP02Wgjk0jju61ybE55O9/A1MFG eemt/fWvkjBIRInnHaHkZpwOv4uomokkgKBnmAYA54vWWTfajCukMuOlH2ty8Rc/rP Zi2EEfem9BX4fEVws1G1+NbVpTIBGXRjYcg4TegT8CUdofTjQioSq0ZmfVUkv+H3mp G23NFKagrPiRJSKMsYPOQJWoE/eAcdFvMEcRv5fI+B9Seh8ACBJ96sDm6hyutYV/MW yBatiKct8SNKg+nTvi7qigeM= From: Tomas Volf <~@wolfsden.cz> To: Ricardo Wurmus Cc: guix-devel@gnu.org Subject: Re: No ibus modules for GTK4 with Sway In-Reply-To: <87cyhv5j93.fsf@elephly.net> (Ricardo Wurmus's message of "Fri, 13 Dec 2024 23:08:08 +0100") References: <87cyhv5j93.fsf@elephly.net> Mail-Followup-To: Ricardo Wurmus , guix-devel@gnu.org Date: Sat, 14 Dec 2024 13:45:18 +0100 Message-ID: <87a5cyl9gh.fsf@wolfsden.cz> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Received-SPF: pass client-ip=37.205.8.62; envelope-from=~@wolfsden.cz; helo=wolfsden.cz X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: guix-devel-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -11.15 X-Spam-Score: -11.15 X-Migadu-Queue-Id: B3E2F8F18C X-Migadu-Scanner: mx11.migadu.com X-TUID: fEZzkzrNMQqP --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Hi Ricardo, Ricardo Wurmus writes: > Hi Guix, > > I've reconfigured my system with Sway and I noticed that GTK4 > applications now ignore my input method. GTK3 applications and Emacs > still work fine. > > GTK4 applications used to work with IBus under Gnome, so I'm guessing > that some more configuration is required to make this work... Does > anyone have an idea what might be missing? > > FWIW, I find the configuration rather confusing. Our Cookbook doesn't > contain a working example for using Sway (which is surprising given its > popularity among Guix and Nix users), and whatever the reference manual > mentions when it comes to Sway appears to be unnecessary or overly > complicated (such as the configuration of greetd, which required the > removal of other services). > > I still haven't arrived at a comfortable system configuration (GDM still > starts up even though I've removed it from my configuration; only > elogind remains), but the input method problem with GTK4 applications is > the most pressing issue at this time. > > I'd be happy for any hints! I do not think I am using any GTK 4 applications (what would be some light example I could test?), but I wonder whether you need to set GTK_PATH (probably via GUIX_GTK4_PATH) to something to allow it to find the im modules. Would it be possible to check whether Gnome sets it? 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. However it looks like we *are* building the im module in ibus: =2D-8<---------------cut here---------------start------------->8--- $ ls $(guix build ibus | tail -n1)/lib/gtk-4.0/4.0.0/immodules libim-ibus.la libim-ibus.so =2D-8<---------------cut here---------------end--------------->8--- Hope this helps, Tomas =2D-=20 There are only two hard things in Computer Science: cache invalidation, naming things and off-by-one errors. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQJCBAEBCgAsFiEEt4NJs4wUfTYpiGikL7/ufbZ/wakFAmddfd4OHH5Ad29sZnNk ZW4uY3oACgkQL7/ufbZ/wamBFw/9GFL3eJQ+vzi0Uas7/hps/4fjAqSFuZ9Fyu3+ do/7Cqaq4LosyykP+62FKyEA67Se/CY15GlHd70OcZK+Z8PkBGRG9i8kp5FTG1zd F5jLlRoMfir8OHOJvFCAJF0vxMfIFO2htb2+XlLuJY7tpUyCPZ0mkLYxy7EVInZR hg8QMCuNayZO7sZbS5FTbi0/v793J/uz5TIJZ/ma8v7EtFKk+MB5uLaAtmesxic7 c6u87EkART6u8+33al0JGFKWF9nRMWAVQPy2VIURZAarQpxN4pcxKfPJUgSALpI/ F+G7pXsn27AIC4d4XRGnXBuM6m0Y5SjZHieAuxlFUerOh8P6iuTcEs86GXLClPv6 85bmjCSIJg+pkO2EFoLDfstwAO5MvoJvWp7bcjgrq6Q1uMlTs9/diUB10LKFaxnX Stb8j3e7HFRBapSboIIxr4yLYKyX33yo8d9lnQQnJVdqtRpEGg+OjEPHs63aaag0 Nu6wmgvpaSfef0IlCfHzSj3lThmlubXI9gIEkHsxN9OdNwPNvS5xdJZVolasSiMB SC+ENVcKoBVaXuWVgMgFfxucGrZvKnIdyM+haiRWt8MyrD13heWi0oMPfC556qFT 7su/Ne3v0How7HmlAs7BOicUTAHxYYKGaDx375xcUgEUvwhrfVcfUAbMFNkk4toA 8LeDX/s= =NPzu -----END PGP SIGNATURE----- --=-=-=--