If you’ve happen to be using Eclipse based IDE, like Spring Tool Suite, on recently released Ubuntu 9.10, you must have noticed that mouse click on “OK”/”Apply” and some other buttons doesn’t work.
The problem is with SWT/JFace GTK implementation. Anyway, the GTK in Karmic has been changed which resulted in backward incompatibility with the SWT implementation. To temporarily override new settings, you simply need to launch eclipse with GDK_NATIVE_WINDOWS=true parameter. Here is a little script that you can put in your eclipse application folder that will do the trick. You can also create a desktop launcher to the script.
#!/usr/bin/env bash cd `dirname $0` export GDK_NATIVE_WINDOWS=true ./eclipse
One thought on “Eclipse GTK fix for Ubuntu 9.10 / Karmic”
thanks for your info.. nice post