It looks like Ubuntu 11.04 will come with overlay scrollbars by default. I do like them, but I don't like the current mix of scrollbar types as many applications don't yet use those overlay scrollbars.
Is there a way to disable overlay scrollbars (without removing the overlay-scrollbar
package)?
In 12.04 LTS there's a slightly cleaner way to do it. Just run
in a terminal. Apps opened afterwards will have the non-ayatana scrollbar.
To get the default behavior back, run
If you are using 12.10 or later, run
And to return to the default, run
You can disable the scrollbars either
For your user:
Add the line
to the file
~/.xprofile
(create one, if it doesn't exist).Or globally:
Create a file
/etc/X11/Xsession.d/99disable-overlay-scrollbars
and add above line (requires root permissions, see this answer about how to create a file as root).Or per application:
You can remove the scrollbars completely by typing
Just disabling or removing the overlay-scrollbars as described by the other answers will get you back the scroll bars, but they will be missing the stepper buttons at the end of the bars because they have been disabled in the Ambiance theme. To re-enable them, put the following in the
~/.gtkrc-2.0
file:and the following into the file
~/.config/gtk-3.0/gtk.css
:Usually, restarting the applications is enough for the changes to apply.
Simply use utility
dconf-editor
orgconf-editor
. If it is not already present you can install this from Ubuntu Software Center.This utility is like Windows registry-editor where you can tweak system settings. From entry
org > gnome > Desktop > Applications
.you find an item named ubuntu-overlay-scrollbars. Toggle the item off, logout/login and you're ready.Maybe you're talking about ayatana scrollbar!
in the case that you want to have the old scrollbar style you only need to use the next command:
In Ubuntu 12.04 you can just install Ubuntu Tweak and the option to disable the vertical overlay scrollbar is in Tweaks -> Miscellaneous. You'll need to log-off or reboot for the changes to take effect.
If you want the overlay scrollbar back at some point, you just go and enable it back again in the app. In addition you get a large number of tweaks at your disposition. I'd say this is the easiest way to achieve this.
Try the following:
You'll probably need to log off once.
More information / ideas can be found here.
On 15.10 wily (libgtk-3-0) this worked for me:
When you try to uninstall
liboverlay-scrollbar
doesn't find it! To get rid of the transparent bars was easily fixed. I use leafpad.Open a terminal :
gksudo leafpad /etc/X11/Xsession.d/99disable-overlay-scrollbars
export LIBOVERLAY_SCROLLBAR=0
No more overlay slidebars or transparent slidebars.