Fix Bangla font problem in Ubuntu

In this post, I will share a workaround to fix Bangla Font problem in Ubuntu.

Below I give all the possible task to use Bangla in Ubuntu. Follow all the below techniques to full-proof you Bangla experience in Ubuntu. 🙂

Select Bangla Font in Ubuntu

Ubuntu default font for Bengali is “FreeSans”, which break the Bangla font like this:

Faulty Bangla

To Solve this we can delete the “FreeSans” font from “/usr/share/fonts/trueype/freefont/” folder.

An alternative way is to tell Ubuntu to use another font instead of “FreeSans“.

To do this follow the instruction below:

  1. First Download the “Noto Sens Bengali” font from here.
  2. Extract the zip folder and copy-paste the extracted folder in “/usr/share/fonts/truetype” directory.
    Install the “Noto Sens Bengali” font using any font-utility app like:
    Font Manager (
  3. Create a new file named “fonts.conf” in “~/.config/fontconfig/” directory.
    NOTE: The sign “~” defines the home directory, means “/home/<username>/” folder.
    NOTE: “.config” is a hidden folder. To show hidden files and folders press Ctrl + H from the keyboard.
    NOTE: If the folder “fontconfig” and/or file “fonts.conf” not exist in your system then create the folder and/or the file.
  4. Write the below code in “fonts.conf” file:
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
            <family>Noto Sans Bengali</family>
        <family>Ubuntu Mono</family>
            <family>Ubuntu Mono</family>
            <family>Noto Sans Bengali</family>

Finally, Save the file and re-login.

The result will be:

Clear Bangla

Install Bangla Language Packages in Ubuntu (Ubuntu 18.04 LTS+)

To install Bangla fonts and related things in Ubuntu follow the below steps:

  1. Open “Settings
  2. Go to “Region & Language
  3. Click “Manage Installed Languages
  4. Click “Install / Remove Languages…
  5. Select “Bangla” and Click “Apply

That’s it! 🙂

Set Bangla Font in Firefox

To set Bangla font in Firefox, follow the steps:

  1. Write “about:config” and press
  2. Write “beng” in the search bar
  3. Change value like following:
  4. Change “font.default.x-beng” to:
    "Noto Sens Bengali", serif
  5. Change “” to:
    "Noto Sens Bengali", monospace
  6. Change “” to:
    "Noto Sens Bengali", sans-serif
  7. Change “” to:
    "Noto Sens Bengali", serif

NOTE: The above techniques tested in Ubuntu 16.04 LTS & Ubuntu 18.04 LTS.


6 thoughts on “Fix Bangla font problem in Ubuntu

  1. Hi,
    There is no fontconfig directory in ~/.config directory in Ubuntu 16.04. There is a fontconfig directory in “/usr/share”. But when I create a new file fonts.conf in “/usr/share/fontconfig” following your method, it doesn’t work. My default font is still freeSans, even though I deleted it from “/usr/share/fonts/trueype/freefont/” folder.

  2. To find the .config folder open your file manager. Go to- File System/home/username/. Press ctrl+h to show hidden files and folders. You’ll find the folder there. Make a new file name files.conf if there isn’t one in the folder. However it didn’t seem to fix the problem in Xubuntu 16.04:-(

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.