this post was submitted on 24 Jul 2023
22 points (100.0% liked)

Linux

48100 readers
788 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

On Ubuntu (and probably other distros as well) it's as easy as going to Settings>Accessibility>Reduce animations and then turning it ON. This seems to apply to most applications, like firefox, ~~discord and spotify~~.

Is there any way to do this on swaywm? I thought maybe it could be set with an environment variable, but couldn't find any. My linux knowledge ain't the best.

This is my system: https://imgur.com/MhJe9qg

top 9 comments
sorted by: hot top controversial new old
[–] ozymandias117 6 points 1 year ago (2 children)

That toggle in Gnome only affects the Gnome shell

An equivalent is running this in the terminal

gsettings set org.gnome.desktop.interface enable-animations false

[–] Toralv 4 points 1 year ago (1 children)

Damn you're right. I may or may not have been brushing off anything related to gnome, since I thought it wouldn't apply to me... Well that was ignorant of me.

While this doesn't seem to apply for spotify, steam or discord, after rechecking on my laptop with Ubuntu, neither did it there... (so my description is a little off). I guess that's because of the applications not running wayland natively? I actually don't really know though.

I know in Windows there is an option to turn off all animations, and it really did that for EVERYTHING, so I guess I'm after something like that, but there probably isn't such an option.

[–] ozymandias117 2 points 1 year ago

You would want to search for some environment variable for “GTK” and “QT”

Those are the primary toolkits used for UIs, and are used by Electron which Spotify and Discord probably use

I’m not sure if it exists or not, though

[–] [email protected] 2 points 1 year ago

It can also disable animation in the web browser. Some website can see this setting and disable some stuffs.

[–] [email protected] 1 points 1 year ago (2 children)

I don't know the answer, but why disable animations? Does it feel better?

[–] [email protected] 3 points 1 year ago

animation hog ressources on low end hardware, and, by their nature, make your system less snappy since you have to wait for the animation to end before interacting with your program

[–] Toralv 2 points 1 year ago
[–] [email protected] 1 points 1 year ago (1 children)

Umm, I can't recall ever seeing any animations in swaywm. You're sure you're using sway and seeing animations in it?

[–] Toralv 1 points 1 year ago

Maybe I phrased it badly in my post. Of course swaywm in itself doesn’t have any animations, but since I don’t have a desktop environment like gnome or kde, I thought people would understand if I said that I use swaywm. Sorry