I'm currently running Ubuntu and a few other Linux distributions on my computer and since I use the TTY a lot, a good font is pretty important!
Does anyone know the name of the default console/TTY font used in Ubuntu and Debian?
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It only takes a minute to sign up.
Sign up to join this communityI'm currently running Ubuntu and a few other Linux distributions on my computer and since I use the TTY a lot, a good font is pretty important!
Does anyone know the name of the default console/TTY font used in Ubuntu and Debian?
$ /bin/setfont /usr/share/consolefonts/FOO.psf.gz
)The GUI font is set, for Ubuntu, in the ubuntu-artwork
package by a default setting in /usr/share/glib-2.0/schemas/ubuntu-artwork.gschema.override
. The change was made in Bug #865013 on
2011-10-04 for Ubuntu 11.10. It's possible to query the value of this setting (the user may have overridden or changed it) with:
$ gsettings get org.gnome.desktop.interface monospace-font-name
'Ubuntu Mono 13'
The configuration of the Linux Terminal consoles fonts is slightly more involved; there are a limited number of slots available for characters on the framebuffer, so the best subset is selected at package install time by the code in /var/lib/dpkg/info/console-setup.config
with the result stored in /etc/default/console-setup
.
As @Chen Xiao-Long notes, the console font subsets are built-up from a myriad of bitmap fonts sourced from different places; these are fully documented in /usr/share/doc/console-setup/copyright.fonts.gz
. When the hinting-work in Ubuntu Mono reaches a high-enough level, then hopefully it will be possible to bitmaps exported from Ubuntu Mono instead, see Bug #724022, at least for the areas where we have coverage.
/etc/default/console-setup
directly, use sudo dpkg-reconfigure console-setup
.
Apr 3, 2021 at 0:54
Fixed
familiy. You could confirm this by checking /etc/default/console-setup
in a brand new (VM) install
Apr 3, 2021 at 0:56
That's what I found in another post:
"Ubuntu Monospace comes preinstalled with Ubuntu 11.10 and it is the default terminal font."
/bin/setfont /usr/share/consolefonts/FOO.psf.gz
) fonts are Terminus (terminus-font.sourceforge.net)
console-setup
), only some of the fonts are Terminus. According to my /etc/default/console-setup
file, the default font is Fixed16
, which is made from georgian16.bdf, unifont.bdf+h16.bdf, etl16-unicode.bdf
. Do you know where those came from? Thanks!
Jan 22, 2012 at 22:31
Well, I've just figured out the correct answer for Xubuntu 14.04 in TTY (text-only mode, no X), it's this one: /usr/share/consolefonts/Uni2-Fixed16.psf.gz
I've compared the default console (CTRL-ALT-F1) with modified console (CTRL-ALT-F2), where I walked through:
for i in /usr/share/consolefonts/Uni*; do setfont "$i"; ls -l /proc/; echo -e "\nINFO: currently set font: $i"; sleep 2; clear; done
(I'd been interested in unicode fonts only)
Uni3-Fixed16.psf.gz
, I cannot see any difference between Uni2 and Uni3.
The default terminal font in Ubuntu (19.04, etc...) is named DejaVuSansMono and is found in:
/usr/share/fonts/truetype/dejavu/DejaVuSansMono.ttf
You can try the True Type (and GNU licensed) version of Fixed Sys.
It's not perfectly equal, but it's the most faithful version I've found. Take a look and enjoy ;)
I had a problem where the fonts in every application including the Firefox browser, in my Kali, changed after I installed a file(I do not know how it changed.)
There was no perfect video/answer which showed how to reset the fonts.
1) To change the fonts throughout the system(other than the terminal) , search for the Fonts tweak tool. Here, you can change any font that you want to use.
But if you want to use a custom font, download a custom font(Ubuntu Regular preferably) Then proceed as follows Other Locations -> Computer -> usr -> share -> fonts.
Paste your custom font in the fonts folder and now you will get an option to select your custom font, in the Fonts Tweak tool.
2) If you want to reset the Terminal Font with the Default one, CONSOLAS REGULAR is the font you must download, and repeat the part 1 of this answer.
I tried a lot of fonts but nothing suits so well like this Default font.