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.
This commit is contained in:
Ludovic Courtès 2018-03-04 22:39:43 +01:00
parent 6a4eaafee0
commit ca041ec1a3
No known key found for this signature in database
GPG Key ID: 090B11993D9AEBB5
1 changed files with 3 additions and 1 deletions

View File

@ -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 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: 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 @example
xset +fp `readlink -f ~/.guix-profile/share/fonts/truetype` xset +fp $(dirname $(readlink -f ~/.guix-profile/share/fonts/truetype/fonts.dir))
@end example @end example
@cindex @code{xlsfonts} @cindex @code{xlsfonts}