10

How can I get rid of fonts I'll never use, for locales I'll never need?

Ubuntu's Font Viewer comes with tons of fonts for every locale imaginable - Chinese, Korean, Japanese, Arabic, Urdu, a bunch of fonts called Kacst, some called Qran etc.

With all due respect for those folks, probably even they are only going to need ONE of those regional fonts on their machine, tops. As for the rest of the world, we'll be fine with Latin.

BleachBit cleans up unused localizations, but doesn't clean up unused fonts.

I don't care about the disk space, but these fonts pollute the font space and make selecting the fonts I really want a mess:

A mess of regional fonts

1
  • I've closed my own question as a duplicate, with the best answer being this one. Jan 10, 2021 at 13:23

3 Answers 3

14

You are using Kubuntu I see from the screenshot. Unfortunately, it depends on fonts-noto-cjk which is very large in size (almost 110 MB) and sometimes causes hang on font cache refreshing.

Remove it with the command

sudo apt remove fonts-noto-cjk

Other font you mentioned are kacst (which are arabic variants). Remove it with

sudo apt remove fonts-kacst-one

You might want to remove these fonts packages too!

  • fonts-lao
  • fonts-lklug-sinhala
  • fonts-sil-abyssinica
  • fonts-sil-padauk
  • fonts-tibetan-machine
  • fonts-thai-tlwg

Remove them all with this command

sudo apt remove fonts-lao fonts-lklug-sinhala fonts-sil-abyssinica fonts-sil-padauk fonts-tibetan-machine fonts-thai-tlwg

Removing these fonts may remove kubuntu-desktop metapackage. That's Ok. Removing these metapackages won't do harm. This could also trigger removing of other regional fonts, remove them with

sudo apt autoremove

If after removal you ever need these fonts, but you can't be sure which package is needed, just install kubuntu-desktop, it should pull sufficient regional fonts.

sudo apt install kubuntu-desktop
7
  • The screenshot is from Unity actually. Here are all the "fonts" packages installed by default on a fresh Ubuntu + Wine (not sure if Wine actually brought any fonts). Sep 4, 2016 at 9:01
  • fonts-lohit-guru is a Punjabi font, fonts-wqy-microhei sounds Chinese, and I'm not sure what the Khmer font is about. Font Viewer is the most rudimentary font tool I've seen. Can't search, can't look at anything more than [0-9.:,;(*!?')A-Z]. Sep 4, 2016 at 9:07
  • After removing Kacst and the lao..thai fonts, the following packages are no longer required: pastebin.ubuntu.com/23131539 Sep 4, 2016 at 9:08
  • @DanDascalescu That's fine! Remove them too. Those are regional supporting font. but keep in mind, some package mind install them forcefully. such as wine. fonts-tlwg-purisa-ttf is a Thai Purisa TrueType font according to the description
    – Anwar
    Sep 4, 2016 at 9:37
  • 2
    On Ubuntu 16.04 I also removed the following packages/fonts: fonts-stix (math symbols), fonts-lohit-guru and fonts-guru-extra. Even more could be removed but the fonts dialog now looks much cleaner and now I can actually find a font.
    – daniels
    Nov 14, 2016 at 18:38
5

Try this..

sudo apt install font-manager

I think you can only disable the fonts, but that might do the trick for you.

Try selecting the font on the right side and then right click

font manager screenshot

2
  • 1
    You have two downvotes. Neither of those is mine. But good job on editing your answer Sep 4, 2016 at 17:28
  • The current version of Font Manager has checkboxes for fonts. Uncheck to disable. May 28, 2020 at 0:40
2

If you have synaptic installed, you can search for the term "font" and then select the packages you don't need to be uninstalled.

If only Ubuntu installation would be location-aware and wouldn't install Nepalese or Gujarati fonts with every installation.

Not the answer you're looking for? Browse other questions tagged or ask your own question.