Ubuntu: No anti-aliasing with Xmonad


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-theme-name="Ambiance"  gtk-icon-theme-name="ubuntu-mono-dark"  gtk-font-name="Sans 10"  gtk-cursor-theme-name="DMZ-White"  gtk-cursor-theme-size=0  gtk-toolbar-style=GTK_TOOLBAR_BOTH  gtk-toolbar-icon-size=GTK_ICON_SIZE_LARGE_TOOLBAR  gtk-button-images=1  gtk-menu-images=1  gtk-enable-event-sounds=1  gtk-enable-input-feedback-sounds=1  gtk-xft-antialias=1  gtk-xft-hinting=1  gtk-xft-hintstyle="hintfull"  gtk-xft-rgba="rgb"  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.


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.


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

xrdb -merge .Xresources  


Make sure that gnome-settings-daemon is running.

Note:If u also have question or solution just comment us below or mail us on toontricks1994@gmail.com
Next Post »