Skip to content

Instantly share code, notes, and snippets.

@alhafoudh
Last active March 31, 2023 09:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • 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

integrajerome commented Mar 29, 2023

Please use $USER instead of /home/pi

@alhafoudh
Copy link
Author

Please use $USER instead of /home/pi

Done

@integrajerome
Copy link

Please use $USER instead of /home/pi

Done

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

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