I’m currently trying the latest Ubuntu 11.04 with the new Unity desktop. While playing around I noticed that Eclipse Galileo (3.5.2) and I assume Helios, too, is not showing the scrollbars. After googling I found out that Eclipse is having problems with the new overlay scrollbars. Apparently there are various solutions to this problem:
- Disable overlay scrollbars in Unity:
sudo su -c 'echo export LIBOVERLAY_SCROLLBAR=0 > etc/X11/Xsession.d/80overlayscrollbars
This works but looks like crap because it affects the whole system.
- Disable overlay scrollbars for eclipse only. This applies to the Ubuntu repository version of Eclipse which is started by a shell script found under /usr/bin/eclipse
These lines are added below the line:
# work around for LP #769277 export UBUNTU_MENUPROXY=0 export LIBOVERLAY_SCROLLBAR=0 # end work around
I prefer the latter. The original posting mentioning this workaround can be found here.