Skip to content

Remover ou Desabilitar a barra de rolagem overlay – Ubuntu 11.10

Boa noite,

Infelizmente a barra padrão do Ubuntu 11.10 continua a "overlay" que eu particularmente não gosto. Fui testar o método que fizemos no 11.04 e funcionou! (Só testei o de desabilitar)

Utilize este comando:

# echo export LIBOVERLAY_SCROLLBAR=0 > /etc/X11/Xsession.d/80overlayscrollbars

Caso queira testar um dos outros métodos, teste e nos avise se funcionou!

Remover ou Desabilitar a barra de rolagem overlay – Ubuntu 11.04


Published inUbuntu


  1. T.J. Crowder T.J. Crowder

    Thank you!!! I had to do it as `sudo vi /etc/X11/Xsession.d/80overlayscrollbars` and then provide the `export LIBOVERLAY_SCROLLBAR=0` part, but it worked a treat when I restarted Unity. Excellent!

  2. Colin D Bennett Colin D Bennett

    As T.J. Crowder noted, your command “sudo echo export LIBOVERLAY_SCROLLBAR=0 > /etc/X11/Xsession.d/80overlayscrollbars” is not quite right, since it runs the “echo” program as root with sudo, then the shell (as your user, NOT root) tries to write the output from echo to the 80overlayscrollbars file, which would fail.

    A trick to make this work is to do

    $ echo export LIBOVERLAY_SCROLLBAR=0 | sudo tee /etc/X11/Xsession.d/80overlayscrollbars

    which runs the “tee” command as root, writing to the file as you intended.

  3. Yes, you are correct! For now I just changed $ to # so everything will be executed as root. Thanks for your reply and your tip.Best Regards, Matheus 😀

  4. I think I screwed up my linux doing this!

    After writing the intial command (gave me permssion denied), I wrote Colin's command, seemed to work, restarted. Now when I enter my password to log in it flashes to a black screen briefly, then right back to the login screen). Who knows, could be something totally unrelated.

  5. ^To undo if it's screwed things up for you:

    Press ctrl+alt+f1 at log in screen.
    log in
    $ sudo rm /etc/X11/Xsession.d/80overlayscrollbars

  6. Hey David,
    Strange that the command didn't work. Here it works. But at least you find a way to go back.
    Sorry to take so long to replay.
    Best regards,

  7. Thanks, this really helped me out. I like this scroll-bar, than the default one. I'm so happy now. Yay!

  8. Worked like a charm!!!:)So I can confirm that it works on 11.10

  9. Juergen Gnoss Juergen Gnoss

    If you like to remove that scrollbars permanently.
    just :
    sudo apt-get remove overlay-scrollbar liboverlay-scrollbar-0.2-0 liboverlay-scrollbar3-0.2-0

    restart X

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.