1

I'm trying to set my terminal (urxvt) font to 9x15. I add the following line in .Xresources

URxvt.font: 9x15

I save the file, I run xrdb -load .Xresources, but urxvt doesn't even open. If I remove that line and run xrdb -load .Xresource again it works, but only with the default font.

I already downloaded the 9x15 font (.pcf) and I ran fc-cache -fv, but still no change.

How can I change the font?

1

You probably don't have the corresponding font installed. With Fedora24, that is xorg-x11-fonts-misc, which you can install by

sudo dnf install xorg-x11-fonts-misc

As a side effect of installing the package, the RPM runs mkfontdir, to establish the alias 9x15 (along with entering the XLFD name for the font). Without both of those entries, you cannot use 9x15.

Further reading:

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.