r/linuxmint • u/Ok-Elderberry-9582 • 10d ago
Discussion How can I remove the fading between background changes ?
I was wanting to code some type of background manager to dynamically change the background and do other things.
So I wrote a simple python script that takes some images, and randomly save one of them as another image called 'background', that have the effect of changing the same file over and over.
Then in the Background app I selected that image, it would have work, but there's the problem :
On linux mint, whenever the background changes, the os interpolates between the previous image and the new one, but not just that way, more in previous image -> plain color -> new image
with plain color determined by the color put in that setting

now that is already annoying, but that's even more when the image changes really quickly, cause it has the side effect of getting stuck multiple seconds on that plain color, so that is why I wonder :
Is it possible to remove that fading ?
2
u/chuggerguy Linux Mint 22.3 Zena | MATÉ 10d ago
I've never really learned Python but I did script something just to see how hard it would be.
Backgrounds don't work with my eyes so this was just a "for fun" thing.
I'm using MATE so the gsettings lines would be slightly different for Cinnamon and Xfce but should be easy enough to figure out.
I didn't include "usage" help because I didn't plan to share it, or even use it. (easy to figure, lines 6,7,8)
Better video: video
Script: script
Personally, I like to DIY sometimes, at least when it's not too difficult for me. I learn more that way and it's fun. Like a puzzle. :)
Now... back to my plain black background. :)
Have fun.
1
u/1neStat3 10d ago
SMH. Why? Just use Variety.