Konsole 支持 Emoji
https://gist.github.com/IgnoredAmbience/7c99b6cf9a8b73c9312a71d1209d9bbb
- Ensure that the Noto fonts are installed on your machine.
- Install this file to ~/.config/fontconfig/conf.d/99-noto-mono-color-emoji.conf
- Run
fc-cache
- Set Konsole to use "IBM Plex Mono" as the font.
- Restart Konsole.
1 sudo pacman -S noto-fonts-emoji nerd-fonts-ibm-plex-mono
2 mkdir -p ~/.config/fontconfig/conf.d/
3 emacs -nw ~/.config/fontconfig/conf.d/99-noto-mono-color-emoji.conf
4 fc-cache
99-noto-mono-color-emoji.conf
:
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!DOCTYPE fontconfig SYSTEM "fonts.dtd">
3
4 <fontconfig>
5 <match>
6 <test name="family"><string>IBM Plex Mono</string></test>
7 <edit name="family" mode="prepend" binding="strong">
8 <string>Noto Color Emoji</string>
9 </edit>
10 </match>
11 </fontconfig>