From unknown Mon Aug 18 15:41:17 2025 X-Loop: help-debbugs@gnu.org Subject: bug#30655: xset(1) not accepting symlink to font path Resent-From: Marco van Hulten Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Wed, 28 Feb 2018 21:55:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 30655 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 30655@debbugs.gnu.org X-Debbugs-Original-To: bug-guix@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.151985488928813 (code B ref -1); Wed, 28 Feb 2018 21:55:01 +0000 Received: (at submit) by debbugs.gnu.org; 28 Feb 2018 21:54:49 +0000 Received: from localhost ([127.0.0.1]:37975 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1er9gX-0007Uf-9d for submit@debbugs.gnu.org; Wed, 28 Feb 2018 16:54:49 -0500 Received: from eggs.gnu.org ([208.118.235.92]:49433) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1er9gV-0007UO-9P for submit@debbugs.gnu.org; Wed, 28 Feb 2018 16:54:47 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1er9gO-00032K-7o for submit@debbugs.gnu.org; Wed, 28 Feb 2018 16:54:41 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: *** X-Spam-Status: No, score=3.3 required=5.0 tests=BAYES_50, RECEIVED_FROM_WINDOWS_HOST autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:37597) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1er9gO-00031m-26 for submit@debbugs.gnu.org; Wed, 28 Feb 2018 16:54:40 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:40255) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1er9gL-00062P-M4 for bug-guix@gnu.org; Wed, 28 Feb 2018 16:54:39 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1er9gH-0002u4-J0 for bug-guix@gnu.org; Wed, 28 Feb 2018 16:54:37 -0500 Received: from eterpe-smout.broadpark.no ([80.202.8.16]:35713) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1er9gH-0002q6-8x for bug-guix@gnu.org; Wed, 28 Feb 2018 16:54:33 -0500 MIME-version: 1.0 Content-type: text/plain; charset=UTF-8 Received: from bgo1cloudm1.nextgentel.net ([80.202.8.58]) by eterpe-smout.broadpark.no (Oracle Communications Messaging Server 7u4-27.01(7.0.4.27.0) 64bit (built Aug 30 2012)) with ESMTP id <0P4V00JJ8RFVQED0@eterpe-smout.broadpark.no> for bug-guix@gnu.org; Wed, 28 Feb 2018 22:54:30 +0100 (CET) Received: from jasniac.instanton ([89.10.168.15]) by cmsmtp with SMTP id r9gDergkM7XUXr9gDerK7N; Wed, 28 Feb 2018 22:54:29 +0100 X-Original-Source-IP: 89.10.168.15 Date: Wed, 28 Feb 2018 22:54:29 +0100 From: Marco van Hulten Message-id: <20180228225429.09cd9fd8@jasniac.instanton> X-Mailer: Claws Mail 3.14.1 (GTK+ 2.24.25; x86_64-pc-linux-gnu) Content-transfer-encoding: quoted-printable X-CMAE-Envelope: MS4wfJLk2zLnzNibVWhwRw4CyRF6fSlo6CSxMtFUCWs0RYCXYq70L287V4csWYi72sL6crU2274O+kkEGbZBTzues0zqz2jNr41+bC0dlIsdp5ItIQDUrVhR Lj2PTNTHFLp/0UPm2MHvRZzZK4xDz1EGdUXo3yRiIqz0vFurG/ie2z/1 X-detected-operating-system: by eggs.gnu.org: Windows NT kernel [generic] [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -5.0 (-----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) Hello, When I follow the manual at https://www.gnu.org/software/guix/manual/html_node/Application-Setup.html#X= 11-Fonts , I get the message that there is something wrong with the directory I'm trying to add it: gast@graviton ~$ xset +fp ~/.guix-profile/share/fonts/truetype xset: bad font path element (#0), possible causes are: Directory does not exist or has wrong permissions Directory missing fonts.dir Incorrect font server address or syntax gast@graviton ~$ ls -l ~/.guix-profile/share/fonts/truetype/fonts.dir=20 lrwxrwxrwx 2 root root 84 Jan 1 1970 /home/gast/.guix-profile/share/fonts= /truetype/fonts.dir -> /gnu/store/5kp6hj8mk6pgfl4x3cgabl7z379jyyrl-fonts-di= r/share/fonts/truetype/fonts.dir gast@graviton ~$ xset +fp /gnu/store/5kp6hj8mk6pgfl4x3cgabl7z379jyyrl-fonts= -dir/share/fonts/truetype The last command exits with code 0. Apparently, xset(1) does not want me to add symlink(2)s that point to valid directories. =E2=80=94Marco From unknown Mon Aug 18 15:41:17 2025 X-Loop: help-debbugs@gnu.org Subject: bug#30655: xset(1) not accepting symlink to font path Resent-From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Thu, 01 Mar 2018 16:53:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 30655 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Marco van Hulten Cc: 30655@debbugs.gnu.org Received: via spool by 30655-submit@debbugs.gnu.org id=B30655.151992313424597 (code B ref 30655); Thu, 01 Mar 2018 16:53:01 +0000 Received: (at 30655) by debbugs.gnu.org; 1 Mar 2018 16:52:14 +0000 Received: from localhost ([127.0.0.1]:39553 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1erRRF-0006Of-Qn for submit@debbugs.gnu.org; Thu, 01 Mar 2018 11:52:14 -0500 Received: from hera.aquilenet.fr ([185.233.100.1]:39524) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1erRRD-0006OU-Bd for 30655@debbugs.gnu.org; Thu, 01 Mar 2018 11:52:12 -0500 Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id BC8C11060B; Thu, 1 Mar 2018 17:52:10 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at aquilenet.fr Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id B9Qbjxc25ujh; Thu, 1 Mar 2018 17:52:09 +0100 (CET) Received: from ribbon (unknown [193.50.110.134]) by hera.aquilenet.fr (Postfix) with ESMTPSA id B44B71025C; Thu, 1 Mar 2018 17:52:09 +0100 (CET) From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) References: <20180228225429.09cd9fd8@jasniac.instanton> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 11 =?UTF-8?Q?Vent=C3=B4se?= an 226 de la =?UTF-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Thu, 01 Mar 2018 17:52:09 +0100 In-Reply-To: <20180228225429.09cd9fd8@jasniac.instanton> (Marco van Hulten's message of "Wed, 28 Feb 2018 22:54:29 +0100") Message-ID: <87po4n4u2u.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Spam-Score: 1.0 (+) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) --=-=-= Content-Type: text/plain Hi Marco, Marco van Hulten skribis: > When I follow the manual at > https://www.gnu.org/software/guix/manual/html_node/Application-Setup.html#X11-Fonts , > I get the message that there is something wrong with the directory I'm > trying to add it: > > > gast@graviton ~$ xset +fp ~/.guix-profile/share/fonts/truetype > xset: bad font path element (#0), possible causes are: > Directory does not exist or has wrong permissions > Directory missing fonts.dir > Incorrect font server address or syntax > gast@graviton ~$ ls -l ~/.guix-profile/share/fonts/truetype/fonts.dir > lrwxrwxrwx 2 root root 84 Jan 1 1970 /home/gast/.guix-profile/share/fonts/truetype/fonts.dir -> /gnu/store/5kp6hj8mk6pgfl4x3cgabl7z379jyyrl-fonts-dir/share/fonts/truetype/fonts.dir > gast@graviton ~$ xset +fp /gnu/store/5kp6hj8mk6pgfl4x3cgabl7z379jyyrl-fonts-dir/share/fonts/truetype > > > The last command exits with code 0. Apparently, xset(1) does not want > me to add symlink(2)s that point to valid directories. Would this be a good fix: --=-=-= Content-Type: text/x-patch Content-Disposition: inline diff --git a/doc/guix.texi b/doc/guix.texi index 24db16761..35221ff94 100644 --- a/doc/guix.texi +++ b/doc/guix.texi @@ -1572,7 +1572,7 @@ To be able to use such full names for the TrueType fonts installed in your Guix profile, you need to extend the font path of the X server: @example -xset +fp ~/.guix-profile/share/fonts/truetype +xset +fp `readlink -f ~/.guix-profile/share/fonts/truetype` @end example @cindex @code{xlsfonts} --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable ? Thanks, Ludo=E2=80=99. --=-=-=-- From unknown Mon Aug 18 15:41:17 2025 X-Loop: help-debbugs@gnu.org Subject: bug#30655: xset(1) not accepting symlink to font path Resent-From: Alex Kost Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Thu, 01 Mar 2018 17:48:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 30655 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Marco van Hulten Cc: 30655@debbugs.gnu.org Received: via spool by 30655-submit@debbugs.gnu.org id=B30655.151992643129825 (code B ref 30655); Thu, 01 Mar 2018 17:48:01 +0000 Received: (at 30655) by debbugs.gnu.org; 1 Mar 2018 17:47:11 +0000 Received: from localhost ([127.0.0.1]:39581 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1erSIR-0007kz-7c for submit@debbugs.gnu.org; Thu, 01 Mar 2018 12:47:11 -0500 Received: from mail-lf0-f53.google.com ([209.85.215.53]:43497) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1erSIO-0007kl-AU for 30655@debbugs.gnu.org; Thu, 01 Mar 2018 12:47:09 -0500 Received: by mail-lf0-f53.google.com with SMTP id q69so9555442lfi.10 for <30655@debbugs.gnu.org>; Thu, 01 Mar 2018 09:47:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=gclsSiiAwZ/I6a0MCogP06Gu9wgfn3htbQmh7iNFqrQ=; b=EeH+qoYoHeHx0LVnTDdgvxOfiAFJ/fRDUc5QrtenWCqS1eQJ79jN4XWrsUqrHZjd+3 iLUcmTG32hl7jl6dNWQ4wBKsyiGDSRBTmcBaZ3mIQlhQaaI2O6NdzkfnEc5PoSXVuAAU DBA/dAauYIwUAHAtDFy1lzNjZElgRcXQ4GmsM/ewK6uGUURKaYxQhjB/2FW+5a+aU2FE o8GP5U4ePp4zexACG8Pct7v3QVT4aA12bHywKk2IcX0n7cuJLCmeQ1X9tRZN3X1HpPUu mLkT4OxCTjT67/0n2k4unIdOUxuLn6gJZ7zeF3W2Huee+X9c7R2xBHaRn8T38qK6+XB5 gNHA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=gclsSiiAwZ/I6a0MCogP06Gu9wgfn3htbQmh7iNFqrQ=; b=rRpcuvZCffQVqeg55Xehw6QVmWCU1Ghb5DKqvTqahZ5Vyw3zkc+cfJReTYLKqA2q+v 5zjcg0jZQ9v9opo/sYkdjkQ8d6L2f2mxs5N+d+5ydwMgKbHHx8vVSakBvrv2nBirMTPL dC2jDH49O5To9N6cVqW5rcBWDO8Au3tSsm8D88JCTsuCeqHnqudkn5ELvUaoDO9DvCEm qBoNNSJ7mBzwoe8Smi7wLb7IRfcXhURcZWV+Mlhr0CmfoexgwdF9LtqcBtBK8dqnu3xj sNmHpUAl6ADO5I2lq17qcuJmI+o6WWXnE3+X2WUTpQ5J8RwKEn5v1sdm0GH2XJ0UGypG Bcew== X-Gm-Message-State: AElRT7E/+Ae8hkvQY7YOA+Ksjt5UhGXAv8DP+4igAcWN+eSIRaECrVon smDaVAB2oUyzzRjkT3r4DI4bsg== X-Google-Smtp-Source: AG47ELvpka9uMw3yxfNvYJYQf3GxxtybqqLEVE7u6ePgj+Kf9YNK6VttNXqK8JpK51PEZJ1H53REEQ== X-Received: by 10.25.147.219 with SMTP id w88mr1995183lfk.58.1519926421230; Thu, 01 Mar 2018 09:47:01 -0800 (PST) Received: from leviafan ([217.107.194.32]) by smtp.gmail.com with ESMTPSA id t75sm964421lje.16.2018.03.01.09.46.59 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 01 Mar 2018 09:47:00 -0800 (PST) From: Alex Kost References: <20180228225429.09cd9fd8@jasniac.instanton> Date: Thu, 01 Mar 2018 20:47:02 +0300 In-Reply-To: <20180228225429.09cd9fd8@jasniac.instanton> (Marco van Hulten's message of "Wed, 28 Feb 2018 22:54:29 +0100") Message-ID: <87vaefwuw9.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) Marco van Hulten (2018-02-28 22:54 +0100) wrote: > Hello, > > When I follow the manual at > https://www.gnu.org/software/guix/manual/html_node/Application-Setup.html#X11-Fonts , > I get the message that there is something wrong with the directory I'm > trying to add it: > > > gast@graviton ~$ xset +fp ~/.guix-profile/share/fonts/truetype > xset: bad font path element (#0), possible causes are: > Directory does not exist or has wrong permissions > Directory missing fonts.dir > Incorrect font server address or syntax > gast@graviton ~$ ls -l ~/.guix-profile/share/fonts/truetype/fonts.dir > lrwxrwxrwx 2 root root 84 Jan 1 1970 > /home/gast/.guix-profile/share/fonts/truetype/fonts.dir -> > /gnu/store/5kp6hj8mk6pgfl4x3cgabl7z379jyyrl-fonts-dir/share/fonts/truetype/fonts.dir > gast@graviton ~$ xset +fp /gnu/store/5kp6hj8mk6pgfl4x3cgabl7z379jyyrl-fonts-dir/share/fonts/truetype > > > The last command exits with code 0. Apparently, xset(1) does not want > me to add symlink(2)s that point to valid directories. Sounds familiar. I recall I dealt with this problem some time ago. In short, it was introduced by one of the dependencies of X server (libXfont): https://cgit.freedesktop.org/xorg/lib/libXfont/commit/?id=7b377456f95d2ec3ead40f4fb74ea620191f88c8 X server allowed to use symlinks for fonts before that commit, but not anymore. I fixed it on my side simply by making 'my-xorg-server' package that uses a "fixed" version of libxfont (that supports symlinks). If anyone is interested, I also wrote a descriptive commit message here: https://notabug.org/alezost/guix-config/commit/161d5e2e36e53c0d9c46181e10e1595e607748dd -- Alex From unknown Mon Aug 18 15:41:17 2025 X-Loop: help-debbugs@gnu.org Subject: bug#30655: xset(1) not accepting symlink to font path Resent-From: Marco van Hulten Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Thu, 01 Mar 2018 21:18:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 30655 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=), 30655@debbugs.gnu.org Received: via spool by 30655-submit@debbugs.gnu.org id=B30655.151993903823922 (code B ref 30655); Thu, 01 Mar 2018 21:18:02 +0000 Received: (at 30655) by debbugs.gnu.org; 1 Mar 2018 21:17:18 +0000 Received: from localhost ([127.0.0.1]:39787 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1erVZl-0006Dk-L1 for submit@debbugs.gnu.org; Thu, 01 Mar 2018 16:17:17 -0500 Received: from eterpe-smout.broadpark.no ([80.202.8.16]:45471) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1erVZk-0006DX-DG for 30655@debbugs.gnu.org; Thu, 01 Mar 2018 16:17:17 -0500 MIME-version: 1.0 Content-type: text/plain; charset=UTF-8 Received: from bgo1cloudm1.nextgentel.net ([80.202.8.58]) by eterpe-smout.broadpark.no (Oracle Communications Messaging Server 7u4-27.01(7.0.4.27.0) 64bit (built Aug 30 2012)) with ESMTP id <0P4X007IUKGM9140@eterpe-smout.broadpark.no> for 30655@debbugs.gnu.org; Thu, 01 Mar 2018 22:17:10 +0100 (CET) Received: from jasniac.instanton ([89.10.168.15]) by cmsmtp with SMTP id rVZderrWI7XUXrVZderKla; Thu, 01 Mar 2018 22:17:09 +0100 X-Original-Source-IP: 89.10.168.15 Date: Thu, 01 Mar 2018 22:17:09 +0100 From: Marco van Hulten Message-id: <20180301221501.5e5f419e@jasniac.instanton> In-reply-to: <87po4n4u2u.fsf@gnu.org> References: <20180228225429.09cd9fd8@jasniac.instanton> <87po4n4u2u.fsf@gnu.org> X-Mailer: Claws Mail 3.14.1 (GTK+ 2.24.25; x86_64-pc-linux-gnu) Content-transfer-encoding: quoted-printable X-CMAE-Envelope: MS4wfJvi4fcKAOkBpAEnyhR49Qqoc6dRUhpEoxJ2GZjnUPpNLw93IaXVYgOVhQJFyjMk2drJXUMSoNZfgRmwZXa0fQWOs8V2JoMmzKE3EldnTXyO1rf3Xmv4 rWg8Y0VJ/wGwZEKVja3yhgD6eYBs1dxPql8UwbFhaKvcDsJ9Y18P9Lq/PkU1Bg7hG3dcG8YFlRxHAw== X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) Ludovic=E2=80=94 Je 1 mrt 17:52 skribis Ludovic: > Marco van Hulten skribis: >=20 > > When I follow the manual at > > https://www.gnu.org/software/guix/manual/html_node/Application-Setup.ht= ml#X11-Fonts , > > I get the message that there is something wrong with the directory I'm > > trying to add it: > > > > > > gast@graviton ~$ xset +fp ~/.guix-profile/share/fonts/truetype > > xset: bad font path element (#0), possible causes are: > > Directory does not exist or has wrong permissions > > Directory missing fonts.dir > > Incorrect font server address or syntax > > gast@graviton ~$ ls -l ~/.guix-profile/share/fonts/truetype/fonts.dir=20 > > lrwxrwxrwx 2 root root 84 Jan 1 1970 /home/gast/.guix-profile/share/f= onts/truetype/fonts.dir -> /gnu/store/5kp6hj8mk6pgfl4x3cgabl7z379jyyrl-font= s-dir/share/fonts/truetype/fonts.dir > > gast@graviton ~$ xset +fp /gnu/store/5kp6hj8mk6pgfl4x3cgabl7z379jyyrl-f= onts-dir/share/fonts/truetype > > > > > > The last command exits with code 0. Apparently, xset(1) does not want > > me to add symlink(2)s that point to valid directories. =20 >=20 > Would this be a good fix: More or less, but it is fonts.dir that points to the right location though we need the base dir of that, so the patch must be: diff --git a/doc/guix.texi b/doc/guix.texi index 24db16761..35221ff94 100644 --- a/doc/guix.texi +++ b/doc/guix.texi @@ -1572,7 +1572,7 @@ To be able to use such full names for the TrueType fonts installed in your Guix profile, you need to extend the font path of the X server:=20 @example -xset +fp ~/.guix-profile/share/fonts/truetype +xset +fp $(dirname $(readlink -f ~/.guix-profile/share/fonts/truetype/fonts.dir)) @end example =20 @cindex @code{xlsfonts} The issue is apparently not really a bug but more of an obvious side effect of the security improvement of libXfont as Alex Kost pointed out. Changing the documentation as above handles this issue well. =E2=80=94Marco P.S. How do you make a patch appear as both a file *and* as text within the body of an e-mail (that's how Claws Mail presented it to me)? From unknown Mon Aug 18 15:41:17 2025 X-Loop: help-debbugs@gnu.org Subject: bug#30655: xset(1) not accepting symlink to font path Resent-From: Marco van Hulten Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Thu, 01 Mar 2018 21:28:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 30655 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Alex Kost Cc: 30655@debbugs.gnu.org Received: via spool by 30655-submit@debbugs.gnu.org id=B30655.151993966424830 (code B ref 30655); Thu, 01 Mar 2018 21:28:02 +0000 Received: (at 30655) by debbugs.gnu.org; 1 Mar 2018 21:27:44 +0000 Received: from localhost ([127.0.0.1]:39799 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1erVjs-0006SQ-8B for submit@debbugs.gnu.org; Thu, 01 Mar 2018 16:27:44 -0500 Received: from eterpe-smout.broadpark.no ([80.202.8.16]:46265) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1erVjq-0006SD-8v for 30655@debbugs.gnu.org; Thu, 01 Mar 2018 16:27:42 -0500 MIME-version: 1.0 Content-type: text/plain; charset=UTF-8 Received: from bgo1cloudm1.nextgentel.net ([80.202.8.58]) by eterpe-smout.broadpark.no (Oracle Communications Messaging Server 7u4-27.01(7.0.4.27.0) 64bit (built Aug 30 2012)) with ESMTP id <0P4X006UOKXNI150@eterpe-smout.broadpark.no> for 30655@debbugs.gnu.org; Thu, 01 Mar 2018 22:27:36 +0100 (CET) Received: from jasniac.instanton ([89.10.168.15]) by cmsmtp with SMTP id rVjkerrb37XUXrVjkerKli; Thu, 01 Mar 2018 22:27:36 +0100 X-Original-Source-IP: 89.10.168.15 Date: Thu, 01 Mar 2018 22:27:35 +0100 From: Marco van Hulten Message-id: <20180301222735.71e4d1fe@jasniac.instanton> In-reply-to: <87vaefwuw9.fsf@gmail.com> References: <20180228225429.09cd9fd8@jasniac.instanton> <87vaefwuw9.fsf@gmail.com> X-Mailer: Claws Mail 3.14.1 (GTK+ 2.24.25; x86_64-pc-linux-gnu) Content-transfer-encoding: quoted-printable X-CMAE-Envelope: MS4wfEvOZp8banXIO5gHS9HsAvpvG9Rzl138WAuzNugDEffzg8gzbfBq5mWQg71KiNj7ghZh+Cq9p4jtVGkE2lzNuW/Xdp/6G3tTR36wDqADfvB+1IGBHNfF /d/GgZTnyHWzpRRQ0OneXgY9Y+jBesnmMGMvgLK+0QkKvs9i/8jLmcetoXZP1KmIPAwweZIyLRVOuSK4MVktFjkQ0aw8D1svZuU= X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) Alex=E2=80=94 Je 1 mrt 20:47 skribis Alex: > I fixed it on my side simply by making 'my-xorg-server' package > that uses a "fixed" version of libxfont (that supports symlinks). >=20 > If anyone is interested, I also wrote a descriptive commit message here: >=20 > https://notabug.org/alezost/guix-config/commit/161d5e2e36e53c0d9c46181e= 10e1595e607748dd That's an interesting approach as well! Of course, the change in the documentation as Ludo' proposed is a bit less invasive :-) I wonder if the libXfont security issue couldn't be solved in a way such that it can still handle symlinks. But it is not something to dwell over long: the documentation change is sufficient in my opinion. =E2=80=94Marco From unknown Mon Aug 18 15:41:17 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Marco van Hulten Subject: bug#30655: closed (Re: bug#30655: xset(1) not accepting symlink to font path) Message-ID: References: <87lgfahci2.fsf@gnu.org> <20180228225429.09cd9fd8@jasniac.instanton> X-Gnu-PR-Message: they-closed 30655 X-Gnu-PR-Package: guix Reply-To: 30655@debbugs.gnu.org Date: Fri, 02 Mar 2018 12:46:04 +0000 Content-Type: multipart/mixed; boundary="----------=_1519994764-22111-1" This is a multi-part message in MIME format... ------------=_1519994764-22111-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #30655: xset(1) not accepting symlink to font path which was filed against the guix package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 30655@debbugs.gnu.org. --=20 30655: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D30655 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1519994764-22111-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 30655-done) by debbugs.gnu.org; 2 Mar 2018 12:45:46 +0000 Received: from localhost ([127.0.0.1]:40182 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1erk4I-0005kD-1k for submit@debbugs.gnu.org; Fri, 02 Mar 2018 07:45:46 -0500 Received: from hera.aquilenet.fr ([185.233.100.1]:45370) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1erk4G-0005k4-CD for 30655-done@debbugs.gnu.org; Fri, 02 Mar 2018 07:45:44 -0500 Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id D276511B38; Fri, 2 Mar 2018 13:45:43 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at aquilenet.fr Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id scMwIbIwVtAv; Fri, 2 Mar 2018 13:45:42 +0100 (CET) Received: from ribbon (unknown [193.50.110.134]) by hera.aquilenet.fr (Postfix) with ESMTPSA id 16D16718B; Fri, 2 Mar 2018 13:45:42 +0100 (CET) From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) To: Marco van Hulten Subject: Re: bug#30655: xset(1) not accepting symlink to font path References: <20180228225429.09cd9fd8@jasniac.instanton> <87po4n4u2u.fsf@gnu.org> <20180301221501.5e5f419e@jasniac.instanton> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 12 =?utf-8?Q?Vent=C3=B4se?= an 226 de la =?utf-8?Q?R?= =?utf-8?Q?=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Fri, 02 Mar 2018 13:45:41 +0100 In-Reply-To: <20180301221501.5e5f419e@jasniac.instanton> (Marco van Hulten's message of "Thu, 01 Mar 2018 22:15:01 +0100") Message-ID: <87lgfahci2.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 30655-done Cc: 30655-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) Hello, Marco van Hulten skribis: > Ludovic=E2=80=94 > > Je 1 mrt 17:52 skribis Ludovic: >> Marco van Hulten skribis: >>=20 >> > When I follow the manual at >> > https://www.gnu.org/software/guix/manual/html_node/Application-Setup.h= tml#X11-Fonts , >> > I get the message that there is something wrong with the directory I'm >> > trying to add it: >> > >> > >> > gast@graviton ~$ xset +fp ~/.guix-profile/share/fonts/truetype >> > xset: bad font path element (#0), possible causes are: >> > Directory does not exist or has wrong permissions >> > Directory missing fonts.dir >> > Incorrect font server address or syntax >> > gast@graviton ~$ ls -l ~/.guix-profile/share/fonts/truetype/fonts.dir= =20 >> > lrwxrwxrwx 2 root root 84 Jan 1 1970 /home/gast/.guix-profile/share/= fonts/truetype/fonts.dir -> /gnu/store/5kp6hj8mk6pgfl4x3cgabl7z379jyyrl-fon= ts-dir/share/fonts/truetype/fonts.dir >> > gast@graviton ~$ xset +fp /gnu/store/5kp6hj8mk6pgfl4x3cgabl7z379jyyrl-= fonts-dir/share/fonts/truetype >> > >> > >> > The last command exits with code 0. Apparently, xset(1) does not want >> > me to add symlink(2)s that point to valid directories.=20=20 >>=20 >> Would this be a good fix: > > More or less, but it is fonts.dir that points to the right location > though we need the base dir of that, so the patch must be: > > > diff --git a/doc/guix.texi b/doc/guix.texi > index 24db16761..35221ff94 100644 > --- a/doc/guix.texi > +++ b/doc/guix.texi > @@ -1572,7 +1572,7 @@ To be able to use such full names for the > TrueType fonts installed in your Guix profile, you need to extend the > font path of the X server:=20 > @example > -xset +fp ~/.guix-profile/share/fonts/truetype > +xset +fp $(dirname $(readlink -f ~/.guix-profile/share/fonts/truetype/fo= nts.dir)) > @end example Actually commit 07ec349229 that I just pushed fixes this very line. So I guess we=E2=80=99re done? Thanks, Ludo=E2=80=99. ------------=_1519994764-22111-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 28 Feb 2018 21:54:49 +0000 Received: from localhost ([127.0.0.1]:37975 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1er9gX-0007Uf-9d for submit@debbugs.gnu.org; Wed, 28 Feb 2018 16:54:49 -0500 Received: from eggs.gnu.org ([208.118.235.92]:49433) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1er9gV-0007UO-9P for submit@debbugs.gnu.org; Wed, 28 Feb 2018 16:54:47 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1er9gO-00032K-7o for submit@debbugs.gnu.org; Wed, 28 Feb 2018 16:54:41 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: *** X-Spam-Status: No, score=3.3 required=5.0 tests=BAYES_50, RECEIVED_FROM_WINDOWS_HOST autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:37597) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1er9gO-00031m-26 for submit@debbugs.gnu.org; Wed, 28 Feb 2018 16:54:40 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:40255) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1er9gL-00062P-M4 for bug-guix@gnu.org; Wed, 28 Feb 2018 16:54:39 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1er9gH-0002u4-J0 for bug-guix@gnu.org; Wed, 28 Feb 2018 16:54:37 -0500 Received: from eterpe-smout.broadpark.no ([80.202.8.16]:35713) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1er9gH-0002q6-8x for bug-guix@gnu.org; Wed, 28 Feb 2018 16:54:33 -0500 MIME-version: 1.0 Content-type: text/plain; charset=UTF-8 Received: from bgo1cloudm1.nextgentel.net ([80.202.8.58]) by eterpe-smout.broadpark.no (Oracle Communications Messaging Server 7u4-27.01(7.0.4.27.0) 64bit (built Aug 30 2012)) with ESMTP id <0P4V00JJ8RFVQED0@eterpe-smout.broadpark.no> for bug-guix@gnu.org; Wed, 28 Feb 2018 22:54:30 +0100 (CET) Received: from jasniac.instanton ([89.10.168.15]) by cmsmtp with SMTP id r9gDergkM7XUXr9gDerK7N; Wed, 28 Feb 2018 22:54:29 +0100 X-Original-Source-IP: 89.10.168.15 Date: Wed, 28 Feb 2018 22:54:29 +0100 From: Marco van Hulten To: bug-guix@gnu.org Subject: xset(1) not accepting symlink to font path Message-id: <20180228225429.09cd9fd8@jasniac.instanton> X-Mailer: Claws Mail 3.14.1 (GTK+ 2.24.25; x86_64-pc-linux-gnu) Content-transfer-encoding: quoted-printable X-CMAE-Envelope: MS4wfJLk2zLnzNibVWhwRw4CyRF6fSlo6CSxMtFUCWs0RYCXYq70L287V4csWYi72sL6crU2274O+kkEGbZBTzues0zqz2jNr41+bC0dlIsdp5ItIQDUrVhR Lj2PTNTHFLp/0UPm2MHvRZzZK4xDz1EGdUXo3yRiIqz0vFurG/ie2z/1 X-detected-operating-system: by eggs.gnu.org: Windows NT kernel [generic] [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) Hello, When I follow the manual at https://www.gnu.org/software/guix/manual/html_node/Application-Setup.html#X= 11-Fonts , I get the message that there is something wrong with the directory I'm trying to add it: gast@graviton ~$ xset +fp ~/.guix-profile/share/fonts/truetype xset: bad font path element (#0), possible causes are: Directory does not exist or has wrong permissions Directory missing fonts.dir Incorrect font server address or syntax gast@graviton ~$ ls -l ~/.guix-profile/share/fonts/truetype/fonts.dir=20 lrwxrwxrwx 2 root root 84 Jan 1 1970 /home/gast/.guix-profile/share/fonts= /truetype/fonts.dir -> /gnu/store/5kp6hj8mk6pgfl4x3cgabl7z379jyyrl-fonts-di= r/share/fonts/truetype/fonts.dir gast@graviton ~$ xset +fp /gnu/store/5kp6hj8mk6pgfl4x3cgabl7z379jyyrl-fonts= -dir/share/fonts/truetype The last command exits with code 0. Apparently, xset(1) does not want me to add symlink(2)s that point to valid directories. =E2=80=94Marco ------------=_1519994764-22111-1-- From unknown Mon Aug 18 15:41:17 2025 X-Loop: help-debbugs@gnu.org Subject: bug#30655: closed (Re: bug#30655: xset(1) not accepting symlink to font path) Resent-From: Marco van Hulten Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sat, 03 Mar 2018 15:27:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 30655 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) Cc: 30655@debbugs.gnu.org Received: via spool by 30655-submit@debbugs.gnu.org id=B30655.1520090785775 (code B ref 30655); Sat, 03 Mar 2018 15:27:02 +0000 Received: (at 30655) by debbugs.gnu.org; 3 Mar 2018 15:26:25 +0000 Received: from localhost ([127.0.0.1]:42951 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1es93J-0000CR-Ax for submit@debbugs.gnu.org; Sat, 03 Mar 2018 10:26:25 -0500 Received: from eterpe-smout.broadpark.no ([80.202.8.16]:54275) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1es93F-0000CB-R7 for 30655@debbugs.gnu.org; Sat, 03 Mar 2018 10:26:22 -0500 MIME-version: 1.0 Content-type: text/plain; charset=UTF-8 Received: from bgo1cloudm1.nextgentel.net ([80.202.8.58]) by eterpe-smout.broadpark.no (Oracle Communications Messaging Server 7u4-27.01(7.0.4.27.0) 64bit (built Aug 30 2012)) with ESMTP id <0P500048WTJRDF00@eterpe-smout.broadpark.no> for 30655@debbugs.gnu.org; Sat, 03 Mar 2018 16:26:15 +0100 (CET) Received: from jasniac.instanton ([89.10.168.15]) by cmsmtp with SMTP id s939esAmU7XUXs939erLTS; Sat, 03 Mar 2018 16:26:15 +0100 X-Original-Source-IP: 89.10.168.15 Date: Sat, 03 Mar 2018 16:26:14 +0100 From: Marco van Hulten Message-id: <20180303162614.2fe6c3c5@jasniac.instanton> In-reply-to: References: <87lgfahci2.fsf@gnu.org> <20180228225429.09cd9fd8@jasniac.instanton> X-Mailer: Claws Mail 3.14.1 (GTK+ 2.24.25; x86_64-pc-linux-gnu) Content-transfer-encoding: quoted-printable X-CMAE-Envelope: MS4wfE2TCYyeGMSFlaa3vhZtkfr1U2boqAj2Ozoy3aHDvPchriwsGJYI+YWpXBy0qDTA7961BAByLxh4rWVlOlBoAwb9Rx+FPC9F5Jy5oiTGnkPK08CKCzkP mYWjJvBrSyDvaAQxKwybBiP9idjYQsmHI9U1jJtLDx9SCQWg8YjF9EgIZi8d/6U2LvDYAtV/5DyOlw== X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) Ludo'=E2=80=94 Je 2 mrt 12:46 skribis GNU: > > diff --git a/doc/guix.texi b/doc/guix.texi > > index 24db16761..35221ff94 100644 > > --- a/doc/guix.texi > > +++ b/doc/guix.texi > > @@ -1572,7 +1572,7 @@ To be able to use such full names for the > > TrueType fonts installed in your Guix profile, you need to extend the > > font path of the X server:=20 > > @example > > -xset +fp ~/.guix-profile/share/fonts/truetype > > +xset +fp $(dirname $(readlink -f ~/.guix-profile/share/fonts/truetype/= fonts.dir)) > > @end example =20 >=20 > Actually commit 07ec349229 that I just pushed fixes this very line. So > I guess we=E2=80=99re done? I don't think so, because I just did a 'git pull', and found that the old patch had been applied (the one with `readlink... that doesn't work, instead of the above with $(dirname $(readlink...) which works. Apropos, how often are the HTML pages generated from the repository and put online? =E2=80=94Marco From unknown Mon Aug 18 15:41:17 2025 X-Loop: help-debbugs@gnu.org Subject: bug#30655: closed (Re: bug#30655: xset(1) not accepting symlink to font path) Resent-From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sun, 04 Mar 2018 21:42:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 30655 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Marco van Hulten Cc: 30655@debbugs.gnu.org Received: via spool by 30655-submit@debbugs.gnu.org id=B30655.152019967930584 (code B ref 30655); Sun, 04 Mar 2018 21:42:02 +0000 Received: (at 30655) by debbugs.gnu.org; 4 Mar 2018 21:41:19 +0000 Received: from localhost ([127.0.0.1]:44771 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1esbNe-0007xE-Ty for submit@debbugs.gnu.org; Sun, 04 Mar 2018 16:41:19 -0500 Received: from hera.aquilenet.fr ([185.233.100.1]:33006) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1esbNc-0007x5-Eg for 30655@debbugs.gnu.org; Sun, 04 Mar 2018 16:41:16 -0500 Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id 72C5411CE1; Sun, 4 Mar 2018 22:41:15 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at aquilenet.fr Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id kDz-tfRYatiO; Sun, 4 Mar 2018 22:41:14 +0100 (CET) Received: from ribbon (unknown [IPv6:2a01:e0a:1d:7270:af76:b9b:ca24:c465]) by hera.aquilenet.fr (Postfix) with ESMTPSA id 1F3DC10A74; Sun, 4 Mar 2018 22:41:14 +0100 (CET) From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) References: <87lgfahci2.fsf@gnu.org> <20180228225429.09cd9fd8@jasniac.instanton> <20180303162614.2fe6c3c5@jasniac.instanton> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 14 =?UTF-8?Q?Vent=C3=B4se?= an 226 de la =?UTF-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Sun, 04 Mar 2018 22:41:13 +0100 In-Reply-To: <20180303162614.2fe6c3c5@jasniac.instanton> (Marco van Hulten's message of "Sat, 03 Mar 2018 16:26:14 +0100") Message-ID: <877eqr4iyu.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 1.0 (+) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) Hi, Marco van Hulten skribis: > Je 2 mrt 12:46 skribis GNU: >> > diff --git a/doc/guix.texi b/doc/guix.texi >> > index 24db16761..35221ff94 100644 >> > --- a/doc/guix.texi >> > +++ b/doc/guix.texi >> > @@ -1572,7 +1572,7 @@ To be able to use such full names for the >> > TrueType fonts installed in your Guix profile, you need to extend the >> > font path of the X server:=20 >> > @example >> > -xset +fp ~/.guix-profile/share/fonts/truetype >> > +xset +fp $(dirname $(readlink -f ~/.guix-profile/share/fonts/truetype= /fonts.dir)) >> > @end example=20=20 >>=20 >> Actually commit 07ec349229 that I just pushed fixes this very line. So >> I guess we=E2=80=99re done? > > I don't think so, because I just did a 'git pull', and found that the > old patch had been applied (the one with `readlink... that doesn't > work, instead of the above with $(dirname $(readlink...) which works. Oops, really fixed now (will push shortly.) > Apropos, how often are the HTML pages generated from the repository and > put online? At each new release. Thanks, Ludo=E2=80=99. From unknown Mon Aug 18 15:41:17 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Marco van Hulten Subject: bug#30655: closed (xset(1) not accepting symlink to font path) Message-ID: References: <87a712o1b4.fsf@disroot.org> <20180228225429.09cd9fd8@jasniac.instanton> X-Gnu-PR-Message: they-closed 30655 X-Gnu-PR-Package: guix Reply-To: 30655@debbugs.gnu.org Date: Wed, 17 Jun 2020 02:49:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1592362142-16949-1" This is a multi-part message in MIME format... ------------=_1592362142-16949-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #30655: xset(1) not accepting symlink to font path which was filed against the guix package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 30655@debbugs.gnu.org. --=20 30655: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D30655 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1592362142-16949-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 30655-done) by debbugs.gnu.org; 17 Jun 2020 02:48:22 +0000 Received: from localhost ([127.0.0.1]:50052 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jlO7T-0004OH-MW for submit@debbugs.gnu.org; Tue, 16 Jun 2020 22:48:22 -0400 Received: from knopi.disroot.org ([178.21.23.139]:53836) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jlO7Q-0004O6-7W for 30655-done@debbugs.gnu.org; Tue, 16 Jun 2020 22:48:06 -0400 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id 5150E552A2 for <30655-done@debbugs.gnu.org>; Wed, 17 Jun 2020 04:48:03 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at disroot.org Received: from knopi.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id MkJW2JSK9frt for <30655-done@debbugs.gnu.org>; Wed, 17 Jun 2020 04:48:02 +0200 (CEST) From: Royce Strange DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1592362082; bh=ZKz9w8gZ5yhKFSzkV387J7rlD46ecryXi1pT7+cvpIw=; h=From:To:Subject:Date:In-Reply-To; b=FHOBGEXCX8VdOYh8azvKO5tHUAWwAp/UtIoPtKA1bPg8R1FvvUXAUiLbnKH/cvPae At0Gut5txUM01bcsVnmxl9t2j0GpdNDa1lRcpBpHnAzCfI4CHK7LvHfGp5WveVdhLQ rXWP/zILQLrQ9g2EcFGKpg3vpUcZcuWVh0EWHdHdWrlSzSqUykxQj7Yc64LEOEpZpt i2KlVWhcFlWa/73OODcd3Rpgr2m32m1OHZIvNyXlzN0W78R7blDr0AVXMnJ3AzWTji ILU58E3CWhmDmjlg456sq8ioNs8NuYcq8c/et2kqunk/eg3i+BecPQZJWFzFRYeulm Zd5ForgJLim0w== To: 30655-done@debbugs.gnu.org Subject: xset(1) not accepting symlink to font path Date: Tue, 16 Jun 2020 21:47:59 -0500 In-Reply-To: bug's message of "Wed\, 17 Jun 2020 02\:44\:39 +0000" Message-ID: <87a712o1b4.fsf@disroot.org> Mime-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 30655-done X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hello. It has been a while but the manual does include the updated xset command: https://guix.gnu.org/manual/en/guix.html#X11-Fonts Going to go ahead and close. ------------=_1592362142-16949-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 28 Feb 2018 21:54:49 +0000 Received: from localhost ([127.0.0.1]:37975 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1er9gX-0007Uf-9d for submit@debbugs.gnu.org; Wed, 28 Feb 2018 16:54:49 -0500 Received: from eggs.gnu.org ([208.118.235.92]:49433) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1er9gV-0007UO-9P for submit@debbugs.gnu.org; Wed, 28 Feb 2018 16:54:47 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1er9gO-00032K-7o for submit@debbugs.gnu.org; Wed, 28 Feb 2018 16:54:41 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: *** X-Spam-Status: No, score=3.3 required=5.0 tests=BAYES_50, RECEIVED_FROM_WINDOWS_HOST autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:37597) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1er9gO-00031m-26 for submit@debbugs.gnu.org; Wed, 28 Feb 2018 16:54:40 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:40255) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1er9gL-00062P-M4 for bug-guix@gnu.org; Wed, 28 Feb 2018 16:54:39 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1er9gH-0002u4-J0 for bug-guix@gnu.org; Wed, 28 Feb 2018 16:54:37 -0500 Received: from eterpe-smout.broadpark.no ([80.202.8.16]:35713) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1er9gH-0002q6-8x for bug-guix@gnu.org; Wed, 28 Feb 2018 16:54:33 -0500 MIME-version: 1.0 Content-type: text/plain; charset=UTF-8 Received: from bgo1cloudm1.nextgentel.net ([80.202.8.58]) by eterpe-smout.broadpark.no (Oracle Communications Messaging Server 7u4-27.01(7.0.4.27.0) 64bit (built Aug 30 2012)) with ESMTP id <0P4V00JJ8RFVQED0@eterpe-smout.broadpark.no> for bug-guix@gnu.org; Wed, 28 Feb 2018 22:54:30 +0100 (CET) Received: from jasniac.instanton ([89.10.168.15]) by cmsmtp with SMTP id r9gDergkM7XUXr9gDerK7N; Wed, 28 Feb 2018 22:54:29 +0100 X-Original-Source-IP: 89.10.168.15 Date: Wed, 28 Feb 2018 22:54:29 +0100 From: Marco van Hulten To: bug-guix@gnu.org Subject: xset(1) not accepting symlink to font path Message-id: <20180228225429.09cd9fd8@jasniac.instanton> X-Mailer: Claws Mail 3.14.1 (GTK+ 2.24.25; x86_64-pc-linux-gnu) Content-transfer-encoding: quoted-printable X-CMAE-Envelope: MS4wfJLk2zLnzNibVWhwRw4CyRF6fSlo6CSxMtFUCWs0RYCXYq70L287V4csWYi72sL6crU2274O+kkEGbZBTzues0zqz2jNr41+bC0dlIsdp5ItIQDUrVhR Lj2PTNTHFLp/0UPm2MHvRZzZK4xDz1EGdUXo3yRiIqz0vFurG/ie2z/1 X-detected-operating-system: by eggs.gnu.org: Windows NT kernel [generic] [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) Hello, When I follow the manual at https://www.gnu.org/software/guix/manual/html_node/Application-Setup.html#X= 11-Fonts , I get the message that there is something wrong with the directory I'm trying to add it: gast@graviton ~$ xset +fp ~/.guix-profile/share/fonts/truetype xset: bad font path element (#0), possible causes are: Directory does not exist or has wrong permissions Directory missing fonts.dir Incorrect font server address or syntax gast@graviton ~$ ls -l ~/.guix-profile/share/fonts/truetype/fonts.dir=20 lrwxrwxrwx 2 root root 84 Jan 1 1970 /home/gast/.guix-profile/share/fonts= /truetype/fonts.dir -> /gnu/store/5kp6hj8mk6pgfl4x3cgabl7z379jyyrl-fonts-di= r/share/fonts/truetype/fonts.dir gast@graviton ~$ xset +fp /gnu/store/5kp6hj8mk6pgfl4x3cgabl7z379jyyrl-fonts= -dir/share/fonts/truetype The last command exits with code 0. Apparently, xset(1) does not want me to add symlink(2)s that point to valid directories. =E2=80=94Marco ------------=_1592362142-16949-1--