Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

How to install fonts [solved]

If none of the specific sub-forums seem right for your thread, ask here.
Post Reply
Message
Author
User avatar
vinoman
Posts: 354
Joined: 2008-08-28 03:30

How to install fonts [solved]

#1 Post by vinoman »

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
phenest
Posts: 1702
Joined: 2010-03-09 09:38
Location: The Matrix

Re: How to install fonts

#2 Post by phenest »

What about copying it to $HOME/.local/share/fonts/ ?
ASRock H77 Pro4-M i7 3770K - 32GB RAM - Pioneer BDR-209D

User avatar
sunrat
Administrator
Administrator
Posts: 6412
Joined: 2006-08-29 09:12
Location: Melbourne, Australia
Has thanked: 116 times
Been thanked: 462 times

Re: How to install fonts

#3 Post by sunrat »

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
vinoman
Posts: 354
Joined: 2008-08-28 03:30

Re: How to install fonts

#4 Post by vinoman »

Thanks for the advice.

User avatar
vinoman
Posts: 354
Joined: 2008-08-28 03:30

Re: How to install fonts

#5 Post by vinoman »

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?

Dai_trying
Posts: 1100
Joined: 2016-01-07 12:25
Has thanked: 5 times
Been thanked: 16 times

Re: How to install fonts

#6 Post by Dai_trying »

You might need to update your font cache

Code: Select all

fc-cache -fv

User avatar
phenest
Posts: 1702
Joined: 2010-03-09 09:38
Location: The Matrix

Re: How to install fonts

#7 Post by phenest »

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
vinoman
Posts: 354
Joined: 2008-08-28 03:30

Re: How to install fonts

#8 Post by vinoman »

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. :)

ethan8
Posts: 1
Joined: 2019-08-29 09:00

Re: How to install fonts

#9 Post by ethan8 »

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.

Post Reply