GTK-reSlider
The script changes the width of window sliders which are very narrow by default in Linux.
release date: 2025-01-04
about
While actively participating in Linux-related groups and forums, I have often come across opinions that scrollbars in Linux are very narrow by default, which discourages new users.
This concerned me because the solution to this issue is not very difficult, yet our community loses potential members over something so simple.
This inspired me to create the GTK reSlider script, which comprehensively changes the width of those scrollbars without the need to spend time searching for the correct classes and styles in GTK CSS files.
This concerned me because the solution to this issue is not very difficult, yet our community loses potential members over something so simple.
This inspired me to create the GTK reSlider script, which comprehensively changes the width of those scrollbars without the need to spend time searching for the correct classes and styles in GTK CSS files.
features
The script requires entering a new scrollbar width in pixels and then comprehensively applies the change locally for the user — if no local GTK stylesheet exists it adds a new one, and if the file exists it only replaces the values responsible for the scrollbar width.
Each change requires reloading the graphical environment — restarting X, logging out and back in, or running the appropriate command to reload resources for the graphical environment.
The script also includes a safeguard against entering values that are too large or too small — by asking the user if they are aware of what they are doing.
Simple, right?
Each change requires reloading the graphical environment — restarting X, logging out and back in, or running the appropriate command to reload resources for the graphical environment.
The script also includes a safeguard against entering values that are too large or too small — by asking the user if they are aware of what they are doing.
Simple, right?
compatibility
The script itself is compatible with any Unix system capable of running Bash and grep — these are the only tools used by the script.
Scrollbar width changes will only be applied in graphical environments based on GTK3. So basically, on almost every one.
Scrollbar width changes will only be applied in graphical environments based on GTK3. So basically, on almost every one.