Installation and configuration

Asked by Govind Chintapalli

I want to install overlay-scrollbars on gentoo. I installed it using
./configure --prefix=/usr/local --with-gtk=2
make
make install

Now how should I configure my desktop to show overlay scroll bars?

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu overlay-scrollbar Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Sam_ (and-sam) said :
#1

Did you test an app with prefix?
https://wiki.ubuntu.com/Ayatana/ScrollBars

Revision history for this message
Sam_ (and-sam) said :
#2

Maybe try configure with gtk3; websearch found this package.
https://aur.archlinux.org/packages.php?ID=50116

Revision history for this message
Sam_ (and-sam) said :
#3

Another idea getting from there
http://www.webupd8.org/2011/04/how-to-disable-overlay-scrollbars-in.html

which suggests a cmd how to disable overlay-scrollbar, so instead maybe the contrary works.
echo "export LIBOVERLAY_SCROLLBAR=1" > /etc/X11/Xsession.d/80overlayscrollbars

Revision history for this message
Govind Chintapalli (govindchintapalli) said :
#4

Thanks Sam

I tried #1 and #3 already (they are the same). As for #2, there is also a gtk2 version of the package https://aur.archlinux.org/packages.php?ID=48816 so it should work with gtk2 as well, I think. But both the packages are actually patched gtk(2/3). Do I have to patch my gtk as well?

Revision history for this message
Sam_ (and-sam) said :
#5

That's a very good question, is there a 'readme' where it states it's necessary?
Maybe contact ayatana team.
https://launchpad.net/ayatana-scrollbar
https://wiki.ubuntu.com/Ayatana

GTK+2
http://developer.gnome.org/gtk/stable/ScrollingWidgets.html

Revision history for this message
Govind Chintapalli (govindchintapalli) said :
#6

Its not the readme Sam, both the archlinux packages are patched gtks. Thanks for your help. I put a message with Scrollbars team owner.

Revision history for this message
Andreas B. (andreas-b123) said :
#7

Ubuntu patched GTK, so all scrolled windows automatically used the overlay scrollbar. Else you have to change the sourcecod of all applications.

You can find the Patch here: https://launchpad.net/ubuntu/oneiric/+source/gtk+2.0/2.24.5-0ubuntu2

Download gtk+2.0_2.24.5-0ubuntu2.debian.tar.gz (139.8 KiB), then applay the patch debian/patches/100_overlay_scrollbar_loading.patch to your GTK source, recompile GTK (only 2 or 3 files are changed).

Restart and you should have overlay scrollbar in the most applications.

I didn't test this, but I'm a developer and I used the overlay scrollbar in my own application;-)

Revision history for this message
beta992 (beta992) said :
#8

Hi,

I have managed to compile the patched gtk2 with the latest overlay patch.
The overlay-scrollbars are working within gtk2 apps.

I also tried to patch the latest gtk3 version (3.4.3), but I cannot apply the provided 100_overlay_scrollbar patch file.
Is this not needed anymore?

It compiles without the patch, but the overlay-scrollbars are not working..

Could someone please help?

Running on Archlinux.

Thanks!

Can you help with this problem?

Provide an answer of your own, or ask Govind Chintapalli for more information if necessary.

To post a message you must log in.