Thursday, January 14, 2010

Eclipse + Gnome + Compiz Issue

Since Eclipse has a small problem with Gnome 2(.28.1) and activated Compiz, it's necessary to set an the GDK_NATIVE_WINDOWS environment variable to true:

GDK_NATIVE_WINDOWS=true

So I created a small eclipse.sh script on the Eclipse directory, to execute the program and call the variable without interfering with the system:

#!/bin/sh
export GDK_NATIVE_WINDOWS=true
./eclipse

No comments: