Java的程序的摆动UI不href="http://awesome.naquadah.org/" rel="noreferrer">真棒-WM 的

有帮助吗?

解决方案

从真棒手册页:

BUGS
   Of course there´s no bug in awesome. But there may be unexpected behaviours.

   Java applications which use the XToolkit/XAWT backend may draw grey windows only. The XToolkit/XAWT backend breaks ICCCM-compliance
   in recent JDK 1.5 and early JDK 1.6 versions, because it assumes a reparenting window manager. As a workaround you can use JDK 1.4
   (which doesn´t contain the XToolkit/XAWT backend) or you can set the following environment variable (to use the older Motif backend
   instead): AWT_TOOLKIT=MToolkit

其他提示

最简单的解决方法 - 获取 wmname从suckless ,并用它来设置窗口管理器的名称LG3D :

wmname LG3D

98%的时间,这将解决问题。

您的可能的发现,这是一个类似的问题,与使用的Compiz和Java(在Ubuntu至少)有经验,但我猜测。

这种情况的修复(从这里采取)是添加以下环境可变给程序:

AWT_TOOLKIT="MToolkit"
许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top