I’ve been having some problems with Eclipse on Ubuntu 11.10 with regards to the new scrollbars. Specifically, they just don’t show up. It seems I’m not the only one, and there is a bug report for it already. Naturally, I started Googling away, but found very little useful information and possible workarounds. A comment on this post led me to something usable. Here’s what you do:
- Open up the Eclipse start-up script in a text editor. I did this with “sudo gedit /usr/bin/eclipse”
- A few lines from the top you should see:
export GDK_NATIVE_WINDOWS=true
Comment this line out by placing a # at the front. (thanks to the comment below from @ModulosDePago)
Add in the following lines below it:export UBUNTU_MENUPROXY=0 export LIBOVERLAY_SCROLLBAR=0 - Save and exit.
Now when you start up Eclipse it should show the old style scrollbars. They aren’t as fancy as the new ones, but at least they work.
The overlay scrollbars should now be working as normally. If you still have issues, try the struck out solution I have posted above.
[Sidenote]: I did have some trouble getting the Eclipse shortcut back on the Unity sidebar, but a restart fixed that issue.
Thx
Thx for your tip, but I found an easier way to solve the problem and have the new scrollbars.
Instead of adding the lines you say, you should just comment the line:
export GDK_NATIVE_WINDOWS=true
Thanks for the comment. I’ve updated my post above.
Thanks for the tip, this was really annoying…
Thanks a lot for this!
Worked perfectly.
Nice, works fine for me! Thank you.
Nice work thanks!
It worked. Thanks!
Perfect! Thanks for sharing!
Excellent tip. Worked great. Thanks a lot.
Reblogged this on Cinan's Free (as in "free speech") Blog and commented:
Ako v Eclipse (a inych Java aplikaciach) rozchodit overlay scrollbar
THANKS!!!!
Worked just fine!
Besides the problem, my mouse scroll wasn’t working, so, using Eclipse was the quickiest way for me to get stressed! XD