From ca041ec1a3dc9319ca8ac72bbdd984f0bd36ba48 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ludovic=20Court=C3=A8s?= Date: Sun, 4 Mar 2018 22:39:43 +0100 Subject: doc: Adjust 'xset -fp' command to avoid symlinks. Fixes . Reported by Marco van Hulten . * doc/guix.texi (Application Setup): Adjust 'xset +fp' example. --- doc/guix.texi | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'doc') diff --git a/doc/guix.texi b/doc/guix.texi index 60703875f6..abec0c0879 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: +@c Note: 'xset' does not accept symlinks so the trick below arranges to +@c get at the real directory. See . @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} -- cgit v1.2.3