More font removal hurdles

SEP 2: After 3 separate font removal sessions that succeeded in freeing up approx 312MB, there’s still a whole bunch of non-latin fonts in my root folder: / usr/share/fonts/

I’m having a particular problem removing some 260 “Noto” fonts from the /truetype subdir

  • In Terminal, I can’t find the correct sudo command to remove them
  • In Synaptic, searching “noto” packages yields:
    Package: fonts-noto
    Installed ver: 20171026-2
    Latest ver: [ditto]
    Description: “metapackage to pull in all Noto fonts”

Here’s the problem:
“Mark for removal” or “Mark for complete removal” also requires removing
fonts-zorin-os-core
zorin-appearance
zorin-appearance-layouts-shell-core
zorin-appearance-layouts-support
zorin-auto-theme
zorin-desktop-session
zorin-desktop-themes
zorin-os-artwork
zorin-os-desktop

REMOVING THOSE FILES LOOKS LIKE A REALLY BAD IDEA!!
So am I stuck with 260 useless Noto fonts or what??

I am using Nemo File Manager. I suspect that in a different FM, you may get different results.
Which is part of why I use Nemo (Though SpaceFm is pretty good, too).

But, I elevated Nemo to Root. Then went to /usr/share/fonts
I hit the Search Button and typed “noto”
The results appeared in the FM as a List.

I then highlighted them all (click and drag, I had to hold the moouse button down for a minute) and once all highlighted, I could right click and select delete.

You mean something like

sudo find /usr/share/fonts -type f -iname “*noto*” -exec rm -f {} ;

2 Likes

Cool! The Nemo method seems to have worked on the noto fonts, but I’ll try this on some others. Are you being literal with the quotation marks and asterisks surrounding the name?

This worked once I figured out how “elevate to root.”
[right click & select “Open as root”]. Gracias.

1 Like

It stops bash trying to glob the asterisks.

Bash Globbing

1 Like

Thats what the sudo is for.