Impersonate Another Window Manager
You may use the wmname utility to make the JVM believe you are running a different window manager. This utility is available in the suckless-tools package in Debian (and Ubuntu); this Portage tree provides wmname for Funtoo (and Gentoo).
$ wmname LG3DThis works, because the JVM contains a hard-coded list of knownnon-re-parenting window managers. For maximum irony, many users preferto impersonate “LG3D,” the non-re-parenting window manager written by Sun, in Java.
转自:http://awesome.naquadah.org/wiki/Problems_with_Java