I have the font (listed by fc-list
):
/usr/share/fonts/misc/Inconsolata-dz for Powerline.otf: Inconsolata\-dz for Powerline:style=dz
that I am trying to get to display with xterm.
As it stands, running
xterm -fa "Inconsolata\-dz for Powerline"
works just fine, but putting
xterm*faceName: Inconsolata\-dz for Powerline
in my .Xdefaults
results in the default, broken weird font you get when an invalid font is loaded.
What is the proper way to set this font using .Xdefaults
?
Find the font name by run:
fc-list :fontformat=TrueType -f "%{family}\n" |grep Powerline
Configure font in ~/.Xresources
XTerm*faceName: <font name from previous output>
XTerm*faceSize: 12
Apply changes on .Xresources by run:
xrdb -merge ~/.Xresources
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With