Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I'm testing my app in Natty 2nd beta, in which most applications are showing the new overlay scroolbars, I guess only non-native GTK apps can't show it (like LibreOffice or Firefox).

My app is coded using Python and pygtk so I thought the overlay scrollbars should be enabled by default but I was wrong. I tried to set the environment variable LIBOVERLAY_SCROLLBAR to 1 in both terminal (previously to the app command) and inside the python code via os.putenv(), but it's still showing the old-fashioned scrollbars.

What am I doing wrong?

share|improve this question
2  
This question is quite old -- do you still have this problem with the final Natty release? –  Marcel Stimberg Aug 31 '11 at 20:17
2  
Maybe you want to use PyGI instead of PyGTK. –  Fitoschido Sep 6 '11 at 23:44
1  
Are you using the gtk_scrolled_window widget? Or in PyGTK terms, gtk.ScrolledWindow? –  falstaff Sep 9 '11 at 13:23
add comment

1 Answer

You should use gtk_scrolled_window widget because is the only widget that support overlay scrollbars.

Source https://wiki.ubuntu.com/Ayatana/ScrollBars

If it doesn't work try with:

sudo su
echo "export LIBOVERLAY_SCROLLBAR=1" > /etc/X11/Xsession.d/80overlayscrollbars
share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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