KDE 3.5.8 font registration fun


If you've just installed KDE 3.5.8 from ports or packages on FreeBSD, don't forget to do this. Why am I putting this here? Because I always forget to do this!

NetBSD users will probably want to access /etc/X11/XF86Config instead.

Package kdebase-3.5.8 registered in /var/db/pkg/kdebase-3.5.8

This port has installed fonts into /usr/local/share/apps/konsole/fonts

You may want to add /usr/local/share/apps/konsole/fonts to your X font path by either:

% xset fp+ /usr/local/share/apps/konsole/fonts% xset fp rehash

or by adding it to your X-server configuration file (usually /etc/X11/xorg.conf or /usr/local/lib/X11/xorg.conf) and restarting the X-server.

You also have to make the new path known to fontconfig by adding a <dir>/usr/local/share/apps/konsole/fonts</dir> line to either /usr/local/etc/fonts/local.conf or ~/.fonts.conf and running fc-cache -f (as root if you edited local.conf) afterwards.

I do have KDE 4.0 mostly running on an experimental system, but for the time being I'm sticking to 3.5.8 on production machines.

Author bio and support


Ruben Schade is a technical writer and IaaS engineer in Sydney, Australia who refers to himself in the third person in bios. Wait, not BIOS… my brain should be EFI by now.

The site is powered by Hugo, FreeBSD, and OpenZFS on OrionVM, everyone’s favourite cloud infrastructure provider.

If you found this post helpful or entertaining, you can shout me a coffee or buy some silly merch. Thanks!