I've noticed that the fonts in URxvt look a little bit low-res compared to fonts that I see in my browser, for example.
I was wondering how could I fix my .Xdefaults
file to make the fonts have a little bit more detail and be sharper.
It might not be visible in this picture, but I can definitely notice the difference when looking myself:
Here is my current .Xdefaults
:
URxvt*background: Black
URxvt*foreground: White
URxvt*geometry: 80x30
URxvt*scrollBar: false
"URxvt.font: 9x15
!-- Xft settings -- !
Xft.dpi: 96
Xft.antialias: true
Xft.rgba: rgb
Xft.hinting: true
Xft.hintstyle: hintfull
! -- Fonts -- !
URxvt.font:xft:Monospace:pixelsize=15
URxvt.boldfont:xft:Monospace-Bold:pixelsize=15
Best Answer
In
~/.Xresources
, put, for example, the below config. (There are some other configurations ofurxvt
that might interest you here (note that this is a plain text file, posted on the web; you may want to use "View Source" to read it). There you also find another color scheme, that might be better if you ever experience eye problems because of too bright lights emitting from a monitor. More colors stuff.)Then, in
~/.xinitrc
, putxrdb ~/.Xresources
.For testing, an alias like
alias xup="xrdb ~/.Xresources"
could be useful, then simply start a new instance ofurxvt
.Here is what it looks like:
urxvt: