I'm on 16.04 running the i3
window manager.
I recently installed the inconsolata font using:
$ sudo apt-get install fonts-inconsolata
I updated the cache:
$ sudo fc-cache -fv
The font appears to be installed:
$ fc-list | grep -i inconsol
/usr/share/fonts/truetype/inconsolata/Inconsolata.otf: Inconsolata:style=Medium
Yet, when I try to use in my terminal (by trying to set the font from the terminal's menu options Edit and then "Profile Preferences", it is not listed among the available fonts.
I've also launched the Unity tweak tool using:
$ unity-tweak-tool
… and I was able to set "inconsolata medium" as the "monospace font" but nothing changed. It's not really clear to me how the monospace font configured in the Unity tweak tool relates to the font used in the terminal, but like I said, nothing changed.
Finally, as another data point, here's what I see under /usr/share/fonts
:
$ find /usr/share/fonts | grep -i incons
/usr/share/fonts/truetype/inconsolata
/usr/share/fonts/truetype/inconsolata/Inconsolata.otf
update
Based on a suggestion, I got the .ttf
version from Google fonts and installed it in my system (and updated the fonts cache too). So now I see:
$ find /usr/share/fonts | grep -i incons
/usr/share/fonts/truetype/inconsolata
/usr/share/fonts/truetype/inconsolata/Inconsolata.otf
/usr/share/fonts/truetype/inconsolata/Inconsolata-Regular.ttf
/usr/share/fonts/truetype/inconsolata/Inconsolata-Bold.ttf
… and:
$ fc-list | grep -i incons
/usr/share/fonts/truetype/inconsolata/Inconsolata-Bold.ttf: Inconsolata:style=Bold
/usr/share/fonts/truetype/inconsolata/Inconsolata-Regular.ttf: Inconsolata:style=Regular
/usr/share/fonts/truetype/inconsolata/Inconsolata.otf: Inconsolata:style=Medium
The situation remains the same: I can't select "inconsolata" in my terminal's profile preferences.
fc-cache
as yourself also, i.e. withoutsudo
. – Gunnar Hjalmarsson Dec 20 '17 at 17:49fc-cache
again – Anwar Dec 26 '17 at 06:37fc-cache -fv
(both with and withoutsudo
), closed the terminal, and opened an new terminal. Same thing. – Marcus Junius Brutus Dec 26 '17 at 14:45echo $TERM
says:xterm-256color
. The Inconsolata font shows up on thefont-manager
application, but not onEdit->Profile Preferences
on the terminal menu. – Marcus Junius Brutus Dec 26 '17 at 16:33dconf
, editing manually and then loading them back in. See this Q/A which helped me: https://askubuntu.com/questions/967517/backup-gnome-terminal – Bill Aug 28 '18 at 09:29