Ubuntu 11.04 and disappearing scrollbars
Ubuntu 11.04 desktop (the new one, not classic) has quite nice visual feature. There are no scrollbars, but sliders that appear when you put mouse arrow over them. Quite good looking visual effect, but they just did not work with Eclipse. Which makes it really tedious to scroll vertically using only mouse scroll button. And impossible to scroll horizontally.
There is an easy fix for this. Create a file named /etc/X11/Xsession.d/80overlayscrollbars with
sudo touch /etc/X11/Xsession.d/80overlayscrollbars
and then edit it by adding there a line
Log out and log in again. Now scrollbars work.
This means, that you will have those old scrollbars in every application, not those new sliders. I am more comfortable with old permanent scrollbars for a good reason – I am using touch screens.
But if you happen to like those new sliders, then you could use the tip that Vinicius pointed out. In that case, forget what I wrote before, and make a script to deactivate sliders for Eclipse only, like this
UBUNTU_MENUPROXY=0 LIBOVERLAY_SCROLLBAR=0 eclipse
Name it whatever you like, and launch Eclipse with it.