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:
parent
6a4eaafee0
commit
ca041ec1a3
|
@ -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}
|
||||||
|
|
Loading…
Reference in New Issue