1

I just started using and customising urxvt and it turns out that my agnoster theme for oh-my-zsh produces symbols/text in place of where the arrows should be. Here are some screenshots:

urxvt

terminator (another terminal)

Thanks in advance.

Accelarion
  • 11
  • 1
  • 3

1 Answers1

1

You need to set a powerline enabled font. For example to set Inconsolata for Powerline as your font, install the font and edit your ~/.Xdefaults file and set

urxvt*font: xft:Terminus:size=12,xft:Inconsolata\ for\ Powerline:size=12

This will make urxvt use the Terminus font by default but fall back to Inconsolata for Powerline for characters not in Terminus, such as the arrows, large angle brackets, VCS characters etc.

Check out the powerline documentation for more tips.

kba
  • 1,117
  • 9
  • 20
  • It still does not work sadly. Here is my `~/.Xresources` file : http://pastebin.com/rZSXerYN (I am running Arch GNU/Linux) – Accelarion Feb 18 '16 at 00:39
  • You need a powerline-enabled font. E.g. install [Inconsolata For Powerline](https://github.com/powerline/fonts/tree/master/Inconsolata), replace [line 70 of your ~/.Xresources](http://pastebin.com/F6bkc4SE), with `URxvt*font: xft:Inconsolata\ For\ Powerline:size=11` to test. Close rxvt-unicode, merge the resources (`xrdb -merge ~/.Xresources` and re-open rxvt-unicode. – kba Feb 18 '16 at 00:45
  • Play with the font, try leaving off the `:size=11` part or change to `:size=13`. Getting the URxvt font right means trial and error. Also check out examples from the Arch Linux Forums. – kba Feb 18 '16 at 01:14