Linux mint install fonts
Followup: whoops. That’s not your script, unless you are Aristotle Pagaltzis (http://plasmasturm.org/log/457/). I’ve tried to contact him. Next time I shall try to pay more attention. Perhaps it would help if you’d cite the author of scripts you employ in tips.
Yeah, this is good stuff ;-). Thank you!
I want to make one report of a failure that I don’t understand, but cannot be
attributed to your script in an unaltered form. I want to be clear: I changed
your script and then it failed ;-/. So you can completely ignore this; but I
don’t think my reason for the change was ridiculous. I’ll describe that change
in a moment.
The script (above) named vistafonts-installer did not run to successful
completion. Well, so it goes, even with ‘simple’ scripts, I’ve found. The
failing command is the chmod expression in (at present) line # 53
( cd ~/.fonts && mv cambria.ttc cambria.ttf && chmod 600 \
calibri.ttf cambria.ttf candara.ttf \
consola.ttf constan.ttf corbel.ttf )
chmod: cannot access `calibri.ttf’: No such file or directory
chmod: cannot access `cambria.ttf’: No such file or directory
chmod: cannot access `candara.ttf’: No such file or directory
chmod: cannot access `consola.ttf’: No such file or directory
chmod: cannot access `constan.ttf’: No such file or directory
chmod: cannot access `corbel.ttf’: No such file or directory
** Here’s the change I made — out of personal preference regarding what
happens in my ~. I created a variable $FONT_DL_TARGET_DIR to place the fonts
in. I edited the script so that all instances of text «~/.fonts» was replaced
by this variable.
Ack that maybe FC expects ~/.fonts as a standard location. The fc-cache
command seemed to work even so.
Rationale is that XDG standards lead to fewer top-level dotdirs and
dotfiles under ~ and that makes it easier to keep myself organized.
So ~/.local/share/fonts is what I think an XDG-conformant choice would look
like.
I’m a passable *sh scriptor when I’m fully awake. IMHO.
In any event: the failure to chmod the files based on that shell expansion you
used is the reason for this comment, and I cannot account for it. My shell is
bash and my platform is LMDE, so my `sh´ ought to be a symlink to /bin/dash
. yup, it is.
I’ve put my edited version of your script up as a gist at
Best regards, yours in Minty-Freshness,
redact
How to Add New Fonts in Linux Mint
In this short tutorial, we’ll add new fonts to Linux Mint in few easy steps. You will find also source of interesting free fonts and how to add fonts from Microsoft like: times new roman.
Step 1: Install Font Manager in Linux Mint
The first step is installation of additional software which is going to add and organize the fonts for us. More information can be found here: Font Manager — Simple font management for GTK+ desktop environments.
The installation is simple:
- Menu
- Software Manager
- Search for — Font-manager
- Install
You can launch it after the installation in order to test it.
Note: Installation is available also from terminal by:
sudo apt-get install font-manager
Step 2: Download new fonts
In this step we are going to download a few fonts in order to add them to our Linux Mint. There are many different sources of fonts available on the web. My preferred resource is: dafont.com.
For this tutorial let’s download font: Calvin and Hobbes
It’s downloading a zip file which contains two files:
Note: Google Fonts can be downloaded from: Google Fonts
Step 3: Add new font to Linux Mint
The final step is to add the extracted fonts in the previous step with Font Manager. Follow next steps:
- Font Manager
- Add Fonts — click the plus sign in the program — top right corner
- Select the one of the extracted .TTF files
- Open
After the import you will see the new font added to User’s fonts.
If you wonder why there are two files for this font — the answer is because they are two different variations as you can see from the picture below:
Step 4: Bonus: Install Microsoft TTF fonts on Linux Mint
As a bonus step you can find how to install Microsoft TTF fonts on Linux Mint as:
If you prefer to use the GUI you can follow:
- Menu
- Software Manager
- Search for — Ttf-mscorefonts-core
- Install it
That’s all. Now you can use all Microsoft TTF fonts in your Linux OS.
If you prefer to use the terminal you can do it by:
sudo apt-get install ttf-mscorefonts-installer
Free Fonts for Linux Mint
By using SoftHints — Python, Linux, Pandas , you agree to our Cookie Policy.