You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
mkdir ~/.local/share/fonts/
wget https://github.com/samuelngs/apple-emoji-linux/releases/latest/download/AppleColorEmoji.ttf -O ~/.local/share/fonts/AppleColorEmoji.ttf
# or system-wide to /usr/share/fonts/AppleColorEmoji/, for example
Put Apple Color Emoji on the 1st place in /etc/fonts/conf.d/60-generic.conf:
...
<aliasbinding="same">
<family>emoji</family>
<prefer>
<family>Apple Color Emoji</family> <!-- Added --><!-- System fonts -->
<family>Noto Color Emoji</family> <!-- Google -->
<family>Apple Color Emoji</family> <!-- Apple -->
<family>Segoe UI Emoji</family> <!-- Microsoft -->
<family>Twitter Color Emoji</family> <!-- Twitter -->
<family>EmojiOne Mozilla</family> <!-- Mozilla --><!-- Third-Party fonts -->
<family>Emoji Two</family>
<family>Emoji One</family>
<!-- Non-color -->
<family>Noto Emoji</family> <!-- Google -->
<family>Android Emoji</family> <!-- Google -->
</prefer>
</alias>
...
Create font config:
mkdir ~/.config/fontconfig/
tee ~/.config/fontconfig/fonts.conf <<FONTS<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE fontconfig SYSTEM "fonts.dtd"> <fontconfig> <alias> <family>serif</family> <prefer> <family>Apple Color Emoji</family> </prefer> </alias> <alias> <family>sans-serif</family> <prefer> <family>Apple Color Emoji</family> </prefer> </alias> <alias> <family>monospace</family> <prefer> <family>Apple Color Emoji</family> </prefer> </alias> <match target="pattern"> <test qual="any" name="family"><string>Noto Color Emoji</string></test> <edit name="family" mode="assign" binding="same"><string>Apple Color Emoji</string></edit> </match> </fontconfig> FONTS
Good article!