Setup Ubuntu Mono font
How to install the Ubuntu Mono font on Arch Linux and configure it in the Alacritty terminal emulator.
Setup Ubuntu Mono font
Install the Ubuntu font family using the AUR helper yay, then enable LCD font filtering and sub-pixel rendering by creating the appropriate symlinks.
1
2
3
4
yay -S ttf-ubuntu-font-family
ln -s /usr/share/fontconfig/conf.avail/11-lcdfilter-default.conf /etc/fonts/conf.d/
ln -s /usr/share/fontconfig/conf.avail/10-sub-pixel-rgb.conf /etc/fonts/conf.d/
Setup Alacritty
To use Ubuntu Mono in the Alacritty terminal, update the font family in its configuration file as shown below.
1
2
3
4
5
6
7
8
9
10
11
104 # Font configuration
1 font:
2 # Normal (roman) font face
3 normal:
4 # Font family
5 #
6 # Default:
7 # - (macOS) Menlo
8 # - (Linux/BSD) monospace
9 # - (Windows) Consolas
10 family: Ubuntu Mono
This post is licensed under CC BY 4.0 by the author.