Google Chrome disable window animations
Asked Answered
A

3

22

After updating to Chrome 58 I noticed a new "zoom-fade" effect when restoring a minimized window, or opening a new window (Ctrl+N). This feels very unnecessary, and - in my desktop environment - totally out of place.

Is there a way to permanently disable all window animation effects?

Astrometry answered 25/4, 2017 at 9:58 Comment(1)
FYI, same question on SU: How can I turn off animations in Google Chrome?Proviso
O
22

You can disable the animation by adding the --wm-window-animations-disabled command-line flag.

For Linux/Ubuntu you can make this permanent by editing the Chrome shortcut at /usr/share/applications/google-chrome.desktop. There are 3 Exec= lines where you will need to add --wm-window-animations-disabled immediately after the executable name.

If you find that this is no longer working, re-check your shortcuts as some Chrome updates (via a package manager) could have overwritten the shortcut(s), so you may need to re-edit them.

Owades answered 25/4, 2017 at 17:6 Comment(6)
Worked like a charm! Slapped this in the XFCE shortcut and it worked great. I'm sure the Chrome team will disable that flag in about 9 months, but I can avoid the nauseating zoom until then, at least.Gauge
This isn't working for me. Ubuntu 17.04 Chrome 58.0.3029.110 i3 desktopSanity
This worked for me, but changing that desktop file didn't help. Probably this is because I start google chrome by clicking a shortcut icon in the menu bar. So, I had to add this flag to that shortcut icon by right-clicking it and modifying the command.Periphery
@zamicol change it where you start it from. might be another direct short cut? try from the command line firstSayres
Looks like with Chrome 60 and 61 this has been fixed. So the command-line flag is no longer necessary. I marked this as the accepted answer since it did help with Chrome 58 (and 59?).Astrometry
Do you have a solution also for macOS?Booma
A
4

There's easy way to get rid of those animations everywhere & permanently under Linux.

Here's an example for Ubuntu:

sudo nano /etc/chromium-browser/customizations/dis_wm-window-anim

(on Debian its /etc/chromium.d/dis_wm-window-anim)

then

CHROMIUM_FLAGS="${CHROMIUM_FLAGS} --wm-window-animations-disabled"

Ctrl+x -> y -> "enter"

Agronomy answered 11/6, 2017 at 11:5 Comment(2)
Oneliner for Debian, as root: echo 'CHROMIUM_FLAGS="${CHROMIUM_FLAGS} --wm-window-animations-disabled"' > /etc/chromium.d/dis_wm-window-anim. Then restart Chromium. Looks so much snappier and better. Thanks Yevgen!Gristede
Any idea how to do this for macOS?Booma
K
3

go to developer tools and then click top right menu click More tools and then click Animation in top and left of Animation Tab you can see play and pause button by click on it you can stop and play animation

Kymric answered 19/8, 2018 at 10:36 Comment(2)
tried, not related to the problem described in the questionBooma
Thanks so much, this worked great for a glow effect in a web-panel that was draining 90% cpu usageTerraqueous

© 2022 - 2024 — McMap. All rights reserved.