From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id mOMsL3NRkWBCDAEAgWs5BA (envelope-from ) for ; Tue, 04 May 2021 15:51:47 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id QOrrKnNRkWAcGAAA1q6Kng (envelope-from ) for ; Tue, 04 May 2021 13:51:47 +0000 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 660A0132A8 for ; Tue, 4 May 2021 15:51:47 +0200 (CEST) Received: from localhost ([::1]:51456 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ldvSk-00089d-Hm for larch@yhetil.org; Tue, 04 May 2021 09:51:46 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:48608) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ldvS2-0007je-5n for guix-patches@gnu.org; Tue, 04 May 2021 09:51:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:41802) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ldvS1-00042P-US for guix-patches@gnu.org; Tue, 04 May 2021 09:51:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ldvS1-0007zM-TD for guix-patches@gnu.org; Tue, 04 May 2021 09:51:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#44354] [PATCH] gnu: gnome-deskop-service-type: Set GUIX_GTK*_IM_MODULE_FILE. Resent-From: Ricardo Wurmus Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 04 May 2021 13:51:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 44354 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Leo Prikler Cc: 44354@debbugs.gnu.org Received: via spool by 44354-submit@debbugs.gnu.org id=B44354.162013622530699 (code B ref 44354); Tue, 04 May 2021 13:51:01 +0000 Received: (at 44354) by debbugs.gnu.org; 4 May 2021 13:50:25 +0000 Received: from localhost ([127.0.0.1]:53345 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ldvRQ-0007z5-VZ for submit@debbugs.gnu.org; Tue, 04 May 2021 09:50:25 -0400 Received: from sender4-of-o51.zoho.com ([136.143.188.51]:21132) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ldvRM-0007yz-Eu for 44354@debbugs.gnu.org; Tue, 04 May 2021 09:50:23 -0400 ARC-Seal: i=1; a=rsa-sha256; t=1620136215; cv=none; d=zohomail.com; s=zohoarc; b=XGBghiZovwClQu2X1HSxN0aAgMedPnZMDmwxjE+ytuwhBYKn0E5goWKM4Fu0XewcYDud9lAkDpP3G4HA3u4TlvtuI9XoyA0e5+IsWIRO8pdOtReFwN7PBaagd2k8E4qAueO2Bevg5lRcW0KEu05w6HuLSod0qCIIx46WM5Zdho0= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1620136215; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=sO1/9YCU8Ym4ZIHwTIau8/a6CY2ywwQE9Cjo5yaBI44=; b=gv/zPx4428dQl06yvMBjonwIYmo/9GjXJjK/OIykQeshQffnFsXGyrKTaFHVJC5z9hwQKGtggDGSoojjrRZU4iPPAi8aKn/u9DDEH0ChrU93PKjLV0sgOpC3WA+/fqMvXjg8QlzMl+Fd0fvmpIzN1KJOxWLfLBTK84znKUfUedc= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass header.i=elephly.net; spf=pass smtp.mailfrom=rekado@elephly.net; dmarc=pass header.from= header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1620136215; s=zoho; d=elephly.net; i=rekado@elephly.net; h=References:From:To:Cc:Subject:In-reply-to:Date:Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding; bh=sO1/9YCU8Ym4ZIHwTIau8/a6CY2ywwQE9Cjo5yaBI44=; b=GIn1mQcbF/UDFQzO+YS0nsJBTsTUTzdZbguzz5FUq9b3ipa5+G4CDQo9CyPdM/wS gH0ZLlY3JmizYsxd4rO3eOvNbIx3bay3Hws8bjltXFN4IOi+5k2pQ1MYOzcV7VB3l2g a/0QZE2hryjR0s7EIhbHqw7igprGQOJK6nC85h8o= Received: from localhost (p54ad4e9e.dip0.t-ipconnect.de [84.173.78.158]) by mx.zohomail.com with SMTPS id 1620136209913924.6829578331776; Tue, 4 May 2021 06:50:09 -0700 (PDT) References: <875yzzszyu.fsf@elephly.net> <3497ef1623c1a88c8fb9f09c068a078ba857e25f.camel@student.tugraz.at> <8735v2u8f3.fsf@elephly.net> <3149f088b6e5c7d13b8f10616d7828cedc90ecba.camel@student.tugraz.at> User-agent: mu4e 1.4.15; emacs 27.2 From: Ricardo Wurmus In-reply-to: <3149f088b6e5c7d13b8f10616d7828cedc90ecba.camel@student.tugraz.at> X-URL: https://elephly.net X-PGP-Key: https://elephly.net/rekado.pubkey X-PGP-Fingerprint: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC Date: Tue, 04 May 2021 15:50:06 +0200 Message-ID: <87r1imsj5d.fsf@elephly.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable X-ZohoMailClient: External X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1620136307; 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: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=sO1/9YCU8Ym4ZIHwTIau8/a6CY2ywwQE9Cjo5yaBI44=; b=Q5TqU++SgfSiTp2p4ZCbkmllzvG/Fb/RUdZbIw22cGhdlKCeLHKP4INVzvf9qKclc4yidj nSSVBRw4sgkfRUwGxXcZpxasA736tTC5PVgJLryZGDKuLeYtRSZB7HMGFcHcoSjXB5bIqm Rf0RdBqiiVcHSXM09nVdCrv3UAXEx9uSFqWTgHHQipt47KhlHwa2jModgGFO7uMc/JtWMR tXtj4iOlcht9hIgTOjy1jOZjM7sgqIjO6xPIoAb7AXofVtHOW6fJU+5jY8za6NcnA/eYpy /2vl99DWYpPF72cS5xCb4CE/NY3PgEUnImiDk/RYTBb0NWpNzy93mILuzzBVjg== ARC-Seal: i=2; s=key1; d=yhetil.org; t=1620136307; a=rsa-sha256; cv=fail; b=TU8rXaK7YOf9su254dAMcK33F8tNkb/PBlutn0Sd7BZYPkqWbVpf3+CsE4ZNlboBZOr635 VdQOUvoHuezfcGl96cWXEgmSe63jOvuOqmTn7XLFLc71XFfIPfB4bQue4XLKKJSSUcolbz qtxMx5GUsum3BmeaPTR8kCoz2/8XI5x9Q/ZV+K2KL5ZIbU7rCWb05BjXpyyYc/BdBUET40 /BqHLgEdTdrNAHXqvsdEjVhVquru9FLB95GdrvkW0sjc52coRiuG6pqcrF2TaCobPm/j+G A24gkmTfw67yWi150TGHy3wEldiH0HfLeMoPSAvk+by+MsglrUOSjxKMklkeJg== ARC-Authentication-Results: i=2; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=elephly.net header.s=zoho header.b=GIn1mQcb; arc=reject ("signature check failed: fail, {[1] = sig:zohomail.com:reject}"); dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: 0.54 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=elephly.net header.s=zoho header.b=GIn1mQcb; arc=reject ("signature check failed: fail, {[1] = sig:zohomail.com:reject}"); dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: 660A0132A8 X-Spam-Score: 0.54 X-Migadu-Scanner: scn0.migadu.com X-TUID: 4gDfStYRi8yT Leo Prikler writes: >> > > I don=E2=80=99t know if setting them is the correct thing to do for= =20 >> > > Gnome.=20 >> > > This patch would also only work for system-wide=20 >> > > installations=20 >> > > of=20 >> > > input methods. Input methods that have been installed in a=20 >> > > user=20 >> > > profile would not be part of the cache files. >> > I'm not sure we can expect things to "just work" with ibus in=20 >> > the user >> > profile. As far as I'm aware, we don't expect GDM to find=20 >> > the=20 >> > user's >> > custom gnome installation without some hacking on their part,=20 >> > so=20 >> > I >> > don't understand why we would expect GNOME to find ibus in a=20 >> > similar >> > setup. >>=20 >> Because it worked just like that before. >>=20 >> Ibus should be a user process with user configuration. This is=20 >> not inherently global, so only making it work with globally=20 >> installed input methods is a restriction that I think we should=20 >> aim to do without. > What is a "user process with user configuration" here? The way=20 > I > understand those words, is that > a. the process is launched under the user's account, and > b. the configuration for that process lies in the user's=20 > directory. > Certainly, those two hold for ibus. But they also hold for=20 > gnome, > which should not be inherently global either by the above=20 > argument.=20 > Yet managing gnome system-wide is significantly easier than=20 > managing it > per-user. =E2=80=9Ceasier=E2=80=9D is not the question here. We have always tried to= avoid=20 giving special importance to the system profile. It=E2=80=99s a matter of= =20 flexibility. Users on a shared system should have the option to=20 have their own set of input methods. Gnome uses dbus extensively, so it should be able to talk to the=20 user=E2=80=99s ibus daemon over dbus and offer available input methods=20 this way. Perhaps we can get rid of static IM_MODULE_FILEs and=20 the problem of monolithic cache files, etc. > Also note, that my patch would not bar you from setting > GUIX_GTK*_IM_MODULE_FILE to something else if you indeed have a=20 > local > ibus setup. I'd even go so far as to argue, that it doesn't=20 > make your > setup more difficult at all. All it does is make things easier=20 > for > those who want a global gnome+ibus setup. There may be a misunderstanding here: I don=E2=80=99t *have* a setup. As=20 it is, ibus(-libpinyin) does not work reliably with Gnome. My main point here is that I=E2=80=99d rather we take a step back to see=20 if all this GUIX_GTK* variable patching is still worth doing, and=20 whether there are better ways we could achieve a reliable=20 configuration of ibus =E2=80=94 no matter if that=E2=80=99s a global config= uration=20 or a per-user one. --=20 Ricardo