diff options
author | Ludovic Courtès <ludo@gnu.org> | 2018-03-04 22:39:43 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2018-03-05 10:41:18 +0100 |
commit | ca041ec1a3dc9319ca8ac72bbdd984f0bd36ba48 (patch) | |
tree | f63ea49c26df0f228d54f497fc7deaa702c628a3 | |
parent | 6a4eaafee06c167f5628ce06b7834d4a249a3600 (diff) | |
download | guix-ca041ec1a3dc9319ca8ac72bbdd984f0bd36ba48.tar.gz |
doc: Adjust 'xset -fp' command to avoid symlinks.
Fixes <https://bugs.gnu.org/30655>. Reported by Marco van Hulten <marco@hulten.org>. * doc/guix.texi (Application Setup): Adjust 'xset +fp' example.
-rw-r--r-- | doc/guix.texi | 4 |
1 files changed, 3 insertions, 1 deletions
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 <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} |