Eclipse mouse click problem in Ubuntu 9.10
Hi
When I update my ubuntu 9.4 to 9.10, I realized this problem. in Eclipse when I clicked on buttons,nothing really happened. I didn’t see this problem before.
OK solution is here:
- Create a blank file with eclipse.sh name
- Write this code to that file :
#!/bin/sh
export GDK_NATIVE_WINDOWS=1
/home/[your eclipse directory]/eclipse
- give execute permission to eclipse.sh file with this command :
chmod 777 eclipse.sh
- Run eclipse and enjoy :
./eclipse.sh [press enter]
I saw this bug in eclipse 4.3 [Ganymede] and 4.4 [Galileo].
bye
Advertisements
Thanks for the tip ! I had this problem too
Hi!
I have noticed same problem, so I hope that works for me…
I test it as soon as possible.
Thanks for your hack.
Don’t worry, I tested and it’s work fine.
Thanks, man…
I was beginning to be upset about this BUG…
It worked fine!
Oh, I forgot to tell that this bug affects all java programs as well, so I recomend putting this environment variable in /etc/environment to all java programs see it, not only eclipse…
Thanks again, you saved a lot of work for me…
😉 Yes, I think we should put this to environment.
This worked great, thanks for posting it!
In conjunction with these instructions:
http://flurdy.com/docs/eclipse/install.html
I have a perfectly running eclipse.
Holy Crap Thanks Ehsan, this has been driving me crazy for weeks! its so simple.
I also have this cursed problem with clicking other buttons
(i.e. Clicking “fullscreen” on hulu! 😡 ). I will see if your grand plan solves this as well.
P.S. Your my hero.
I think, You should write this code as general for your jre option.. It’s a conflict problem about GTK2+ and JAVA , I will talk about this in the next post…
I suggest you to do this:
chmod +x eclipse.sh
instead of doing:
chmod 777 eclipse.sh
The former gives to the script only the necessary permissions (for execution).
Well, I noticed this problem in CVS perspective, so I thought that new Eclipse has problem with CVS module. Today I tried to add Quantum plugin and experienced the same issue. So, conclusion was that something generally with buttons goes wrong … and yours solution saved me.
Thank you!
Thanks a lot, you saved my life. I wondered whether this problem occured when I upgraded Ubuntu or switched to PDT (Eclipse for PHP Developer).
It was really a pain in .. to click with the mouse and then hit space afterwards 😉
Thanks, it did the trick.
if the binary is ‘eclipse’, the name should be ‘eclipse.sh’ – so add the ‘.sh’ suffix or the same thing as in the sed search:
#!/bin/sh
export GDK_NATIVE_WINDOWS=1
`echo “$0” | sed -re ‘s/.sh$//’`&
Thank you all for the tips, and specially for original blogger! I spent 2 days debugging and troubleshooting a new 9.10 installation running a few Java apps.
Obviously, Eclipse and Spring STS didn’t work. Another problem I observed was a stackOverflow Exception thrown by my Java application. The application is using SLF4J logging framework, JCL logging, and Logback native logging. The stackOverflow was because for some reason java.util.logging was being enabled because of this 9.10 bug. Once I set ‘export GDK_NATIVE_WINDOWS=1’ everything was well.
It’s not working for me.
I did what you sad but nothing happened.
What`s the problem? 😦
I don’t know really, But this code works for everyone. Maybe you did wrong some steps …
run eclipse.sh from a terminal prompt, and it should correct the problem. You may need to change the icon properties on your desktop to ensure you are running the shell script.
This also fixes SUSE 11.2 and eclipse — THANKS!
Good. thanks for this. it worked for me.
Thx mate. Really simple solution to a very annoying problem 🙂
Should point out that this also impacts Windoze if gtk-sharp is installed. This fix applies there also, but you have to put it in the envionment (control-panel, system)
Thx for a simple fix… was driving me crazy in suse11.2
thanks buddy i have this problem too.
i’ll try this solution as soon as possible.
buyrun! arkadash 😉
I love you.
Thanks !!!!! It really works for me
This works for me. Thank you for the tip!
Thanks a lot ! It is a great help for me.
Hi
thanks a lot for the awesome work. I have been struggling for 2 hours before i found what the problem is..
Thanks again
Regards
Arnav
Great!
It had been annoying me for weeks.
Thanks a lot
Works! Thanks a lot. Dang it was annoying.
thank you for this article man. great.
I cry! is wonderfull!
Very very thanks, i’m crazy about this bug, right now send mail to my eclipse-dudes whit a link here.
I had same issue, it works after setting the GDK_NATIVE_WINDOWS=true.
I wondering that which causes this issue? Is this problem with eclipse or Ubuntu?