You are not logged in.

#1 2021-06-24 03:59:19

aura
Member
Registered: 2019-08-04
Posts: 21

[SOLVED] Urxvt not rendering devicons for Ranger

I'm trying to enable devicons in Ranger in my urxvt terminal. Where icons should render I instead see squares.

So far I've installed this patched font: https://aur.archlinux.org/packages/nerd-fonts-terminus/

Followed this guide: https://github.com/alexanderjeurissen/r … structions

And the font is definitely rendering in urxvt as I've configured in Xresources but icons are still squares in Ranger.

Last edited by aura (2021-06-26 08:58:20)

Offline

#2 2021-06-24 06:17:33

seth
Member
Registered: 2012-09-03
Posts: 52,162

Re: [SOLVED] Urxvt not rendering devicons for Ranger

fc-list | grep -i nerd

Offline

#3 2021-06-25 05:08:15

aura
Member
Registered: 2019-08-04
Posts: 21

Re: [SOLVED] Urxvt not rendering devicons for Ranger

seth wrote:
fc-list | grep -i nerd
/usr/share/fonts/TTF/Terminess (TTF) Bold Italic Nerd Font Complete.ttf: TerminessTTF Nerd Font:style=Bold Italic
/usr/share/fonts/TTF/Symbols-2048-em Nerd Font Complete.ttf: Symbols Nerd Font:style=2048-em
/usr/share/fonts/TTF/Terminess (TTF) Bold Nerd Font Complete Mono.ttf: TerminessTTF Nerd Font Mono:style=Bold
/usr/share/fonts/TTF/Terminess (TTF) Italic Nerd Font Complete Mono.ttf: TerminessTTF Nerd Font Mono:style=Italic
/usr/share/fonts/TTF/Terminess (TTF) Nerd Font Complete Mono.ttf: TerminessTTF Nerd Font Mono:style=Medium
/usr/share/fonts/TTF/Terminess (TTF) Italic Nerd Font Complete.ttf: TerminessTTF Nerd Font:style=Italic
/usr/share/fonts/TTF/Terminess (TTF) Bold Italic Nerd Font Complete Mono.ttf: TerminessTTF Nerd Font Mono:style=Bold Italic
/usr/share/fonts/TTF/Terminess (TTF) Bold Nerd Font Complete.ttf: TerminessTTF Nerd Font:style=Bold
/usr/share/fonts/TTF/Terminess (TTF) Nerd Font Complete.ttf: TerminessTTF Nerd Font:style=Medium

Offline

#4 2021-06-25 06:39:24

seth
Member
Registered: 2012-09-03
Posts: 52,162

Re: [SOLVED] Urxvt not rendering devicons for Ranger

Compare

urxvt -fn 'xft:TerminessTTF Nerd Font Mono-12"
urxvt -fn 'xft:TerminessTTF Nerd Font Mono-12,xft:Symbols Nerd Font-8"

Notice that the symbols font is deliberately smaller that the main font, don't change that.
Report the outcome.

Offline

#5 2021-06-26 08:57:06

aura
Member
Registered: 2019-08-04
Posts: 21

Re: [SOLVED] Urxvt not rendering devicons for Ranger

seth wrote:

Compare

urxvt -fn 'xft:TerminessTTF Nerd Font Mono-12"
urxvt -fn 'xft:TerminessTTF Nerd Font Mono-12,xft:Symbols Nerd Font-8"

Notice that the symbols font is deliberately smaller that the main font, don't change that.
Report the outcome.

You're the best

Thank you so much!

Offline

#6 2021-06-26 12:15:26

seth
Member
Registered: 2012-09-03
Posts: 52,162

Re: [SOLVED] Urxvt not rendering devicons for Ranger

https://aur.archlinux.org/packages/rxvt … ideglyphs/ has more relaxed font handling (you'll still have to define all fonts you want to use)
Additional benefit of self-compiling is that you can enable pixbuf support for background images.

Offline

#7 2022-01-30 07:48:04

jonasreyes
Member
From: Caracas, Venezuela
Registered: 2022-01-30
Posts: 1
Website

Re: [SOLVED] Urxvt not rendering devicons for Ranger

Muchas gracias, me funcionó!


WEB Developer from Venezuela

Offline

Board footer

Powered by FluxBB