Solving Eclipse Galileo problem in Karmic Koala (Ubuntu 9.10)

Yesterday i’ve upgraded my ubuntu with latest version 9.10 (Karmic Koala). After installing a lot of application, i was trying to install my favorite IDE, Eclipse 3.5 (Galileo). but something goes wrong after. i was not able to push OK button or Cancel button etc.
At that time i tought that main problem is my eclipse. Before i upgraded to karmic. i was install some plugins. that doesn’t matter in 9.04. but after install fresh copier of Galileo i still found this problem. Finally i found it, the main problem is about in how eclipse use GTK. In linux eclipse use GTK Library for handling interface, so it can be more native look.
From what i was read here

Starting from 2.18 on, GTK+ changed some of its internal behaviour (google for “client side windows”). This change is intentional, and needed for other development. It doesn’t make any difference to programs using GTK+ correctly, but it makes problems with programs that use GTK+ in weird ways, making wrong assumptions that only accidentally worked in the past. So, to ease the transition until those programs get fixed, an environment variable has been introduced to simulate the old behaviour.

So it’s really up to the eclipse guys to fix their code, and to make sure they set this variable as a workaround until then in their own distribution. Ubuntu doesn’t have any influence on that.

And now for solving this problem is quite simple, you just enter this command in terminal before execute eclipse,

export GDK_NATIVE_WINDOWS=true

This solution is working in my box, if you don’t wanna execute this command in every launcing eclipse, you can add this line into .bashrc line, so whenever you launch terminal, it will automatically executed. Now i can enjoy working with cute koala.

Happy Coding 😀

Advertisements

About singgihpraditya

Gua cuma orang biasa, gak lebih , gak kurang. code maniac (i've been entrust all whole live just to make a good code)
This entry was posted in Java, Linux. Bookmark the permalink.

3 Responses to Solving Eclipse Galileo problem in Karmic Koala (Ubuntu 9.10)

  1. form me this worked: export GDK_NATIVE_WINDOWS=1

  2. dani says:

    thanks!

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s