Compiz and Java
So yesterday I was enjoying my new compiz-powered linux desktop in all its glory until a bug bite me.
I launched my favourite Java application and it was all grey, but menus seemed to work, if I clicked in the right spot. At first I though it was this bug, but setting this environment variable did not help:
AWT_TOOLKIT=MToolkit
Since I am using the nvidia drivers (not aiglx or xgl) to provide the compositing effects i remembered seeing reports about the black window bug. A quick search provided me with the solution: start compiz with this option:
/usr/bin/compiz --loose-binding --replace gconf
I launched my favourite Java application and it was all grey, but menus seemed to work, if I clicked in the right spot. At first I though it was this bug, but setting this environment variable did not help:
AWT_TOOLKIT=MToolkit
Since I am using the nvidia drivers (not aiglx or xgl) to provide the compositing effects i remembered seeing reports about the black window bug. A quick search provided me with the solution: start compiz with this option:
/usr/bin/compiz --loose-binding --replace gconf