[opensuse] gnome scrollbars
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. I don't know how to find out what version of gnome I'm running, or even whether the question makes sense. There are various how-tos online that don't work on my system. I use an LXDE desktop and various programs of all ilks as my mood takes me. YaST shows me various different version numbers for various gnome-* packages, but the latest seems to be 3.26. Is there a concept of a single gnome version and how can I find it? 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: # # This file is parsed by pam_env module # # Syntax: simple "KEY=VAL" pairs on seperate lines # which apart from the spelling error, just seems to indicate that it's not a good place to put a shell script fragment. So is the comment correct, or is the file actually interpreted by a shell at some point? And if the comment is correct, what's the correct place to put the gnome setting for its scrollbars to make it global? Cheers, Dave -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
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
participants (2)
-
Dave Howorth
-
David C. Rankin