How to install fonts [solved]

If none of the more specific forums is the right place to ask

How to install fonts [solved]

Postby vinoman » 2019-08-18 10:40

I have a font that I downloaded and want to add to usr/share/font folder but it won't allow me to copy it there. Do I need to be in root? if yes, how do I open Dolphin file manager in root?

Running Debian 10 KDE
Last edited by vinoman on 2019-08-19 21:13, edited 1 time in total.
User avatar
vinoman
 
Posts: 322
Joined: 2008-08-28 03:30

Re: How to install fonts

Postby phenest » 2019-08-18 12:06

What about copying it to $HOME/.local/share/fonts/ ?
ASRock H77 Pro4-M i7 3770K - 32GB RAM - Pioneer BDR-209D
User avatar
phenest
 
Posts: 1703
Joined: 2010-03-09 09:38
Location: The Matrix

Re: How to install fonts

Postby sunrat » 2019-08-18 12:54

To install a system font in KDE, System Settings > Appearance > Fonts > Font Management > Add
“ computer users can be divided into 2 categories:
Those who have lost data
...and those who have not lost data YET ”
Remember to BACKUP!
User avatar
sunrat
 
Posts: 2796
Joined: 2006-08-29 09:12
Location: Melbourne, Australia

Re: How to install fonts

Postby vinoman » 2019-08-18 13:38

Thanks for the advice.
User avatar
vinoman
 
Posts: 322
Joined: 2008-08-28 03:30

Re: How to install fonts

Postby vinoman » 2019-08-19 20:04

phenest wrote:What about copying it to $HOME/.local/share/fonts/ ?


Had to create a fonts folder in .local/share but it still didn't show up after loging back in. This should be easy to do!

I still need to be in root to move a font file. How do I do that?
User avatar
vinoman
 
Posts: 322
Joined: 2008-08-28 03:30

Re: How to install fonts

Postby Dai_trying » 2019-08-19 20:11

You might need to update your font cache
Code: Select all
fc-cache -fv
Dai_trying
 
Posts: 754
Joined: 2016-01-07 12:25

Re: How to install fonts

Postby phenest » 2019-08-19 20:54

vinoman wrote:I still need to be in root to move a font file. How do I do that?

You could copy it rather than move it. You don't need root privileges for that.
Or, open a terminal:
Code: Select all
$ su -
Password:

... then move it using the command line.
ASRock H77 Pro4-M i7 3770K - 32GB RAM - Pioneer BDR-209D
User avatar
phenest
 
Posts: 1703
Joined: 2010-03-09 09:38
Location: The Matrix

Re: How to install fonts

Postby vinoman » 2019-08-19 21:13

Dai_trying wrote:You might need to update your font cache
Code: Select all
fc-cache -fv


That did the trick! Thanks.

I can move a font into .local/share/fonts then run $ fc-cache -fv and the new font is on the list. :)
User avatar
vinoman
 
Posts: 322
Joined: 2008-08-28 03:30

Re: How to install fonts

Postby ethan8 » 2019-09-05 05:03

sunrat wrote:To install a system font in KDE, System Settings > Appearance > Fonts > Font Management > Add


Ohhh, Thank you very much.
Finding the right answer.
Thank you! This was a big help.
ethan8
 
Posts: 1
Joined: 2019-08-29 09:00


Return to General Questions

Who is online

Users browsing this forum: No registered users and 13 guests

fashionable