Beryl window manager and Java blank windows

If like me you’re using the Beryl window manager for linux (extremely cool eye candy) and have misbehaving Java applications that don’t show windows properly, the title bar draws but the rest is blank, then you’ll need to employ the fix as detailed in several places on the net including Arch Linux Wiki – Beryl.

Basically add the following to your .bashrc file or /etc/profile (then restart X)

export AWT_TOOLKIT="MToolkit"

As I’m running on x86_64 I also had to install a 386 library (libXp) as well (as the Java in use was a 386 version) for the Java apps to work. This cured things for blank windows with the Zend Studio IDE and Business Accountz both of which I use daily!

5 Responses to “Beryl window manager and Java blank windows”

  1. segv

    Thank u very much, exactly what I needed

  2. Dan Z.

    My experience is that exporting this environment variable only causes a segfault. However, upgrading to java 1.6_u10 solves the problem. This version is currently in beta, but it is available from

  3. Jeremy

    On Fedora 9, needed to install libXtst.i386 as well for ZendStudio 5.5.1 to work (didn’t need JRE 1.5 as per post #2)

    (No segfaults either as per post #4)

Leave a Reply