Fixing Eclipse buttons for Ubuntu 9.10

I’ve just updated to the new Ubuntu Karmic 9.10 and I’ve found some weird problems running Eclipse. Some buttons didn’t work when they were clicked, but the keyboard shortcuts worked well. It looks like in Eclipse 3.6 the bug will be solved. It looks like it’s a hack between Eclipse SWT and GTK. More information here, here and here.

To fix the problem, just launch Eclipse through this shell script file, assuming Eclipse is installed at /home/rnaufal/eclipse/eclipse:

#!/bin/sh
export GDK_NATIVE_WINDOWS=1
/home/rnaufal/eclipse/eclipse

6 Replies to “Fixing Eclipse buttons for Ubuntu 9.10”

Leave a Reply

Your email address will not be published. Required fields are marked *