After installing starship
prompt I noticed the emoji are only showing boxes in my Konsole, I then change the KDE font settings for ‘Fixed width’ from Hack to Noto Color Emoji, it then works but all numbers in terminal are all changed to emoji… Finally I manage to make it works perfectly with creating a file like this:
~
❯ cat .config/fontconfig/fonts.conf
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "urn:fontconfig:fonts.dtd">
<fontconfig>
<alias>
<family>sans-serif</family>
<prefer>
<family>Noto Sans</family>
<family>Noto Color Emoji</family>
<family>DejaVu Sans</family>
</prefer>
</alias>
<alias>
<family>serif</family>
<prefer>
<family>Noto Serif</family>
<family>Noto Color Emoji</family>
<family>DejaVu Serif</family>
</prefer>
</alias>
<alias>
<family>monospace</family>
<prefer>
<family>Noto Color Emoji</family>
</prefer>
</alias>
</fontconfig>
(copied from internet…)
After read the Arch linux Font configuration page, I noticed that this file should replace all monospace font to Noto Color Emoji but actually the numbers works fine and only the boxes (missing emoji) are using Noto Color Emoji (instead of making the change from settings), why?