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

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
  • 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). – Dan Dascalescu Sep 4 '16 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]. – Dan Dascalescu Sep 4 '16 at 9:07
  • After removing Kacst and the lao..thai fonts, the following packages are no longer required: pastebin.ubuntu.com/23131539 – Dan Dascalescu Sep 4 '16 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 '16 at 9:37
  • 1
    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 '16 at 18:38

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

  • Please undo your down voting. I help some people and they do not help me back. I want the points so I can make useful tags for others. – Bhikkhu Subhuti Sep 4 '16 at 13:05
  • 1
    You have two downvotes. Neither of those is mine. But good job on editing your answer – Sergiy Kolodyazhnyy Sep 4 '16 at 17:28
  • Undid my downvote as well. Thank you. – Dan Dascalescu Sep 8 '16 at 22:38

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.

Your Answer

 

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

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