🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: comp.os.linux.misc
5 messages
5 total messages Started by Bob Wed, 07 Oct 2026 21:39
Re: GTK+3 Hidden Scroll Bars. How to Disable?
#155
Author: Bob
Date: Wed, 07 Oct 2026 21:39
8 lines
1585 bytes
Leroy H <lh@somewhere.net> writes:

>Is there some way to disable this stupid behavior and thus keep the
>scroll bars visible at all times?  Hiding the scroll bars only saves
>about 20 pixels of screen real estate and for me 20 pixels is no great
>sacrifice.-

Set the environment variable GTK_OVERLAY_SCROLLING to 0 and rejoice.
Re: GTK+3 Hidden Scroll Bars. How to Disable?
#159
Author: c186282
Date: Thu, 08 Oct 2026 08:07
21 lines
2139 bytes
On 10/7/26 17:39, Bob wrote:
> Leroy H <lh@somewhere.net> writes:
> 
>> Is there some way to disable this stupid behavior and thus keep the
>> scroll bars visible at all times?  Hiding the scroll bars only saves
>> about 20 pixels of screen real estate and for me 20 pixels is no great
>> sacrifice.-
> 
> Set the environment variable GTK_OVERLAY_SCROLLING to 0 and rejoice.

   Where IS this config file ?

   Found an EXAMPLE file with "GTK_OVERLAY_SCROLLING" but
   the options were "true" or "false" and not much more
   info.

   "GTK_OVERLAY" is in .config/libfm but not with "_SCROLLING"
   attached.

   Did a large by-text search.
Re: GTK+3 Hidden Scroll Bars. How to Disable?
#161
Author: Anssi Saari
Date: Thu, 08 Oct 2026 08:49
20 lines
2162 bytes
c186282 <c186282@nnada.net> writes:

>> Set the environment variable GTK_OVERLAY_SCROLLING to 0 and rejoice.
>
>   Where IS this config file ?

That turns out to be a fairly complex question and it has changed over
the years. The simple answer is, it depends on your desktop environment
but apparently also a display manager can do it.

For me since my desktop just runs a window manager and I've setup sddm
to start that, I can set any environment variables I need simply in
~/.xinitrc.

My Linux laptop runs KDE and there environment variable setting is
covered here: https://userbase.kde.org/Session_Environment_Variables/en,
it used to be scripts in ~/.kde/env but today it's scripts in
~/.config/plasma-workspace/env.

Any other desktop environment, I don't have the foggiest.
Re: GTK+3 Hidden Scroll Bars. How to Disable?
#200
Author: Leroy H
Date: Thu, 08 Oct 2026 21:21
15 lines
1370 bytes
On Wed, 7 Oct 2026 21:39:31 -0000 (UTC), Bob wrote:

> Leroy H <lh@somewhere.net> writes:
> 
>>Is there some way to disable this stupid behavior and thus keep the
>>scroll bars visible at all times?  Hiding the scroll bars only saves
>>about 20 pixels of screen real estate and for me 20 pixels is no great
>>sacrifice.-
> 
> Set the environment variable GTK_OVERLAY_SCROLLING to 0 and rejoice.
>

Great!  It works.

Re: GTK+3 Hidden Scroll Bars. How to Disable?
#223
Author: Rich
Date: Fri, 09 Oct 2026 14:44
35 lines
2426 bytes
c186282 <c186282@nnada.net> wrote:
> On 10/7/26 17:39, Bob wrote:
>> Leroy H <lh@somewhere.net> writes:
>> 
>>> Is there some way to disable this stupid behavior and thus keep the
>>> scroll bars visible at all times?  Hiding the scroll bars only saves
>>> about 20 pixels of screen real estate and for me 20 pixels is no great
>>> sacrifice.-
>> 
>> Set the environment variable GTK_OVERLAY_SCROLLING to 0 and rejoice.
> 
>   Where IS this config file ?
> 
>   Found an EXAMPLE file with "GTK_OVERLAY_SCROLLING" but
>   the options were "true" or "false" and not much more
>   info.
> 
>   "GTK_OVERLAY" is in .config/libfm but not with "_SCROLLING"
>   attached.
> 
>   Did a large by-text search.

"Environment variable" -- that's a key phrase you missed.

If you want it to be permanant you would set it in /etc/profile or 
whichever of your shell initialization scripts get run for each new 
shell invocation.

If you want to test from an existing shell, and you are running bash, 
you'd just do:

export GTK_OVERLAY_SCROLLING=0

in that shell, then launch the gtk application you wanted to run from 
the shell where you changed the environment variable.
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads