4 ms·
Installing Custom Fonts on Linux from the Command Line
- necovek 4y agoFontconfig will also look at your ~/.fonts directory: no sudo required.
- bradley_taunt 4y agoI saw this option in other forums when I was putting together this post, but it didn't work well for me (personally). Restarted my machine a few times and still wouldn't show the custom font in some applications. Went the `sudo` route and it worked the first time. YMMV.
- necovek 4y agoSome apps might not support live reload, but at least native Gtk and KDE apps should work well. I may have had to reload LibreOffice in the past, but I think that's resolved as well, though I haven't tried in a while. You can also run fc-cache in ~/.fonts I think.
- Someone 4y agoFTA: “Next we need to make sure we have full read and write privileges for this new folder” What are the write privileges for? If the OS needs to write additional data, can’t that be done in a separate directory?
- necovek 4y agoThey are likely unnecessary, as long as read access is available. Write access is needed for fc-cache update, but that's done as sudo as well.