Bash doesn't recognize new font

zgb59

New Member
Joined
Feb 8, 2025
Messages
4
Reaction score
3
Credits
41
Hello guys

I recently installed Fira Sans on my Ubuntu and when I try to change my terminal font (I'm using bash) in preferences I cannot see Fira Sans as an option. I ran the fc-list command to see if my font was there and indeed it was. Also I changed my i3 bar font to Fira Sans without any problem, so I think the font is properly installed but for some reason bash doesn't take it as an option. I have the font stored in /usr/share/fonts and /usr/local/share/fonts
 


Sometimes you have to refresh the font cache.
Code:
 fc-cache -fv

Sometimes, placing the font in ~/.fonts or ~/.local/share/fonts can help

But here is the kicker, some terminal programs, ( xterm, kconole, gterm, gnome-terminal, etc...)
only recognize monospace fonts. Not all of them, but some of them want fixed space fonts only.

Bash itself doesn't care, but the console/terminal application cares.
 
Thank you dos2unix.
I will check other terminals to give them a try. I'm thinking on kitty right now. Nothing wrong with the gnome terminal but the fonts are not of my like.
 


Members online


Top