for the life of me I can’t find the solution to missing icons in ranger file manager.
I’m on i3wm, the terminal is xfce4-terminal, the font for the terminal is Source Code Pro 10.
I installed with pacman the fonts ttf-nerd-fonts-symbols, ttf-nerd-fonts-symboals-common. Hell I even tried to install them all 4GB worth of fonts.
And yet, in ranger, I see most fonts except for a few like the music note icon and a few others.
I read somewhere it might be a missing locale.conf or the LANG not set in that file. but it is already set.
I still think it’s a font problem since I can see most of them. Most of them show up.
Any ideas?
yes I use that plugin. I’ve git cloned it in the right folder.
In ranger, right now, most icons/glyphs show up.
The ones that don’t are I think all music related, flac, mp3, etc…
When I copy a glyph in terminal, yes it renders, except for the music ones.
If you are indeed using the plugin I mentioned, try to clone the repo of the plugin (https://github.com/alexanderjeurissen/ranger_devicons) and then open the devicons.py file with your terminal. Check and if the glyphs render.
Can you open the devicons.py file inside that repo on your terminal? That file contains a list of all the default icons. By looking at that file, you can see which glyphs aren’t rendered.
I just installed ttf-font-awesome. then did fc-cache -fv just in case. Then restarted my terminal.
But unfortunately not a success yet. Music glyphs are still missing.
I verified that ttf-sourcecodepro-nerd is installed and it is.
Running now ranger in Xterm and UXTerm, on those 2 terminal, no glyphs are showing at all.
I just installed xfce4-terminal on my system and the music icon do render inside the devicons.py file. If the terminal emulator isn’t the culprit and we are both using the same fonts installed from the Arch repo, then it’s either the plugin itself the configuration applied to it.
The first one, shows a rectangular block in terminal.
The last 2 shows up correctly. One is dual music note and the second one is a single music note in a circle. Strange.