Skip to content
Snippets Groups Projects
Unverified Commit ca041ec1 authored by Ludovic Courtès's avatar Ludovic Courtès
Browse files

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.
parent 6a4eaafe
No related branches found
No related tags found
No related merge requests found
...@@ -1572,8 +1572,10 @@ full name of a font using XLFD (X Logical Font Description), like this: ...@@ -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}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment