As suggested in many posts, many times on this forum and in the Handbook - I removed my old /usr/local/etc/X11/xorg.conf configuration file, and let Xorg do its auto-detection thing.
However, after running
I checked the Handbook, which had this to say:
So much for removing /usr/local/etc/X11/xorg.conf!
I read on, and it says:
So I did, but I must be doing it wrong, because I still have the same problem (terminus-font not being used).
I tried creating a /usr/local/etc/fonts/local.conf and using bits from the example from fonts-conf(5)(). Didn't work.
Then I tried copying /usr/local/etc/fonts/fonts.conf to /usr/local/etc/fonts/local.conf
Then I tried creating ~/.config/fontconfig/fonts.conf based on the previous files, but that didn't work either.
Of course each time I ran
The current contents of my ~/.config/fontconfig/fonts.conf and /usr/local/etc/fonts/local.conf are just copied from the default /usr/local/etc/fonts/fonts.conf.
What is the correct way to do this?
However, after running
startx
, Xorg ran OK but I couldn't open x11/xterm or x11/rxvt-unicode and my window managers menus (etc.) were messed up due to my font of choice not being recognised (x11-fonts/terminus-font)I checked the Handbook, which had this to say:
Code:
To have the X server detect these fonts, add an appropriate line to the X server configuration file (/etc/X11/xorg.conf), which reads:
FontPath "/usr/local/share/fonts/urwfonts/"
I read on, and it says:
Code:
A third way is to use the new /usr/local/etc/fonts/local.conf as demonstrated in Section 5.5.3, “Anti-Aliased Fonts”.
Code:
To control which fonts are anti-aliased, or to configure anti-aliasing properties, create (or edit, if it already exists) the file /usr/local/etc/fonts/local.conf. Several advanced features of the Xft font system can be tuned using this file; this section describes only some simple possibilities. For more details, please see fonts-conf(5).
I tried creating a /usr/local/etc/fonts/local.conf and using bits from the example from fonts-conf(5)(). Didn't work.
Then I tried copying /usr/local/etc/fonts/fonts.conf to /usr/local/etc/fonts/local.conf
Then I tried creating ~/.config/fontconfig/fonts.conf based on the previous files, but that didn't work either.
Of course each time I ran
fc-cache -f
and restarted Xorg, but it was the same result every time.The current contents of my ~/.config/fontconfig/fonts.conf and /usr/local/etc/fonts/local.conf are just copied from the default /usr/local/etc/fonts/fonts.conf.
What is the correct way to do this?
Last edited: