Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

When I log into a session which uses the Blackbox window manager the fonts look different (read worse) compared to how they are rendered in Unity. Does anyone know if it is possible to achieve the same font rendering with other window managers by setting the appropriate values in ~/.fonts.conf? If the answer is yes what settings should I use - is there a way to retrieve the current settings that affect font rendering? I use Ubuntu 11.10 by the way.

share|improve this question
up vote 1 down vote accepted

I found a solution here:

It turns out, however, that I only need to set hintstyle and rgba since the other settings are the same as the default ones. Add the following lines to ~/.Xresources (or ~/.Xdefaults if you start X from the console) and restart X Windows:

Xft.hintstyle: hintslight
Xft.rgba: rgb

Edit 2014-10-26: Debian 7 uses different default values so use these settings to make sure the fonts look good:

Xft.antialias: true
Xft.autohint: false
Xft.dpi: 96
Xft.hinting: true
Xft.hintstyle: hintslight
Xft.lcdfilter: lcddefault
Xft.rgba: rgb
share|improve this answer
An alternative (although more heavy-weight) solution is to start gnome-settings-daemon but that will affect GUI theming as well. – August Karlstrom Nov 11 '11 at 16:03

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.