-
Notifications
You must be signed in to change notification settings - Fork 154
Home
tsujan edited this page Dec 4, 2022
·
10 revisions
Some fontconfig tricks might be needed to get colored emojis (→ https://github.com/lxqt/qterminal/issues/627).
Supposing that you have installed a font like noto-fonts-emoji
, create ~/.config/fontconfig/conf.d/0-emoji.conf
as:
<?xml version='1.0'?>
<!DOCTYPE fontconfig SYSTEM 'fonts.dtd'>
<fontconfig>
<!-- For colored emojis: -->
<match target="pattern">
<test name="family">
<string>monospace</string>
</test>
<edit mode="append" name="family">
<string>Noto Color Emoji</string>
</edit>
</match>
<match target="pattern">
<test name="family">
<string>serif</string>
</test>
<edit mode="append" name="family">
<string>Noto Color Emoji</string>
</edit>
</match>
<match target="pattern">
<test name="family">
<string>sans-serif</string>
</test>
<edit mode="append" name="family">
<string>Noto Color Emoji</string>
</edit>
</match>
</fontconfig>
Then, colored emojis will be shown by Qt apps, QTerminal included.
Press any modifier key in the shortcut field.