LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-04-2017, 02:46 PM   #1
SaintDanBert
Senior Member
 
Registered: Jan 2009
Location: "North Shore" Louisiana USA
Distribution: Mint-20.1 with Cinnamon
Posts: 1,719
Blog Entries: 3

Rep: Reputation: 107Reputation: 107
seeking howto remove fonts I never use


A default install of Linux Mint 18.1 provided me with a wealth of fonts. I don't use any of these fonts for languages that are not US or British English, some flavor of French, some flavor of German, an occasional Italian, Spanish or Russian.

Is there a font-manager or other technique so that I might:
  • review what these fonts look like
  • discover font names for those that I want to keep
  • completely remove those that I don't use or care about
  • do this safely on the off chance that I kill a font that something really needs
I don't want to use the dummy document, format some text, make a note, rinse and repeat approach.

I know that I might get a document or page that uses {random font]. I know, too, that browsers and other apps will look for any installed font that is a close approximation to what came over the wire. I'm willing to deal with on-screen gibberish (like I do for oriental text) for those fonts that I completely remove.

Thanks is advance,
~~~ 0;-Dan
 
Old 05-04-2017, 03:10 PM   #2
Habitual
LQ Veteran
 
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Blog Entries: 37

Rep: Reputation: Disabled
Menu > font viewer?
 
1 members found this post helpful.
Old 05-04-2017, 03:36 PM   #3
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 20 MATE
Posts: 8,048
Blog Entries: 5

Rep: Reputation: 2918Reputation: 2918Reputation: 2918Reputation: 2918Reputation: 2918Reputation: 2918Reputation: 2918Reputation: 2918Reputation: 2918Reputation: 2918Reputation: 2918
Have you tried Font Manager? (for GNOME and variants)

Available in the Mint repos and through Mint's Software Manager (font-manager).
 
1 members found this post helpful.
Old 05-04-2017, 04:26 PM   #4
SaintDanBert
Senior Member
 
Registered: Jan 2009
Location: "North Shore" Louisiana USA
Distribution: Mint-20.1 with Cinnamon
Posts: 1,719

Original Poster
Blog Entries: 3

Rep: Reputation: 107Reputation: 107
Thanks to Habitual and hydrurga,

Since I run Mint 18.1 with Cinnamon DE, I often turn a blind eye (for my sins) to packages that are "Gnome-this" or some other DE. Thank you both for slapping me with the obvious.

On a similar note, I'm so used to grabbing packages with 'synaptic' or 'apt-get' that I forget about the "Software Manager" app. Again, WHACK! with the obvious.

To everyone else out there, I regret wasting people's time. However, I will close the loop on this thread once I clean my font pile and can report what I did and how that worked.

Thanks, again,
~~~ 0;-Dan

Last edited by SaintDanBert; 05-09-2017 at 05:45 PM.
 
Old 05-05-2017, 11:37 AM   #5
DavidMcCann
LQ Veteran
 
Registered: Jul 2006
Location: London
Distribution: PCLinuxOS, Debian
Posts: 5,788

Rep: Reputation: 2140Reputation: 2140Reputation: 2140Reputation: 2140Reputation: 2140Reputation: 2140Reputation: 2140Reputation: 2140Reputation: 2140Reputation: 2140Reputation: 2140
Surely the best way to find what installed fonts look like is with Libre/OpenOffice Writer? You can also see their character sets, since the tool for picking a special character will only show those in the selected font.
 
1 members found this post helpful.
Old 05-06-2017, 01:43 AM   #6
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 17,401
Blog Entries: 10

Rep: Reputation: 5213Reputation: 5213Reputation: 5213Reputation: 5213Reputation: 5213Reputation: 5213Reputation: 5213Reputation: 5213Reputation: 5213Reputation: 5213Reputation: 5213
imagemagick is also capable of font preview, by simply passing the font file as argument.
output can be piped directly into an image viewer.
miniscript:
Code:
#!/bin/sh
convert "$@" PNG:- | feh -^ "$@" -N -
 
1 members found this post helpful.
Old 05-06-2017, 05:10 PM   #7
Shadow_7
Senior Member
 
Registered: Feb 2003
Distribution: debian
Posts: 4,137
Blog Entries: 1

Rep: Reputation: 873Reputation: 873Reputation: 873Reputation: 873Reputation: 873Reputation: 873Reputation: 873
To preview fonts

$ xlsfonts
$ fc-list
$ xfontsel
$ fontforge <font.file>

A lot of the fonts are stored in /usr/share/fonts/X11/*, but when you delete them you need to regen the fonts.dir and fonts.scale in the path with the font you deleted. If done through distro means, the package manager tends to take care of that. But for example, without the manager.

$ cd /usr/share/fonts/X11/misc/
$ sudo rm big-cursor.pcf.gz
$ sudo mkfontscale
$ sudo mkfontdir
$ fc-cache -f -v

Depending on your setup you may need to restart X. Otherwise use distro means.

$ sudo apt-get remove xfonts-jmk

To enable / disable bitmap fonts in debian based distros.

$ sudo dpkg-reconfigure fontconfig-config

Grabbing certain things like libreoffice or latex can grab a lot of fonts. Which might be installed by default for your distro. And outside of removing those as installed packages they'll be re-installed with various updates to those packages. So taking manual non-distro means would be a bit futile.
 
1 members found this post helpful.
Old 05-09-2017, 05:43 PM   #8
SaintDanBert
Senior Member
 
Registered: Jan 2009
Location: "North Shore" Louisiana USA
Distribution: Mint-20.1 with Cinnamon
Posts: 1,719

Original Poster
Blog Entries: 3

Rep: Reputation: 107Reputation: 107
I was hoping there was an easy way to rid my workstations of things like:
  • all "asian" family fonts
  • all "arabic" family fonts
  • all "cyrillic" family fonts
  • all but a few fonts of each type (serif, sans serif, monospaced, bold, italic, etc)
This would leave behind fonts for everything English and most of western Europe ... and friends. I also want to keep the set of cursive, caligraphic, and decorative fonts that I use frequently.

Part of my trouble lies in my woeful lack of knowledge about fonts in the linux world. I know that X-windows does something unique and that there are win-dose TrueType(R) work-alike fonts. As I look at the list of fonts, though, I drowned in the name-shape-character-set details.

The Menu->Font Viewer app shows me what is installed, but I cannot sort by serif vs. sans serif or plain vs. bold vs. italic and so on.

Thanks in advance,
~~~ 0;-Dan

Last edited by SaintDanBert; 05-09-2017 at 05:48 PM.
 
Old 05-10-2017, 01:53 AM   #9
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 17,401
Blog Entries: 10

Rep: Reputation: 5213Reputation: 5213Reputation: 5213Reputation: 5213Reputation: 5213Reputation: 5213Reputation: 5213Reputation: 5213Reputation: 5213Reputation: 5213Reputation: 5213
i think many fonts have multi-language support within one font file, can't really change that.
maybe latin-only fonts are packaged, and you can use those to replace the multilanguage/alphabet fonts.
 
1 members found this post helpful.
Old 05-10-2017, 05:02 AM   #10
remma12
Member
 
Registered: May 2017
Distribution: Arch
Posts: 65

Rep: Reputation: 28
To view I use gnome-tweak-tool's font changer, cand just scroll through a list then
 
Old 05-11-2017, 01:58 PM   #11
SaintDanBert
Senior Member
 
Registered: Jan 2009
Location: "North Shore" Louisiana USA
Distribution: Mint-20.1 with Cinnamon
Posts: 1,719

Original Poster
Blog Entries: 3

Rep: Reputation: 107Reputation: 107
Quote:
Originally Posted by remma12 View Post
To view I use gnome-tweak-tool's font changer, cand just scroll through a list then
I forget if I ever knew... can I use gnome-tweak-tool within a Cinnamon desktop?

Thanks for the suggestion,
~~~ 0;-Dan
 
Old 05-11-2017, 02:01 PM   #12
remma12
Member
 
Registered: May 2017
Distribution: Arch
Posts: 65

Rep: Reputation: 28
Cinnamon is based on Gnome so should work fine
 
Old 05-11-2017, 02:02 PM   #13
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 20 MATE
Posts: 8,048
Blog Entries: 5

Rep: Reputation: 2918Reputation: 2918Reputation: 2918Reputation: 2918Reputation: 2918Reputation: 2918Reputation: 2918Reputation: 2918Reputation: 2918Reputation: 2918Reputation: 2918
Quote:
Originally Posted by SaintDanBert View Post
I forget if I ever knew... can I use gnome-tweak-tool within a Cinnamon desktop?

Thanks for the suggestion,
~~~ 0;-Dan
According to this:

https://github.com/linuxmint/Cinnamon/issues/215

Quote:
All the settings available in gnome-tweak-tool are now available in cinnamon-settings.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
seeking HOWTO write directly to DVD media SaintDanBert Linux - Software 1 10-19-2015 12:48 PM
seeking howto use 'logger' in the world of 'rsyslogd' SaintDanBert Linux - Server 3 10-09-2015 12:25 PM
seeking good howto for virtualization rookie SaintDanBert Linux - Desktop 4 02-12-2013 08:51 PM
seeking howto printing 2-up duplex ... correctly SaintDanBert Linux - Desktop 2 06-22-2012 03:20 PM
seeking HOWTO -- EmperorLinux(tm) kernel SaintDanBert Linux - Hardware 1 12-08-2009 04:06 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:47 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration