From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id 2DhxN/08F2A3bQAA0tVLHw (envelope-from ) for ; Sun, 31 Jan 2021 23:27:57 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id OJkjM/08F2CbfQAAbx9fmQ (envelope-from ) for ; Sun, 31 Jan 2021 23:27:57 +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 400029403C8 for ; Sun, 31 Jan 2021 23:27:57 +0000 (UTC) Received: from localhost ([::1]:59382 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l6M8I-0002ev-U9 for larch@yhetil.org; Sun, 31 Jan 2021 18:27:54 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:33786) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l6M8A-0002en-UQ for help-guix@gnu.org; Sun, 31 Jan 2021 18:27:47 -0500 Received: from mout01.posteo.de ([185.67.36.65]:56291) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l6M88-0004Co-Ll for help-guix@gnu.org; Sun, 31 Jan 2021 18:27:46 -0500 Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id 1C76116005F for ; Mon, 1 Feb 2021 00:27:40 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1612135661; bh=njaYwM9NpVLNMGJbpgJjtFkYgYSoLI5ps+sGqHZcJVY=; h=From:To:Subject:Date:From; b=ijkqqWqBKBrvDjQXBn9J5x71LSMJJ2XQI3L/n3xyZEt8dMm6QwZeIKHJlDYh95MjM a6fzPc0pbvlaXmnA3w5+ccj16RCsEWWr0Sa7ktMWk5PpY3RN8R31blgUOpfNO9TzYH V3PurT9dM//Eg9HWuy/aBmSq2wexRr+uUD/6ZyJEIuYitfeImRfxQCMaX4xxeOSLDM XhO0h4jTrUrlNdV4TXmt64YsQHNl8dkAoPNHZKlgRCSXJG6tq0p4MOINda/0qR5pvG TFWuoyd83admrAB8xD1+JHcAHt9DmFAHN5pGDdNTD3rGhJ+RtaEy+nByHzEbS+PIK2 lZm1CwL169Gfw== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4DTS0r1XmXz9rxH; Mon, 1 Feb 2021 00:27:40 +0100 (CET) From: Fredrik Salomonsson To: Julien Lepiller , help-guix@gnu.org, help-guix Subject: Re: Yet another locale question on a foreign distro In-Reply-To: References: <87h7mxljwx.fsf@posteo.net> Date: Sun, 31 Jan 2021 15:27:31 -0800 Message-ID: <87h7mwptzw.fsf@posteo.net> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=185.67.36.65; envelope-from=plattfot@posteo.net; helo=mout01.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 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_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H4=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.23 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-Spam-Score: -3.06 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=ijkqqWqB; dmarc=pass (policy=none) header.from=posteo.net; spf=pass (aspmx1.migadu.com: domain of help-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=help-guix-bounces@gnu.org X-Migadu-Queue-Id: 400029403C8 X-Spam-Score: -3.06 X-Migadu-Scanner: scn1.migadu.com X-TUID: YUZp5+6iSJfo Hi Julien, Julien Lepiller writes: > Does gpg-agent change the locale of the system somehow? What's the locale it launches the pinentry with? Kind of, it request the pinentry program to at least set LC_CTYPE and LC_MESSAGES to the requested locale. Currently my pinentry-rofi ignore these requests. I implemented them in case that was the issue, but still the same issue. It was requesting to set en_US.UTF-8, e.g. my default locale. > Does it exist in $GUIX_LOCPATH? It does, however you gave me a point in the right direction. The issue was that the systemd gpg-agent.service unit that launches gpg-agent, does not set $GUIX_LOCPATH. Which was why rofi failed to set the locale. To fix it all I needed to do was to append that to the service file. I.e run. systemctl --user edit gpg-agent.service and add: [Service] Environment=GUIX_LOCPATH=%h/.guix-profile/lib/locale Thanks for the help! -- s/Fred[re]+i[ck]+/Fredrik/g