LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Blogs > linux-related notes
User Name
Password

Notices


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 08:42 AM by the dsc
Updated 04-28-2016 at 04: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.

https://wiki.archlinux.org/index.php...lling_behavior


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:

Code:
<item label="synaptic">
<action name="Execute">
<execute>bash -c "export GTK_OVERLAY_SCROLLING=0 ; gksu synaptic"</execute></action>
</item>
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.


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

Code:
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.

https://lists.ubuntu.com/archives/ub...ch/001724.html
Posted in Uncategorized
Views 1336 Comments 0
« Prev     Main     Next »
Total Comments 0

Comments

 

  



All times are GMT -5. The time now is 10:45 AM.

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