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)?

link|improve this question

feedback

9 Answers

up vote 25 down vote accepted

You can disable the scrollbars either

link|improve this answer
2  
Just one user: echo export LIBOVERLAY_SCROLLBAR=0 >> ~/.xprofile (note that the double '>>' is important, it means "append"). To add for all users: echo export LIBOVERLAY_SCROLLBAR=0 | sudo tee -a /etc/X11/Xsession.d/99disable-overlay-scrollbars – sladen Jun 23 '11 at 12:17
feedback

You can remove the scrollbars completely by typing

sudo apt-get remove overlay-scrollbar liboverlay-scrollbar
link|improve this answer
1  
They're still around even after removing the package. I even restarted my computer for good measure after logging out and back in didn't do the trick. Are there any gconf settings I need to edit or anything? – Josh Glover Jun 7 '11 at 11:27
Ah, looks like I needed to remove liboverlay-scrollbar as well. Sebastian, if you edit your answer to mention removing that package, I'll accept it. – Josh Glover Jun 7 '11 at 11:32
This is a merged in answer to deal with people who are happy with deleting the packages. It may well be a simpler fix. – Oli Jun 7 '11 at 11:49
feedback

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:

style "default" {
  engine "murrine" {
    stepperstyle = 0
  }
}

and the following into the file ~/.config/gtk-3.0/gtk.css:

.scrollbar {
  -GtkScrollbar-has-backward-stepper: 1;
  -GtkScrollbar-has-forward-stepper: 1;
}

Usually, restarting the applications is enough for the changes to apply.

link|improve this answer
feedback

May be 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 comand:

sudo apt-get remove overlay-scrollbar liboverlay-scrollbar liboverlay-scrollbar3

See the imagen to notice the ayatana srollbar.

link|improve this answer
feedback

Try the following:
echo "export LIBOVERLAY_SCROLLBAR=0" > /etc/X11/Xsession.d/80overlayscrollbars

You'll probably need to log off once.

More information/ideas can be found here

link|improve this answer
pavlos G. beat me to it. The info is also confirmed here and here – nitstorm Jun 7 '11 at 11:38
Thanks for this, guys. As I absolutely despise the overlay scrollbars, I'll accept the answer that removes the packages, but I'm sure this info will be useful to others. – Josh Glover Jun 7 '11 at 11:44
feedback

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 :

  1. gksudo leafpad /etc/X11/Xsession.d/99disable-overlay-scrollbars
  2. Put your password in.
  3. Type export LIBOVERLAY_SCROLLBAR=0
  4. Save, Exit and reboot.

No more overlay slidebars or transparent slidebars.

link|improve this answer
feedback

i too find the overlay scrollbar very difficult to handle. You can go for this link http://hashprompt.blogspot.com

link|improve this answer
1  
It would be great to have the answer here on Ask Ubuntu with an optional link to your blog and not only a link. – Octavian Damiean Dec 13 '11 at 18:49
feedback

Open Synaptic Package manager and search for scroll overlay package. Than remove it.

link|improve this answer
Doesn't answer the question. The question specifically states that he doesn't want to remove the overlay scrollbar package. – jrg Apr 22 '11 at 21:12
-1: you didn't read the question text (“… without removing…”) – ΤΖΩΤΖΙΟΥ May 6 '11 at 19:34
feedback

to remove the ubuntu scrollbars type this in terminal: apt-get purge overlay-scrollbar liboverlay-scrollbar3-0.2-0

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.