Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Desktop Environments
  • Search

[SOLVED] Help install and use Nerd-Fonts (rxvt-unicode,

Problems with GUI applications? Questions about X, KDE, Gnome, Fluxbox, etc.? Come on in. NOTE: For multimedia, go up one forum
Post Reply
Advanced search
1 post • Page 1 of 1
Author
Message
NotAmused
n00b
n00b
Posts: 4
Joined: Fri Oct 05, 2018 10:49 am

[SOLVED] Help install and use Nerd-Fonts (rxvt-unicode,

  • Quote

Post by NotAmused » Thu Oct 11, 2018 4:50 pm

First of all I have a .Xdefaults file that works in arch linux using Nerd-Fonts... I copied that .Xdefaults configuration file
over to gentoo installation. (I'm saying this to show that my font configuration file actually works so the problem is probably installing the fonts)

I try to run urxvt and it gives me error:

Code: Select all

urxvt: unable to load base fontset, please specify a valid one using -fn, aborting.

These lines are in my .Xdefaults

Code: Select all

           URxvt.font:xft:Bitstream Vera Sans Mono Nerd Font:pixelsize=14, \
           xft:Fura Mono Nerd Font:pixelsize=14, \
           xft:Go Mono Nerd Font:pixelsize=16, \
           xft:Cousine Nerd Font:pixelsize=16, \
           xft:Roboto Mono:pixelsize=16, \
           xft:Space Mono Nerd Edit:pixelsize=16, \
           xft:Sauce Code Nerd Font:pixelsize=16, \
           xft:3270 Nerd Font:pixelsize=16 
If I comment the lines above urxvt runs fine but it doesn't look good.

I downloaded the repository of Nerd Fonts from here https://github.com/ryanoasis/nerd-fonts ... l-manually

Ran the install script as root and using the -S parameter which tells it to install the fonts system wide.

Tried to run urxvt with the above configuration (I did a restart just in case) and urxvt still refuses to run.

Nerd-Fonts script installs the fonts at

Code: Select all

 /usr/local/share/fonts 
So I thought I should try to move the fonts to

Code: Select all

/usr/share/fonts 
That still didn't do the job...

I ran cf-list to see if it finds the fonts and i get

Code: Select all

/usr/share/fonts/NerdFonts/Bitstream Vera Sans Mono Nerd Font Complete Mono.ttf: BitstreamVeraSansMono Nerd Font Mono:style=Roman
In the list... too many fonts to list here. So the fonts is there but I can't use them in urxvt. I'm rly confused.
If someone could help me out with this I would really appreciate it.

I guess the real question here is how do you install fonts in gentoo or linux in general.

EDIT

As it says in this reddit thread https://www.reddit.com/r/unixporn/comme ... rxvt_font/
I had to compile urxvt with xft use flag.

Guess this is the suffering of new gentoo users.
Together we stand, divided we fall.
Top
Post Reply
1 post • Page 1 of 1

Return to “Desktop Environments”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic