From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id eM7rGG0ikWDYrwAAgWs5BA (envelope-from ) for ; Tue, 04 May 2021 12:31:09 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id aDWZFG0ikWAyEwAA1q6Kng (envelope-from ) for ; Tue, 04 May 2021 10:31:09 +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 7443EF949 for ; Tue, 4 May 2021 12:31:08 +0200 (CEST) Received: from localhost ([::1]:60090 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ldsKZ-0002qw-LF for larch@yhetil.org; Tue, 04 May 2021 06:31:07 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:57108) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lds5y-0002U1-3N for guix-patches@gnu.org; Tue, 04 May 2021 06:16:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:40761) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lds5x-0001zs-NN for guix-patches@gnu.org; Tue, 04 May 2021 06:16:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lds5x-0005c8-Im for guix-patches@gnu.org; Tue, 04 May 2021 06:16: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: Leo Prikler Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 04 May 2021 10:16: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: Ricardo Wurmus Cc: 44354@debbugs.gnu.org Received: via spool by 44354-submit@debbugs.gnu.org id=B44354.162012332621574 (code B ref 44354); Tue, 04 May 2021 10:16:01 +0000 Received: (at 44354) by debbugs.gnu.org; 4 May 2021 10:15:26 +0000 Received: from localhost ([127.0.0.1]:52306 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lds5O-0005bu-5H for submit@debbugs.gnu.org; Tue, 04 May 2021 06:15:26 -0400 Received: from mailrelay.tugraz.at ([129.27.2.202]:23339) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lds5I-0005bf-O8 for 44354@debbugs.gnu.org; Tue, 04 May 2021 06:15:25 -0400 Received: from nijino.local (91-114-247-246.adsl.highway.telekom.at [91.114.247.246]) by mailrelay.tugraz.at (Postfix) with ESMTPSA id 4FZG1c755Vz3x6V; Tue, 4 May 2021 12:15:16 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tugraz.at; s=mailrelay; t=1620123317; bh=GDIAgDvHlTn5zRxs9QLn3ss1Rxw1XMNhd2prqZRhE9Q=; h=Subject:From:To:Cc:Date:In-Reply-To:References; b=IDq0iaoZnC8pIU8jrD7JGvmNEis28uQuerTBkXlT9tdCy2vghmiwUFrl6YlHDxYJY PsrZGHdMTAsIH9FnGxiEWNWXcScfexcpmYhEFSbj6wYfVFz/ZciAMe/SUZoiCeS9HU DY9QxUlgewl6LGGWvPQAA/DUTN/ZVSTVKGxqKcrE= Message-ID: <3149f088b6e5c7d13b8f10616d7828cedc90ecba.camel@student.tugraz.at> From: Leo Prikler Date: Tue, 04 May 2021 12:15:16 +0200 In-Reply-To: <8735v2u8f3.fsf@elephly.net> References: <875yzzszyu.fsf@elephly.net> <3497ef1623c1a88c8fb9f09c068a078ba857e25f.camel@student.tugraz.at> <8735v2u8f3.fsf@elephly.net> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.34.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-TUG-Backscatter-control: bt4lQm5Tva3SBgCuw0EnZw X-Spam-Scanner: SpamAssassin 3.003001 X-Spam-Score-relay: -1.9 X-Scanned-By: MIMEDefang 2.74 on 129.27.10.117 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=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1620124268; 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=GDIAgDvHlTn5zRxs9QLn3ss1Rxw1XMNhd2prqZRhE9Q=; b=upNz9S9cjSurMGWMGLUitNLavI2gD8n/q1V3ib8uDG23vm0sp0oL5AqwXEPSWS2rdhV5M4 7KYSWU0TfXMspL88DQ7kAAYC0emGj+rHu5BtOc7dlYWzUtS3Qwieam79VT4faTL84equYn j97H0DHuXK5mCylPPSqnm4BxIiKkdaoTe8d07FU463p5w1jzBgrp3YZ6OHCm3FNFNGfhCZ tZqFbvOlXoiT4i2cj6xaxDQxxkGUikFeBuT5FxpXNUJzS2YI8xRN11d8IMyumHbkBPw/91 /hlNqjSZiySJyzxl66b19UnWmebGJpj6BHCywb2CyXvNLDx0FNUWly9y0jCYWA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1620124268; a=rsa-sha256; cv=none; b=llw3fg03TBYF+9JxFivpprDEeMFQNGbShgy1wiRIokOpfCMmj1K94SsJNYeM9tAA3WhWiv DP1EM7YFWBd91SwPWh8j7MY25Kh6g47NoKTRDocYh9Co/k1wICXGcIiGl555Fm144mD46a ukjSerNyYxzB183pvNZNXheqtIh5xY9Z3fNe5RDivJta9uizHv3jUGMioI1fGabUB5FCFp FZrt+SBGDQ0+mj4fwbJ8fGTeqRm68G8u0V79ByTvb5/TQZXKucsfiUwO5rYjyFfsp3h1JT R0EG7WWHtzKpFvso/o6kbsU6tuESOc3+WCLzU4kejv2/vmO07THe6mjd2AHmaw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=tugraz.at header.s=mailrelay header.b=IDq0iaoZ; 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: -1.36 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=tugraz.at header.s=mailrelay header.b=IDq0iaoZ; dmarc=fail reason="SPF not aligned (relaxed)" header.from=student.tugraz.at (policy=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: 7443EF949 X-Spam-Score: -1.36 X-Migadu-Scanner: scn0.migadu.com X-TUID: O8Qntg8kLm0z Am Dienstag, den 04.05.2021, 11:58 +0200 schrieb Ricardo Wurmus: > Leo Prikler writes: > > > Hi, > > > > Am Dienstag, den 04.05.2021, 09:46 +0200 schrieb Ricardo Wurmus: > > > Hi Leo, > > > > > > I haven’t been able to get ibus-libpinyin to work even when > > > these > > > variables are set. I know that these variables used to work > > > once. > > "Used to work" in what sense? Did ibus-libpinyin work for you > > or > > someone else with these variables set and now it's no longer > > working? > > Yes. > > IIRC I patched GTK back in the day to respect these extra > variables. I did that because that made things work. This > predates at least two upgrades to Gnome and the decision on > Gnome’s part to “integrate” ibus more tightly; I don’t know > exactly when things broke because all I know is that when I > returned to Guix after a months-long hiatus things no longer > worked. I think the reason why this might not work if you're putting things into ~/.guix-profile is because that IM_MODULE_FILE is incomplete. Compare its contents against the one where everything is built into the system, there will be huge differences. > > > I don’t know if setting them is the correct thing to do for > > > Gnome. > > > This patch would also only work for system-wide installations > > > of > > > input methods. Input methods that have been installed in a > > > user > > > profile would not be part of the cache files. > > I'm not sure we can expect things to "just work" with ibus in > > the user > > profile. As far as I'm aware, we don't expect GDM to find the > > user's > > custom gnome installation without some hacking on their part, so > > I > > don't understand why we would expect GNOME to find ibus in a > > similar > > setup. > > Because it worked just like that before. > > Ibus should be a user process with user configuration. This is > not inherently global, so only making it work with globally > installed input methods is a restriction that I think we should > aim to do without. What is a "user process with user configuration" here? The way 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 directory. Certainly, those two hold for ibus. But they also hold for gnome, which should not be inherently global either by the above argument. Yet managing gnome system-wide is significantly easier than managing it per-user. Also note, that my patch would not bar you from setting GUIX_GTK*_IM_MODULE_FILE to something else if you indeed have a local ibus setup. I'd even go so far as to argue, that it doesn't make your setup more difficult at all. All it does is make things easier for those who want a global gnome+ibus setup. Regards, Leo