Linux

Get proper color emoji support in Arch Linux

How many times have you installed a vanilla arch and opened your favorite page only to be horrified with emojis like this?

Let’s change it, shall we?

  • Get fontconfig if it’s not already installed pacaur -S fontconfig
  • Then we need this package from core pacaur -S noto-fonts-emoji
  • For color emoji we need another AUR package pacaur -S ttf-emojione-color
  • Create a file named 01-emoji.conf at touch ~/.config/fontconfig/conf.d/01-emoji.conf (Create the directories if necessary)

Paste the following lines inside your newly created file :

<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
  <!-- Use Google Emojis -->
  <match target="pattern">
    <test qual="any" name="family"><string>Segoe UI Emoji</string></test>
    <edit name="family" mode="assign" binding="same"><string>Noto Color Emoji</string></edit>
  </match>
</fontconfig>

Relogin and see your newly tweaked emojis!

Let me know if this doesn’t work for you (it totally should though). Cheers!

NOTE : I use pacaur as my AUR helper, if you don’t have pacaur, use pacman for repo stuffs and yaourt for AUR (same syntax), better yet, install pacaur!

Tagged , , , , ,

Leave a Reply

Your email address will not be published. Required fields are marked *