From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id mGJMDrsj6WEQYgEAgWs5BA (envelope-from ) for ; Thu, 20 Jan 2022 09:56:27 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id ENAKC7sj6WGxcQAAauVa8A (envelope-from ) for ; Thu, 20 Jan 2022 09:56:27 +0100 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 8425726768 for ; Thu, 20 Jan 2022 09:56:26 +0100 (CET) Received: from localhost ([::1]:58630 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nATF3-0006h6-DG for larch@yhetil.org; Thu, 20 Jan 2022 03:56:25 -0500 Received: from eggs.gnu.org ([209.51.188.92]:55780) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nASfr-0002NO-79 for bug-guix@gnu.org; Thu, 20 Jan 2022 03:20:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:35057) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nASfq-0007f6-Qh for bug-guix@gnu.org; Thu, 20 Jan 2022 03:20:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nASfq-0005wp-LY for bug-guix@gnu.org; Thu, 20 Jan 2022 03:20:02 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#53379: Emacs cursor theme is not inherited from the OS when using foreign Guix Resent-From: Liliana Marie Prikler Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Thu, 20 Jan 2022 08:20:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 53379 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: John Hamelink , 53379@debbugs.gnu.org Received: via spool by 53379-submit@debbugs.gnu.org id=B53379.164266674622795 (code B ref 53379); Thu, 20 Jan 2022 08:20:02 +0000 Received: (at 53379) by debbugs.gnu.org; 20 Jan 2022 08:19:06 +0000 Received: from localhost ([127.0.0.1]:56193 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nASev-0005vV-Vs for submit@debbugs.gnu.org; Thu, 20 Jan 2022 03:19:06 -0500 Received: from mailrelay.tugraz.at ([129.27.2.202]:11663) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nASet-0005vG-AD; Thu, 20 Jan 2022 03:19:04 -0500 Received: from lprikler-laptop.ist.intra (gw.ist.tugraz.at [129.27.202.101]) by mailrelay.tugraz.at (Postfix) with ESMTPSA id 4Jfb4w2JD0z3wD1; Thu, 20 Jan 2022 09:18:56 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tugraz.at; s=mailrelay; t=1642666736; bh=vWxdYEEtyEFdZ+iuoposxLO7rY/120V9GVhha/yio0s=; h=Subject:From:To:Cc:Date:In-Reply-To:References; b=lyj1U6v5jI18Ks22iYbYWfqnChhykBvaJtvOU3EQ8wX2kcVjRSjk1gr+OI/ZfaMcq VRwI5mfKkbTTU4ZKJDy1yDvezWHk+hoJuhBmYRbKEZSYLFrbn66znfTuBkFgTBuLeh CeaDSW3rv4iz7q96+aA0anxVIM//t/IbXckt/mrc= Message-ID: <36cc0373db290039046a8235f68e7b62f487489b.camel@ist.tugraz.at> From: Liliana Marie Prikler Date: Thu, 20 Jan 2022 09:18:56 +0100 In-Reply-To: <87r193xnd6.fsf@johnhame.link> References: <87r193xnd6.fsf@johnhame.link> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.42.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-TUG-Backscatter-control: waObeELIUl4ypBWmcn/8wQ X-Scanned-By: MIMEDefang 2.74 on 129.27.10.116 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: 48300-done@debbugs.gnu.org Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-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=1642668987; 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=vWxdYEEtyEFdZ+iuoposxLO7rY/120V9GVhha/yio0s=; b=QOdqDwoLja2xaUnZVovFT6ZUKMeZBawr6PYXJEJUHVGFq5lDRzW3O+ePQqa2oS26XiYb6J 4M59vT2aOj08qB78Qo8bQBoIkOUcYcGQLpXmB6fBclU15M0m2UPnvK4odAYGjjRFZiuBLV cdiygSBTRSLuStQa3iEKtdSPFArj45zg3B42AuIjPTEs78KrQFwmkZVesTftOSp4GrLRlP 0eRCOuzH8mnY7UuIFQXFZQ/C8RIAWkpQuPn+bD1N40PZHoB1Q8wVtqglOnrJYtl+fVOORh Kr0aMaFjtieVqBCfthwKA4P8t8QioSDMK8cnGl5OPjh+GAqA/1V3Kxs4umCOlg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1642668987; a=rsa-sha256; cv=none; b=s/EIwoWC3Uoxdp+TYsDoMoSyfJ+YIItc0W+qjjxoeuO6J3+yu+NsbcG5pTTe3oL2s7omom S1kqyVs4617K7+BDD3D6xf+cRuo/aZ86u+hBsHqK/GES+J9XGQC6evmLYWmOpcTlDtXuzB Y0qjugNHOYRc9it1UJhnLMRQZTfsBMO9ECTQpq4nEo+DdlInHJCBKX7icli/2y1A5AHrrf 20HNSX+7faMv5SZqei4UcaO4tcJxLMC3h7c71SluDxDMSb4/rzuu3VVgpp4+YN5lALnzG6 mApYgxJLNCxnbraC3XBzBrIuTS7MQ39pzufgDqjuJd8pl9nwbe3EtD5PtfONVw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=tugraz.at header.s=mailrelay header.b=lyj1U6v5; dmarc=fail reason="SPF not aligned (relaxed)" header.from=tugraz.at (policy=none); spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -2.22 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=tugraz.at header.s=mailrelay header.b=lyj1U6v5; dmarc=fail reason="SPF not aligned (relaxed)" header.from=tugraz.at (policy=none); spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 8425726768 X-Spam-Score: -2.22 X-Migadu-Scanner: scn1.migadu.com X-TUID: or6/ELPFpSJM Hi Am Donnerstag, dem 20.01.2022 um 00:03 +0000 schrieb John Hamelink: > Hi there, > > I'm experiencing an issue with the emacs-next package on my Guix > foreign setup where the cursor (*not* Emacs point) is very dark. It's > perfectly legible against the default Emacs theme, but nonetheless it > is not respecting the settings of the rest of my system. To make > things worse, I'm currently using (and enjoying!) the modus-vivendi > theme. > > My host machine is running Arch GNU/Linux with a tiling window > manager. I set my cursor style using xsetroot like so: > > xsetroot -xcf /usr/share/icons/Adwaita/cursors/left_ptr 16 Corrected your xsetroot invocation there :P > I tried installing the adwaita-icon-theme, gnome-themes-standard, and > gnome-themes-extra packages in an attempt at installing the correct > theme, but that didn't help. > > I'm not entirely sure what the issue is, but after speaking with some > folks at #guix, it was suggested to me that this may in fact be a > bug. The other option discussed is that Guix needs its own cursor > settings, but I'm too early on in my journey with Guix (maybe 2 hours > of experience using the Guix binary) to know how set that up - if that > is indeed the case, some pointers on what to read would be very > warmly received! It turns out this issue is actually related to another issue of Guix' Emacs on foreign distros, which is it not finding timezones. Since I've found a permanent solution to both, I will close that bug and pat myself on the back for doing so. The main issue here is that foreign distros with systemd really cut down on their use of environment variables, whereas Guix (System) makes prominent use of them. In the case of the other bug, TZDIR was unset, in the case of yours it was XCURSOR_PATH. Writing an override configuration file with the following contents --8<---------------cut here---------------start------------->8--- # ~/.config/systemd/user/gnome-shell-x11.service.d/override.conf [Service] Environment=TZDIR='/usr/share/zoneinfo' Environment=XCURSOR_PATH='/usr/share/icons' --8<---------------cut here---------------end--------------->8--- fixed this for me, although I should specify that I previously only had TZDIR set and bound XCURSOR_PATH interactively in the shell (I am typing this just as I found the fix and haven't yet had the opportunity to restart my X session). Now one thing I don't quite get is the interaction with GNOME Shell. With my current setup as detailed above, Emacs inherits whichever cursor was set in GNOME at the time of launch for the entire process duration -- i.e. even if the corresponding GNOME setting changes.   I'm pretty sure in your setup with xsetroot there's nothing else setting the cursor, so it ought to be displayed correctly after that. If not, you might have to play around with cursor themes in other ways (refer to [1]). Cheers [1] https://wiki.archlinux.org/title/Cursor_themes