Fixing bold font colors in termite

The problem

Recently I’ve switched to termite from suckless st. Mostly because of the problem I was having with the glyph rendering in st. I still like st more than urxvt, but I decided it’s time to look for something better.

However, as it turns out, there is a problem with how the bold font colors get shown in termite. To figure out if you are affected by this problem, I suggest running this script (note: I do not take any credit for writing it, I forgot where I’ve found it originally). If the output looks something likes this:

Terminal colors

then you are alright. The colors themselves might be different, but as long as the second row that says “bold 0-7” looks colorful and not black, you should be good.

However, if the second row differs drastically from the first one, you might be having the same problem as me. Here’s how to fix it.

The solution

First, you’ll need to get termite’s source code. Go to the github page and follow the steps to clone the repository and cd into it.

Now you need to edit the termite.terminfo file.

You should replace the following lines:


with these lines:


After saving and exiting the file, you should run this command to compile the terminfo:

tic -x termite.terminfo

After that, run make && make install.

That’s it, the bold fonts should have proper colors now!

Please note, that this solution might not be the most appropriate one. It’s more of a temporary workaround.