Skip to content

Instantly share code, notes, and snippets.

@alhafoudh
Last active June 21, 2024 14:20
Show Gist options
  • Save alhafoudh/b27870eb92542d3da6453b1a64652089 to your computer and use it in GitHub Desktop.
Save alhafoudh/b27870eb92542d3da6453b1a64652089 to your computer and use it in GitHub Desktop.
Add support for emojis on Raspberry Pi
mkdir ~/tmp
cd tmp
wget https://fontsdata.com/zipdown-segoeuiemoji-132714.htm
wget https://noto-website.storage.googleapis.com/pkgs/NotoColorEmoji-unhinted.zip
mv zipdown-segoeuiemoji-132714.htm segoeuiemoji.zip
unzip segoeuiemoji.zip
unzip NotoColorEmoji-unhinted.zip
mkdir $HOME/.fonts &>/dev/null
mv seguiemj.ttf "$HOME/.fonts/Segoe UI.ttf"
mv NotoColorEmoji.ttf "$HOME/.fonts/Noto Color Emoji.ttf"
fc-cache -f -v &>/dev/null
rm -r ~/tmp
cd
@integrajerome
Copy link

Please use $USER instead of /home/pi

Done

You're right: $HOME is better.
Thank you!

@bluevisor
Copy link

or, just do apt install fonts-noto-color-emoji

@integrajerome
Copy link

or, just do apt install fonts-noto-color-emoji

👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment