On 10/06/2019 06:16 AM, Dave Howorth wrote:
I've finally become annoyed enough with the gnome scrollbars to want to fix them. (the ones that are almost invisible and only become visible when you mouse over them). I've found https://www.linuxuprising.com/2019/09/how-to-disable-gnomes-overlay.html and determined that I don't have the 'overlay-scrolling' setting in dconf-editor, so presumably have an older version of gnome.
<snip>
Anyway I tried GTK_OVERLAY_SCROLLING=0 gedit and that worked so I've added
export GTK_OVERLAY_SCROLLING=0 gdbus call --session --dest org.freedesktop.DBus --object-path /org/freedesktop/DBus --method org.freedesktop.DBus.UpdateActivationEnvironment '{"GTK_OVERLAY_SCROLLING": "0"}'
to ~/.profile and that works. The I decided to make it the default for the whole system so I went to add it to /etc/environment. But that file just contains:
<snip>
Since GTK 3.15, overlay scrollbars are enabled by default, meaning that scrollbars will be shown only on mouseover in GTK 3 applications. This behavior can be reverted by setting the following environment variable: GTK_OVERLAY_SCROLLING=0 See: https://wiki.archlinux.org/index.php/Environment_variables#Graphical_environ... Good news! GTK 4 will no longer support GTK_OVERLAY_SCROLLING. It has already been dropped from master. As of GTK 4, the overlay nature of the scrollbars is part of the toolkit. The blanket toggle has been removed to prevent developers from breaking applications that haven't been tested with both combinations. To allow application developers to decide what their applications should look like, the toolkit instead provides a mechanism to opt-out or add a setting for users. The function gtk_scrolled_window_set_overlay_scrolling() can be used to enable/disable overlay scrolling on a per-application basis. Application developers can optionally use GSettings to have a user setting bound to the property. -- David C. Rankin, J.D.,P.E. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org