Avoir les émojis dans Konsole
Tiré de https://gist.github.com/IgnoredAmbience/7c99b6cf9a8b73c9312a71d1209d9bbb.
- Installer la police Noto Color Emoji (paquet
fonts-noto-color-emoji
sur Debian) - Mettre ceci dans
~/.config/fontconfig/conf.d/99-hack-color-emoji.conf
:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<!--
Hack + Color Emoji Font Configuration.
Currently the only Terminal Emulator I'm aware that supports colour fonts is Konsole.
Usage:
0. Ensure that the Noto fonts are installed on your machine.
1. Install this file to ~/.config/fontconfig/conf.d/99-hack-color-emoji.conf
2. Run `fc-cache`
3. Set Konsole to use "Hack" as the font.
4. Restart Konsole.
-->
<fontconfig>
<match>
<test name="family"><string>Hack</string></test>
<edit name="family" mode="prepend" binding="strong">
<string>Noto Color Emoji</string>
</edit>
</match>
</fontconfig>
- Changer
Hack
par la police actuellement utilisée par Konsole - Lancer
fc-cache
- Redémarrer Konsole
Pas de commentaires