Last active
June 21, 2024 14:20
-
-
Save alhafoudh/b27870eb92542d3da6453b1a64652089 to your computer and use it in GitHub Desktop.
Add support for emojis on Raspberry Pi
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
Please use $USER instead of /home/pi
Done
Please use $USER instead of /home/pi
Done
You're right: $HOME is better.
Thank you!
or, just do apt install fonts-noto-color-emoji
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
Please use $USER instead of /home/pi