Eclipse Ganymede and Ubuntu 9.10

Ever since I set up my other laptop with ubuntu 9.10, things have been kinda weird with it. My initial work was to get started with some testing work on JGroups and so I set up eclipse and got started on the project. To my surprise, eclipse was behaving really weird on ubuntu 9.10. Basically, it would no detect mouse clicks!!!

It was hard to imagine a problem wit mouse clicks. Sometimes it would work, sometimes it would  just select the button and sometimes not even that. I got used to using the tab key to select the buttons. Then I started to sought out the problem for once. So this is the solution.

 

1. Create a start script for eclipse. Call it startEclipse.sh. The contents of the script should be

#!/bin/sh

export GDK_NATIVE_WINDOWS=1

<path to your eclipse directory>/eclipse

 

2. Give the script execute permissions

chmod 777 startEclipse.sh

 

3. Starting eclipse using this script resolves the issues with the UI.


Bookmark on del.icio.us
Bookmark on digg
  1. Christian said...

    you saved my day!

    My problem with Eclipse/Momentics was that any new project dialog does not react on the next or finished button klicks

    Thanks
    Christian

Join the Discussion