Tuesday, April 27, 2010

GNU/Linux Java Font Antialiasing

Set java '-Dawt.useSystemAAFontSettings=on' system property.

~/.profile
export PATH=~/bin:$PATH
export JDK_HOME=$JAVA_HOME
export M2_HOME=$MAVEN_HOME
export ORACLE_HOME=/opt/instantclient

# not set TERM in .bashrc because it resets tmux 'screen' TERM setting
export TERM=rxvt

export _JAVA_OPTIONS="-Dawt.useSystemAAFontSettings=on"

Everytime some java application starts it will report:

Picked up _JAVA_OPTIONS: -Dawt.useSystemAAFontSettings=on

Xmonad Session

xmonad is a tiling window manager. Tiling managers are good because usually you can see windows in different layouts, switch them dynamically or configure your virtual desktops for particular usage with appropriate layout. Before I was experimenting with awesome but xmonad is the first tiling manager I'm using seriously in each day work. It has a lot of documentation that at first seems overwhelming.

Urxvt

I've migrated to Urxvt.