Tianhe Gao

Konsole 支持 Emoji

https://gist.github.com/IgnoredAmbience/7c99b6cf9a8b73c9312a71d1209d9bbb

  1. Ensure that the Noto fonts are installed on your machine.
  2. Install this file to ~/.config/fontconfig/conf.d/99-noto-mono-color-emoji.conf
  3. Run fc-cache
  4. Set Konsole to use "IBM Plex Mono" as the font.
  5. 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>

No notes link to this note

Welcome to tell me your thoughts via "email"
UP