[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/04: doc: Adjust 'xset -fp' command to avoid symlinks.
From: |
Ludovic Courtès |
Subject: |
01/04: doc: Adjust 'xset -fp' command to avoid symlinks. |
Date: |
Mon, 5 Mar 2018 04:41:26 -0500 (EST) |
civodul pushed a commit to branch master
in repository guix.
commit ca041ec1a3dc9319ca8ac72bbdd984f0bd36ba48
Author: Ludovic Courtès <address@hidden>
Date: Sun Mar 4 22:39:43 2018 +0100
doc: Adjust 'xset -fp' command to avoid symlinks.
Fixes <https://bugs.gnu.org/30655>.
Reported by Marco van Hulten <address@hidden>.
* doc/guix.texi (Application Setup): Adjust 'xset +fp' example.
---
doc/guix.texi | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/doc/guix.texi b/doc/guix.texi
index 6070387..abec0c0 100644
--- a/doc/guix.texi
+++ b/doc/guix.texi
@@ -1572,8 +1572,10 @@ full name of a font using XLFD (X Logical Font
Description), like this:
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:
address@hidden Note: 'xset' does not accept symlinks so the trick below
arranges to
address@hidden get at the real directory. See <https://bugs.gnu.org/30655>.
@example
-xset +fp `readlink -f ~/.guix-profile/share/fonts/truetype`
+xset +fp $(dirname $(readlink -f
~/.guix-profile/share/fonts/truetype/fonts.dir))
@end example
@cindex @code{xlsfonts}