1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-04-22 02:00:29 +02:00

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

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
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}