198

I've been finding fonts on the internet and installing them on my system.

What's the easiest way to change my fonts? I would prefer an easy to use graphical way, but answers with command line recommendations are also welcome.

0

14 Answers 14

209

Ubuntu 18.04 and later versions

The latest Ubuntu uses GNOME Shell. You can change the fonts using the "GNOME Tweaks" (gnome-tweak-tool) program.

Install the program using Ubuntu Software:

enter image description here

And change the font and font size.

enter image description here

13.04 - 17.04

For Unity interface users, customisation of fonts can be done using unity-tweak-tool Install unity-tweak-tool

enter image description here

enter image description here

enter image description here

For 12.04:

For Unity interface users, they have their own tweak-tool. Customisation of Fonts in 12.04 can be done through myunity Install myunity

enter image description here

4
  • 24
    So, I have to download a special package to change the font? Surely, you can't be serious? Aug 6, 2014 at 17:41
  • 12
    @StevePitchers : I am. And don't call me Shirley!
    – kervin
    Jan 24, 2015 at 21:35
  • 1
    At version 15.10, we still need to use 2 (two) 3rd party tools for such "System Settings": "Unity Tweak Tool" gets updated better, but it still lacks a number of features that "Ubuntu Tweak" includes such as "Desktop Font".
    – Sadi
    Nov 14, 2015 at 11:06
  • It seems any "tweak" utility is not found for ubuntu 16.04
    – paul23
    Mar 17, 2018 at 16:56
33

In Oneiric (11.10), I wasn't interested in installing GNOME Shell just to change font sizes. This will do it via command-line:

gsettings set org.gnome.desktop.interface document-font-name 'Sans 10'
gsettings set org.gnome.desktop.interface font-name 'Ubuntu 10'
gsettings set org.gnome.desktop.interface monospace-font-name 'Ubuntu Mono 11'
gsettings set org.gnome.nautilus.desktop font 'Ubuntu 10'
gconftool --set /apps/metacity/general/titlebar_font 'Ubuntu Bold 10' --type STRING

The fontfaces are the same as in default Oneiric, but sized down to what looked like much more manageable sizes.

0
21

For 11.04 and earlier:

Right click on the desktop and select "Change Desktop Background" and then click the Fonts tab. Couldn't be easier!

(NB: After playing with these setting you may wish to reset your font configuration.)

Screenshot

16
gsettings set org.gnome.nautilus.desktop font 'Ubuntu 10'

Where Ubuntu 10 is the font and size you want to use. It defaults at Ubuntu 11.

0
13
  • Install Advanced Settings (aka gnome-tweak-tool) from the Software Center

  • Click the dash button or press the Super key,search for Advanced Settings and launch it.

  • Click on Fonts and adjust the Font settings .

2
  • Is this the same as @fossfreedom's answer above?
    – zpletan
    Oct 16, 2011 at 2:08
  • 1
    @zpletan Yes original I answered this on another question but then these questions were merged.
    – Lincity
    Oct 16, 2011 at 5:12
12

For Ubuntu 11.10 and newer

You can also install DConf Editor ("dconf-tools" package [only a few KB]) from Ubuntu Software Center.

To change fonts and/or their size

  1. Launch the DConf Editor;
  2. Open "org" -> "gnome" -> "desktop" -> "interface" in the left pane;
  3. In the right pane, you'll find "document-font-name", "font-name" and "monospace-font-name". You can replace the font name and/or its size by the one you wish for each parameter;
  4. Open "org" -> "gnome" -> "nautilus" -> "desktop" in the left pane;
  5. In the right pane, you'll find "font". You can type the name of the font you wish followed by its size (Example : "Ubuntu 11") as value.

To change fonts hinting and/or antialiasing

  1. Launch the DConf Editor;
  2. Open "org" -> "gnome" -> "settings-daemon" -> "plugins" -> "xsettings" in the left pane;
  3. In the right pane, you'll find "hinting" and "antialiasing". You can select the value you wish for the parameters.

DConf Editor gives useful information for the selected parameter thanks to the fields "Summary" and "Description".

The old gnome-appearance-properties is not available under Ubuntu 11.10 and newer.

2
  • +1 But this doesn't help with changing fonts and their size.
    – HRJ
    Apr 29, 2013 at 7:50
  • 1
    Yes, you're right! I originally answered another question which was only about "hinting" and "antialiasing" but it has been merged with this more complete one. I'm going to add missing information to my answer...
    – Golboth
    Apr 29, 2013 at 12:08
5

Aleksandar is correct. You can change the system font settings by installing gnome-tweak-tool (sudo apt-get install gnome-tweak-tool). However, it should be also noted that at this time, doing so also forces you to install all of GNOME-Shell, mutter, clutter, and about 20 other packages.

It's far from the end of the world, but it seems excessive just to change system fonts. (Confession: I did it anyway :).

I doubt it actually needs these things since the tool itself runs fine under Unity, however that's the way the package dependencies are currently set up.

Also note: The fact that you can't change the system fonts from "Appearance" any longer is not a design decision made by Ubuntu developers. These settings were removed from GNOME 3 by upstream GNOME. That this change appears in 11.10 is a result of the migration from GNOME 2.x to GNOME 3 libraries and tools.

3

If you install Ubuntu-Tweak, you can change the font settings from their own tab. It is not yet at a stable version however, so the general "use at your own risk" warning applies.

The benefit is: you don't need to install GNOME-Shell.

Ubuntu Tweak Font settings

To install it, first add this PPA:

ppa:tualatrix/next

and then install ubuntu-tweak in the software center.


There is also another option, which is less "official", but works well. It is a font settings dialogue for the GNOME Control Center.

You can get it here: http://gnomefiles.org/content/show.php/GNOME+Font+Settings?content=146126

Example: Example screenshot

3

Use Gnome Tweak tool

Install it using the below commands in the terminal.


sudo add-apt-repository ppa:tualatrix/ppa

sudo apt-get update

sudo apt-get install ubuntu-tweak


Once installed goto Tweaks>>fonts

ubuntu

1
  • Also can use "MyUnity"
    – Web-E
    May 7, 2012 at 14:58
2

The gnome-tweak-tool now supports changing all Gnome desktop fonts.

enter image description here

1
  • I do not see that option.
    – Rasmus
    Mar 5, 2012 at 17:46
1

Per user in GTK3 3.17+ ...

This has worked for me, but I'm actually on GTK3 version 3.24.10. My research though indicates this has been a problem since 3.17.

Change the gtk-font-name setting in ~/.config/gtk-3.0. The value should include the font name and size such as...

gtk-font-name=Helvetica 10
0

You can use gnome-tweak-tool.Search it in synaptic.

0
0

I couldn't find it either.

I came to the conclusion that installing an app called MyUnity was the most reasonable solution for now. In the Ubuntu Software Centre search for: MyUnity, or:

sudo apt-get install myunity

Once installed and launched, try tweaking the settings under "font."

Hope this helps.

0

In Ubuntu 22.04 gnome-tweak-tool has been renamed to gnome-tweaks.

apt install gnome-tweaks
gnome-tweaks

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .