Welcome to the most active Linux Forum on the web.
Go Back > Blogs > linux-related notes
User Name


Just annotations of little "how to's", so I know I can find how to do something I've already done when I need to do it again, in case I don't remember anymore, which is not unlikely. Hopefully they can be useful to others, but I can't guarantee that it will work, or that it won't even make things worse.
Rate this Entry

[UPDATED] Fix some GTK3 new bugs/"features" with a few simple configurations

Posted 08-18-2015 at 09:42 AM by the dsc
Updated 04-28-2016 at 05:20 AM by the dsc (fixing broken link)
Tags bugs, gtk3

"Legacy scrolling". Back then clicking on the scroll bar meant to go about a page up or down, not that you magically know the exact content that is at that absolute point. Also "remove overlay scroll indicators", so the scroll bar is always visible and occupies a definite space, instead of sometimes overlapping content and making it harder to click, as the overlay pops up.

It's kind of presumptuous to call it "legacy scrolling" mode, why not just "page scrolling mode mode" rather than "absolute [document] mode"?

In order to use it for graphical root applications (gksu) called from openbox menus, one can use something like:

<item label="synaptic">
<action name="Execute">
<execute>bash -c "export GTK_OVERLAY_SCROLLING=0 ; gksu synaptic"</execute></action>
Alongside with the file settings changes in root's user config files.

For some reason it doesn't work with ubuntu. You'd rather use gksu env GTK_OVERLAY_SCROLLING=0 synaptic.

The proper click-scroll mode is restored now by adding an option to ~/.config/gtk-3.0/settings.ini:

gtk-primary-button-warps-slider = 0
The click-and-instantly go to the "absolute" corresponding place on the page rather than the "next screen" can still be achieved with right clicking, for those who somehow know exactly where the content is in the length of the scrollbar.
Posted in Uncategorized
Views 1279 Comments 0
« Prev     Main     Next »
Total Comments 0




All times are GMT -5. The time now is 09:01 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration