17

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
  • 306

5 Answers5

8

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'"
6

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.

user.dz
  • 49,176
0

On Ubuntu 22.04, placing the new .ttf files under /usr/share/fonts/truetype/ubuntu, makes the new fonts autopopulate under gnome-terminal's font preferences.

Hope it helps!

0

Had the same issue. Setting font permissions resolved my problem. For example:

chmod 755 ~/.fonts/cure.se.ttf

Then open new terminal instance.

folq
  • 101
-1

Updating your font cache might solve the issue. Try to run the following command:

fc-cache -vf ~/.fonts
Aditya
  • 13,616