LinuxQuestions.org
Help answer threads with 0 replies.
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

Disable the annoying scrolling animations in GTK3

Posted 01-03-2024 at 08:38 PM by the dsc
Updated 02-20-2024 at 07:00 PM by the dsc

In GTK3 they came up with the notion that if you have a really long file list, and you want to get to the end of the list by pressing the "end" key, you don't really want to immediatelly jump down there to the end, instead you'd want a few seconds of an animation of the file list rolling up. Which ironically contrasts somewhat with their scrollbar innovation, of instantly moving the view to the "proportional" point on the scrollbar, rather than a click out of the scroller being a "page up" or down.

Anyway, to disable the list-animation, people suggest these two things, hopefully just one of them would be necessary, but just in case I did both:

on terminal:

Code:
gsettings set org.gnome.desktop.interface enable-animations false
And editing (or creating) a ~/.config/gtk-3.0/settings.ini file with this line:

Code:
[Settings]
gtk-enable-animations=0
With the option being set under the "settings" section, wherever it is, likely you shouldn't add a new one.



To disable the scroll bar instantly "warping" the view to the proportional part of the page/list, one should add to the same "settings" section of that ini file:

Code:
gtk-primary-button-warps-slider=false


I suspect the "animation" setting can be inadvertently reset by GUIs to change theming or something, I'm sure I had disabled such animations already under this current linux install. But it could perhaps be that I did only the command-line thing, which may not save it anywhere if you're not on G.N.O.M.E., so it's not kept permanently, but I'm just speculating that.

Edit: pretty much confirmed. Tweaking several gtk-related GUI-config settings (why on Earth one would want an unified config UI that just works?) in order to try to reduce the huge size of AbiWord's interface, eventually the "animation" setting was set again to "true." At some point I have to try to put all the "okay" GTK-related settings files into some safe archive so that I'd always be able to restore them and change more deliberately/punctually and manually if possible.

Can't wait for the innovations of GTK4. I can only imagine, things like the interface being just all huge icons, and maybe instead of scrollbars, warping or normal, you'd have click and drag the page/list up or down, as one would do with touch screen on mobile interfaces. There must also be something cool like getting completely rid of common windowing standards like the close and minimize buttons and whatnot, and not have any way around it if you're in a different DE or WM, being totally awkward and unusable, at least by default. Not to mention weird shadows and transparencies conflicting with previous standards on which composers are based.


Edit 2: actually it doesn't get rid of the scrolling animations somehow. I guess they don't appear consistently for some reason, and then at times it would look like they were disabled, but they're not. I've even set "0s" and "0ms" in gtk3's css of my theme for everything time-related, but so far this animation persists. Maybe the gtk theme editing requires logging out and in again, or reloading the theme (setting a different one and the previous again), but that's risker, settings-wise, as few control-settings GUIs clearly specify which GTK theme you're setting, they just hope the themes are up-to-date and exist for all GTKs. Although by now I guess there's nothing that's GTK2 around anymore.
Posted in Uncategorized
Views 179 Comments 0
« Prev     Main     Next »
Total Comments 0

Comments

 

  



All times are GMT -5. The time now is 07:22 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