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

I'm looking into Xmonad. One problem I'm having is that most of my applications in Xmonad don't have anti-aliasing.

For example gnome-terminal & evolution. I have this in my .Xresources:

Xft.dpi: 96
Xft.lcdfilter: lcddefault
Xft.antialias: true
Xft.autohint: true
Xft.hinting: true
Xft.hintstyle: hintfull
Xft.hintstyle: slight
Xft.rgba: rgb

And this in my .gtkrc-2.0:

gtk-font-name="Sans 10"
include "/home/leon/.gtkrc-2.0.mine"

But I still have no anti-aliasing. When I launch gnome-settings-daemon I do get anti-aliasing. But I don't want to run gnome-settings-daemon.

What could be the problem? I'm running Ubuntu 12.04 Desktop.

share|improve this question

You have conflicting directives in your .Xresources. Try removing one of the two lines:

Xft.hintstyle: hintfull
Xft.hintstyle: slight

And see if that works. I used exactly your .gtkrc-2.0 and .Xresources on a relatively unmodified Xmonad setup on Ubuntu 12.04, and the setting worked correctly once I removed one of those lines.

share|improve this answer

Have you tried running this to make sure that your .Xresources changes are getting applied?

xrdb -merge .Xresources
share|improve this answer
Yeah, I tried that. In the meantime I also rebooted several times and that didn't work either. – Leon Jul 5 '12 at 8:46
Next question: what video hardware do you have and which drivers are you using? The reason I ask is to determine how closely your setup matches mine so we can start eliminating variables. – dbrewer Jul 5 '12 at 22:28
I don't think it's something with the hardware. Every other wm behaves correctly. But for completeness: I have a Sandy Bridge/optimus (?) with bumblbee installed. The Intel driver is the default one: i915 I believe. – Leon Jul 6 '12 at 23:55

Make sure that gnome-settings-daemon is running.

share|improve this answer

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.