I have some icons/Emojis missing when I open a file locally using Vim/Kate
![Screenshot_20230725_223652](https://forum.endeavouros.com/uploads/default/original/3X/4/8/48e9c3be6b4a6d60cc2f405c833f607afdb2f339.png)
but on GitHub page (where I pull those file), it shows just fine (using firefox, and I can even select it, but it won’t show if I paste it)
![Screenshot_20230725_223807](https://forum.endeavouros.com/uploads/default/original/3X/d/a/da784e0a8767fe2aaf56c346d1e4d56fd7eb4b48.png)
however, some icons shows with no problem locally, e.g.
![Screenshot_20230725_224228](https://forum.endeavouros.com/uploads/default/original/3X/4/3/43f6872a3305ca388f06cfdb1faacd4d22ea7d8e.png)
I have installed fonts including
-> bsh > pacman -Qi ttf-
ttf-bitstream-vera ttf-hack ttf-joypixels ttf-nerd-fonts-symbols-common
ttf-dejavu ttf-hack-nerd ttf-liberation ttf-nerd-fonts-symbols-mono
ttf-firacode-nerd ttf-iosevka-nerd ttf-nerd-fonts-symbols ttf-opensans
-> bsh > pacman -Qi noto-fonts
noto-fonts noto-fonts-emoji
Any fix for this?
I am using KDE/Wayland, amd cpu and gpu.
xircon
2
What font are you using in konsole? Emoji work for me with Fira Code / Emacs:
Try this line (copy / paste) in konsole:
echo 🐀 😃 😂 🐱 🐶 😁 🐄 🐸 🇬🇧
shows like this
![Screenshot_20230725_233558](https://forum.endeavouros.com/uploads/default/original/3X/b/a/bac803d76fa8029071a3e0a4f3a20a61327d3991.png)
and I am not sure what font I am using, I guess fire code also?
xircon
4
Settings >> Edit current profile >> Appearance
btw, just tried medium and Linux colours, not working…
xircon
7
Hmmm, try:
<?xml version='1.0'?>
<!DOCTYPE fontconfig SYSTEM 'fonts.dtd'>
<fontconfig>
<alias>
<family>monospace</family>
<prefer>
<family>Fira Code</family>
<!-- Your preferred monospace font -->
<family>Noto Color Emoji</family>
<!-- Your preferred emoji font -->
</prefer>
</alias>
<dir>~/.fonts</dir>
</fontconfig>
Save as ~/.config/fontconfig/fonts.conf
This is what I have installed:
27 aur/ttf-twemoji 14.0.2-2 (+65 3.12) (Installed: 14.0.2-3)
21 archlinuxcn/ttf-twemoji 14.0.2-3 (2.6 MiB 3.2 MiB) (Installed)
17 chaotic-aur/ttf-twemoji 14.0.2-2 (2.7 MiB 3.2 MiB) (Installed: 14.0.2-3)
14 extra/unicode-emoji 15.0-1 (69.2 KiB 993.9 KiB) (Installed)
13 extra/nodejs-emojione 4.5.0-3 (481.7 KiB 6.3 MiB) (Installed)
2 extra/noto-fonts-emoji 20220920-1 (9.0 MiB 9.9 MiB) (Installed)
1 extra/ttf-joypixels 7.0.0-1 (12.0 MiB 12.9 MiB) (Installed)
1 Like
I install all of them and add fonts.conf, logout and in, now it work! in both konsole and kate, Thanks!
(just wondering, though it works now in konsole and kate, it is still not working on someplace, e.g. in start menu or system search
can this also be fixed?)
xircon
9
Don’t know, never noticed it until you pointed it out and TBH it doesn’t bother me ![:rofl: :rofl:](https://forum.endeavouros.com/images/emoji/twitter/rofl.png?v=12)
Anyway gone midnight, time for bed… ![:zzz: :zzz:](https://forum.endeavouros.com/images/emoji/twitter/zzz.png?v=12)
Aha true. Thanks for your help bro!
system
Closed
11
This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.