Using installed fonts in gnome-terminal
10,737
Solution 1
What worked for me is putting the font files in ~/.local/share/fonts
and then running,
$ sudo fc-cache -vf ~/.local/share/fonts
The fonts in ~/.local/share/fonts
are available for all apps now.
Solution 2
The configuration GUI seems to filter non-monospace fonts.
A workaround is to use dconf
directly to set fonts:
# get your profile id
dconf list '/org/gnome/terminal/legacy/profiles:/'
# get your current font
dconf read '/org/gnome/terminal/legacy/profiles:/:PROFILE_ID/font'
# set the font, make sure you include those single quotes
dconf write '/org/gnome/terminal/legacy/profiles:/:PROFILE_ID/font' "'FreeMono 18'"
Related videos on Youtube
Author by
Mobo
Updated on September 18, 2022Comments
-
Mobo over 1 year
Recently I have been messing with gnome-terminal to make it look more appealing. I tried using installed fonts that were in my ~/.fonts folder (installed with Font Viewer) but when I edit the gnome-terminal profile, the installed font doesn't show up.
The font that I am trying to use is cure.se.ttf, and every other program that allows font changing works, as well as it being intstalled globally.
Am I installing them wrong, or is there a certian place they need to be?
-
Mobo over 10 yearsJust did again, still not working.
-
evandromr almost 9 yearsThere is probably a better way, but what worked for me was moving the fonts to the default location on /usr/share/fonts and them update the cache again.