Forums

Skip to content

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

URXVT Won't Display Icons

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
10 posts • Page 1 of 1
Author
Message
opafix
n00b
n00b
Posts: 10
Joined: Sun Sep 09, 2018 2:04 am

URXVT Won't Display Icons

  • Quote

Post by opafix » Thu Sep 27, 2018 10:00 pm

I have Fontawesome and Powerline both installed through Portage. But for some reason, I cannot get URXVT (Or any other terminal emulator) to play nicely with icons. What am I missing?

See https://i.imgur.com/pyXgHGe.png for an example - all icons come out as an "a" with a circumflex accent...
Top
kitsunenokenja
Tux's lil' helper
Tux's lil' helper
Posts: 132
Joined: Tue Jan 20, 2004 7:39 pm

  • Quote

Post by kitsunenokenja » Fri Sep 28, 2018 3:13 am

What's your output for

Code: Select all

$ locale
as the lack of UTF-8 is going to be responsible for this.
ProtonMail - Free encrypted e-mail from Switzerland
Let's Encrypt - Free SSL cert organisation
Top
opafix
n00b
n00b
Posts: 10
Joined: Sun Sep 09, 2018 2:04 am

  • Quote

Post by opafix » Fri Sep 28, 2018 8:24 am

kitsunenokenja wrote:What's your output for

Code: Select all

$ locale
as the lack of UTF-8 is going to be responsible for this.
My locale was not set to UTF-8 - thank you very much! Now it shows squares instead of As....

see https://imgur.com/a/POriVI6
Top
The Main Man
Veteran
Veteran
Posts: 1173
Joined: Thu Nov 27, 2014 11:25 pm
Location: /run/user/1000

  • Quote

Post by The Main Man » Fri Sep 28, 2018 9:20 am

opafix wrote:My locale was not set to UTF-8 - thank you very much! Now it shows squares instead of As....

see https://imgur.com/a/POriVI6
Squares are urxvt problem only.
You can try with other terminal.
I made ebuild with patches for urxvt, with that squares are gone and instead you can see icons, you can try that here:
https://github.com/kajzersoze/rxvt-unicode
Top
opafix
n00b
n00b
Posts: 10
Joined: Sun Sep 09, 2018 2:04 am

  • Quote

Post by opafix » Fri Sep 28, 2018 2:11 pm

kajzer wrote:
opafix wrote:My locale was not set to UTF-8 - thank you very much! Now it shows squares instead of As....

see https://imgur.com/a/POriVI6
Squares are urxvt problem only.
You can try with other terminal.
I made ebuild with patches for urxvt, with that squares are gone and instead you can see icons, you can try that here:
https://github.com/kajzersoze/rxvt-unicode
I've tried building from your repo and now it's back to the A circumflex. this happens in Xterm and URXVT.

Code: Select all

$ locale
outputs that everything is utf-8.
Top
The Main Man
Veteran
Veteran
Posts: 1173
Joined: Thu Nov 27, 2014 11:25 pm
Location: /run/user/1000

  • Quote

Post by The Main Man » Fri Sep 28, 2018 4:32 pm

Try with different font then, I can tell you what I'm using, also if you have "URxvt.letterSpace" in your config delete it.

Download this font and install it :
https://github.com/ryanoasis/nerd-fonts ... chMono.zip

In your config put this :

Code: Select all

URxvt.font: xft:ShureTechMono Nerd Font:regular:pixelsize=15
URxvt.boldFont: xft:ShureTechMono Nerd Font:bold:pixelsize=15
URxvt.italicFont: xft:ShureTechMono Nerd Font:italic:pixelsize=15
URxvt.boldItalicfFnt: xft:ShureTechMono Nerd Font:bold:italic:pixelsize=15
Top
kitsunenokenja
Tux's lil' helper
Tux's lil' helper
Posts: 132
Joined: Tue Jan 20, 2004 7:39 pm

  • Quote

Post by kitsunenokenja » Fri Sep 28, 2018 9:22 pm

I mentioned just the locale since that was something I had to correct on a machine recently, and it was the only part of the puzzle that was missing. I use urxvt with a powerline patched font and it does work, so I'll nominate some of my options that may help you reach a solution.

Build flags (I imagine the last 3 enabled ones are crucial)

Code: Select all

[ebuild   R    ] x11-terms/rxvt-unicode-9.21::gentoo  USE="256-color focused-urgency font-styles mousewheel perl pixbuf startup-notification unicode3 wcwidth xft -alt-font-width -blink -buffer-on-clear -fading-colors -iso14755 -secondary-wheel -vanilla"
.Xresources font declaration (adjust accordingly, of course)

Code: Select all

URxvt.font: xft:InconsolataLGC Nerd Font Mono:size=11, xft:M+ 2m, xft:Symbola, xft:Code2000
When testing just remember to start a new shell explicitly after doing

Code: Select all

xrdb -merge ~/.Xresources
to expedite testing new changes to .Xresources.

I do not have any patches in the build process that aren't already pulled in by the ebuild/portage.

All my locale env values are ja_JP.UTF-8 but any of the UTF-8's should do it. I'm using a handful of the popular powerline glyphs, including the gentoo logo itself thanks to the nerd font I'm using on the shell just fine, so rest assured it can be done.
ProtonMail - Free encrypted e-mail from Switzerland
Let's Encrypt - Free SSL cert organisation
Top
The Main Man
Veteran
Veteran
Posts: 1173
Joined: Thu Nov 27, 2014 11:25 pm
Location: /run/user/1000

  • Quote

Post by The Main Man » Fri Sep 28, 2018 10:15 pm

@kitsunenokenja, have you tried the same settings with the latest 9.22 version ?
Some USE flags are dropped.
Top
kitsunenokenja
Tux's lil' helper
Tux's lil' helper
Posts: 132
Joined: Tue Jan 20, 2004 7:39 pm

  • Quote

Post by kitsunenokenja » Sat Sep 29, 2018 2:08 am

kajzer wrote:@kitsunenokenja, have you tried the same settings with the latest 9.22 version ?
Some USE flags are dropped.
Haven't tried it yet since it's still marked unstable. Did upstream make worthwhile changes since last release?
ProtonMail - Free encrypted e-mail from Switzerland
Let's Encrypt - Free SSL cert organisation
Top
The Main Man
Veteran
Veteran
Posts: 1173
Joined: Thu Nov 27, 2014 11:25 pm
Location: /run/user/1000

  • Quote

Post by The Main Man » Sat Sep 29, 2018 12:40 pm

kitsunenokenja wrote:Haven't tried it yet since it's still marked unstable. Did upstream make worthwhile changes since last release?
I started using rxvt since 9.22 so I can't answer your question, but I guess they did.
9.21 is pretty old, released in 2014, 9.22 was released in 2016

All I know is that I think I've tried everything possible to make that work in 9.22 (to have icons instead of squares), problem is not gentoo specific but it exists in other distros as well, until I tried patch from someone, which solved that problem. I don't know if issue was present in 9.21
Top
Post Reply

10 posts • 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