I need to install more than 100 fonts, so I was wondering if there is an easy way to do this task?
I know you can opening every single one and pressing install font, but installing more then 100 fonts this way will be very time-consuming.
In my home directory i have only .fontconfig
and I do not have .Font
.
In /usr/share/fonts
I cannot copy files because I don't have permission
Is there an easy and fast way to do this task?
Just create a
.fonts
folder in your home directory (if it doesn't exist) and unpack/copy them there.It's also a good idea to manually rebuild the font cache, so you can immediately use the fonts everywhere:
For more details see also https://wiki.ubuntu.com/Fonts
Font Manager
Can manage multiple fonts easily with this application.
Can install mutiple fonts at once.
To install new fonts click on "Manage Fonts" button as on the picture and click on "Install Fonts" in menu.
It can be installed with Software Center or with this command;
Let's say your downloaded fonts are in
fonts
directory in your Downloads folder, Do these to install themIf you want the fonts to be usable by all users
Copy in
/usr/share/fonts
with command lineAlternatively, Type this command in terminal to open graphical file manager if you prefer that way
and copy the fonts from the downloaded directory to the newly opened folder in nautilus
If you don't bother for all users
In this case, the recommended way is to copy the fonts in
~/.local/share/fonts
directory (It is not recommended to create.font
directory directly under home anymore). When you put the fonts in that specified directory, Ubuntu will automatically start caching process. After 5-6 seconds, the fonts should appear in listing. Close any open application before you want to change the font for it.Fixing the font files' permission bit
Font files should have the permission of
644
and the containing folder should have755
. So if you see don't see the fonts in listing, please check the permissions of those files and folders.See this question as a help to determine the permission How can I get octal file permissions from command line?
Check this answer to get help on setting permissions easily How to chmod all folders except files (recursively)
Open your synaptic package manager and choose fonts from left side category menu . it will list all the fonts and you can select as many as you want and all will install with one go .
while coming to the rights issue while copying to
/usr/share/fonts
location , you should be root .I mean
will do it .
hope that helps .
I found the following answer, found above, very helpful:
In Ubuntu 16.0.4 the Font Viewer application is not working properly so this workaround is a must. I found it much easier to add fonts in bulk by dragging and dropping to the .fonts directory in home. For me, this directory already existed! In home, cntrl-l gives access to the home/user path in the title bar of the window, I added to it typing /.fonts and pressed enter, this gave me access to the .fonts folder. I then simply copied in the fonts I wanted by dragging and dropping from another window and then opened the Terminal. If your unfamiliar with Ubuntu to find the Terminal use the top most button in the bar at left "search your computer". When the window opens click on the applications button at the bottom of the window, it looks like an "A", you can then search your installed applications. Click on "Installed" in the window and scroll down until you see terminal. At the prompt type in the command and press enter. Wait patiently! You'll be good to go when it's completed. By the way, when the Terminal is open it appears in the bar at left and you can lock it there for future use by right clicking and choose an option from the context menu. Handy!
To install a lot of true type fonts without considering which one to add you can type:
This will install all available aps beginning with
ttf
.