Ubuntu – way to blacklist an individual application from using overlay-scrollbars

11.04blacklistcode-blocksoverlay-scrollbars

I am having problems with some programs when using overlay-scrollbars, mainly Code::Blocks and Eclipse.

I've found several ways of disabling the overlay scrollbars completely, for all applications, but I like them and I don't want to do this.

Is there a way to blacklist only this applications from using the new scrollbars?

Best Answer

I am going to answer my own question. Thanks to the user "SevenMachines" in ubuntuforums, I've found a way to disable overlay scrollbars for a specific application. I did a shell script with the following (for eclipse, for example):

#!/bin/sh
LIBOVERLAY_SCROLLBAR=0 eclipse

Then, make it executable, and using the "Menu editor", changed eclipse to point to the script.