tlwiki-wikijs/dotfiles/bpytop.md

1.6 KiB

title description published date tags editor dateCreated
bpytop true 2024-03-09T02:08:03.126Z markdown 2024-03-09T02:08:03.126Z

Troubleshooting

Fix the graphs

Ref: https://github.com/aristocratos/bpytop#notice-text-rendering-issues

The graph drawing uses the Braille Patterns Unicode block to simulate filled regions in line graphs, but if the font that your terminal emulator is using includes the unused dots in the characters as open holes, the result will look something like this:

Example of unwanted noise around braille characters

Here are some ways to fix that on Arch Linux:

Method 1: remove gnu-free-fonts

When some package requires ttf-font, this package usually gets chosen. However, the fonts are kind of ass, so as long as you have another package that provides ttf-font, you're ok to remove gnu-free-fonts

Method 2: Install an overriding font

Sometimes you can find font packages that come pre-configured as preferential, and also cover the target glyphs. Some examples:

  • ttf-dejavu

I'll add to this list when I find more that work like this out of the box

Method 3: Explicitly configure font fallbacks

Start by identifying a font that you want to use, and covers the braille characters, then set that as a default or fallback font per these instructions from the Arch Wiki