There’s a thing called “Font Manager” in Pop!_OS, and I assume it’s probably something System76 got from Ubuntu and Gnome…
I disabled (unticked) Agave and Amiga and Comic Sans MS (which is a crime against good taste anyway - but I think it got installed as part of the MS TTF meta package) :
So it seems “Font Manager” in Ubuntu Gnome is about as useful as mammary glands on a male bovine… Unless I have to reboot (or restart my DE) - so still utterly useless… I shouldn’t have to reboot to enforce such a minor change… My machine’s been up for 33 days now… I see no reason to change that…
I just close the lid. The power it draws then is 1.1W (measured).
Booting up my laptop draws between 70…100W - for a short time though, around 50 secs - 1 minute.
Approximately (can’t measure exactly) a boot takes 4000 Ws, so if I switch off my latpop for only 15 minustes, it’s a loss… However, it would be worth to switch it off for couple hours, say for the night… which I did not do so far… maybe I should reconsider switching off unused devices…
That does nothing - what “minus” sign anyway? The minus sign at the top doesn’t “relate” to what’s selected in the bottom right pane of the application - it allows you to remove fonts (from a completely “separate” pick list), but not disable / mask them…
OK - I blame MS Teams (yes I use it - for work - native Linux version on Pop!_OS - the last thing that happened before it hung, was some hideous “bot” from my employer sent me a “card” in MS Teams) - my system just hung - so I had to pull the rug out from under it (flick the power switch on the back of the ATX power supply)… After I booted up again went into Font Manager again, and Agave and Amiga and Comic Sans are unticked - but still showing in InkScape…
I built this Pop!_OS system months ago - and I ran that shell script not long after I installed it - so mostly my list of fonts is manage-able - I’d still like something I could clickety-click-click to “mask” fonts instead of removing them - but - I can live / work with my current setup…
Update edit :
Haven’t looked at my Ubuntu 23.04 Thinkpad for a while - just now took a look in InkScape - and there you go riddled and beset, by a VAST plague overload of fonts - why? I will NEVER use about 80% of them! So I’m just running my shell script now called FXXK-off-fonts.bash…
Doing this by editing a text file would take me WEEKS! There’s literally thousands of the little bastards - they’re like termites!
There’s one member of the Dutch Ubuntu forum who mentioned that by removing the fonts-tlwg-* the MythTV Audio center will not work, but I don’t use mediacenters. For dose who use it, you be warned. However: here’s my list of removed fonts. Now I have a small list of fonsts in LibreOffice just I want.
I didn’t need to (reboot) after running my version of Rik’s script - it actually took about 30-45 minutes to run through completely … I wish apt would batch it somehow when you list multiple packages but :
Makes it run through an apt for each potential package thusly :
The following packages were automatically installed and are no longer required:
cups-browsed cups-core-drivers cups-daemon cups-filters-core-drivers cups-ipp-utils cups-server-common evince-commonThe following packages were automatically installed and are no longer required:
cups-browsed cups-core-drivers cups-daemon cups-filters-core-drivers cups-ipp-utils cups-server-common evince-common
fonts-droid-fallback fonts-noto-mono fonts-sil-annapurna gimp-data grub-pc-bin hplip-data libamd2 libbabl-0.1-0 libcamd2
libccolamd2 libcholmod3 libcupsimage2 libgegl-0.4-0 libgegl-common libgimp2.0 libgs-common libhpmud0 libid3tag0
libijs-0.35 libjbig2dec0 libkpathsea6 liblouisutdml-bin liblouisutdml-data liblouisutdml9 libmetis5 libmng2
libmypaint-1.5-1 libmypaint-common libsane-hpaio libsynctex2 libumfpack5 printer-driver-postscript-hp python3-reportlab
python3-reportlab-accel ssl-cert toilet toilet-fonts
Use 'sudo apt autoremove' to remove them.
fonts-droid-fallback fonts-noto-mono fonts-sil-annapurna gimp-data grub-pc-bin hplip-data libamd2 libbabl-0.1-0 libcamd2
libccolamd2 libcholmod3 libcupsimage2 libgegl-0.4-0 libgegl-common libgimp2.0 libgs-common libhpmud0 libid3tag0
libijs-0.35 libjbig2dec0 libkpathsea6 liblouisutdml-bin liblouisutdml-data liblouisutdml9 libmetis5 libmng2
libmypaint-1.5-1 libmypaint-common libsane-hpaio libsynctex2 libumfpack5 printer-driver-postscript-hp python3-reportlab
python3-reportlab-accel ssl-cert toilet toilet-fonts
Use 'sudo apt autoremove' to remove them.
The following packages will be REMOVED:
fonts-deva-extra*
0 upgraded, 0 newly installed, 1 to remove and 8 not upgraded.
After this operation, 3,387 kB disk space will be freed.
(Reading database ... 259045 files and directories currently installed.)
Removing fonts-deva-extra (3.0-6) ...
Processing triggers for fontconfig (2.14.1-3ubuntu3) ...
(Reading database ... 259037 files and directories currently installed.)
Purging configuration files for fonts-deva-extra (3.0-6) ...
Reading package lists... Done
I reckon I would have saved some time and processing if I’d run “apt autoremove” BEFORE…
subsequent edit :
Hmmm - I should / could, just change that script instead of a loop : sudo apt purge $fonts
I’m not even sure how ${aFonts[@]} even works - I just plagiarised that from “Rik”…
If you want to remove a font from LibreOffice, you can do so by following these steps:
Open LibreOffice:
Start by opening LibreOffice on your computer.
Access the Fonts Menu:
Click on “Tools” in the menu bar at the top of the LibreOffice window.
Select “Options”:
In the dropdown menu that appears when you click on “Tools,” select “Options.”
Navigate to “LibreOffice” Options:
In the “Options” dialog box, expand the “LibreOffice” section in the left sidebar by clicking on it.
Open the “Fonts” Subsection:
Within the “LibreOffice” section, you will see a “Fonts” subsection. Click on it.
Manage Installed Fonts:
In the “Fonts” section, you can manage the fonts used in LibreOffice. Here, you can add or remove fonts.
To remove a font: Select the font you want to remove from the list of installed fonts, then click the “Delete” button or the “Remove” option if available.
Confirm Removal:
LibreOffice will typically ask for confirmation before removing a font. Confirm that you want to delete the selected font.
Apply Changes:
After you’ve removed the fonts you no longer want, click the “OK” or “Apply” button in the Options dialog box to save your changes.
Please note that removing fonts from LibreOffice will not delete them from your computer’s font library. It will only remove them as available options within LibreOffice. If you want to uninstall a font from your computer entirely, you’ll need to do so through your operating system’s font management tools.
Keep in mind that LibreOffice relies on system fonts, so removing certain system fonts may affect the rendering of documents in LibreOffice or other applications that use those fonts. Be cautious when removing fonts to ensure it won’t disrupt your workflow.
I tested Font Manager in Ubuntu 22.04. I also have a whole bunch of Noto fonts for different languages (which is useful for me, as I do work with some Asian fonts in particular).
I tried to disable most of them with the Font Manager, and they disappeared from the Menu fonts list in Libre Office without restarting the OS or the session (but Libre Office needs to be restarded).
Strangely, they are still in the Fonts list in Inkscape, even after restarting the OS. At this point, I do not understand why.
Most fonts that I have added, I added them by double-clicking on a downloaded font file, and they are not linked to a package.
On the command line, I did sudo apt list | grep fonts-noto
to check packages and I only get 11 noto fonts
So my guess is that one can safely delete unused fonts (or move the fonts files somewhere else) as long as they are not installed through a package manager, and use apt list to check if it is the case or not.
That makes a lot of sense.
The fonts installed by a package manager will almost certainly have reverse dependencies.
You can use apt-cache rdepends pkgname to find if anything depends on a package
Can use: sudo apt autoremove -s “unwanted-fonts-pkg” on command line. Autoremove will show dependencies and -s flag will show what happens if command is executed, without actually executing it. If no necessary packages show up, remove -s flag and sudo apt remove “unwanted-pkgs”.
You should be aware that @zdevz used “unwanted-fonts-pkg” as placeholder for the name of an ACTUAL package installed in your system… not “literally” the package name…
That’s never going to work - it’s obvious to me what @zdevz was saying…
Of course that’s not going to work…
You need to know the ACTUAL package name of the font package you want to remove…
e.g. “fonts-takao-pgothic” is the name of a Debian/Ubuntu package that contains fonts…
Maybe if you tried something like apt list *font* **
but you will probably get a huge list returned from that command…
– edit –
** that command doesn’t work - but - read up on the apt and apt-get and dpkg commands to list packages (apt list just lists every package where installed or not)…
I understand now that i have to use the real name of the fonts, thanks for that. Most fonts in LibreOffice I removed/deleted, only 21 fonts are left.
I suppose that the "list font " are system fonts? I like to know wich systemfonts safely can be deleted and with wich command. I don 't need Asian, Thai and other outside Europe fonts and I will never use them. That’s why I want to get rid of them.