Live data from Hacker News

Show HN: High performance X11 animated wallpapers

github.com

41–50 of 70 posts

Re: Show HN: High performance X11 animated wallpapers

#41
post #14

Live wallpapers would be much more compelling if the background had context-awareness of what was in the foreground and could interact and animate in a way that augmented the foreground apps instead of just being pretty. Maybe with smart people, future OSes will make that possible.

https://cyber.dabamos.de/unix/x11/#xroach

Though it doesn't augment anything, nor does it look particularly pretty...

Re: Show HN: High performance X11 animated wallpapers

#42

Isn't it possible to use mpv for this? mpv --wid=0 Causes mpv to draw to the root window. I even found a guide: https://github.com/digip/linux-video-wallpaper Not sure what the performance is like though.

Performance is pretty good, probably even better than TFA, due to the hardware decode of the video.

That said, in both cases transparency of things like terminals is going to be very resource hungry.

Also, if you're doing the --wid=0, throw in --loop there too. :)

Re: Show HN: High performance X11 animated wallpapers

#43
post #2

So the animated wallpaper scene on linux is pretty bizarre. There are some popular methods out there like calling `feh --fill-bg` continuously in a bash loop but it sends your CPU usage to an astronomical 40% which drains the laptop battery pretty quickly. I couldn't find a reasonable animated desktop wallpaper setter, so I wrote a little utility in 150 lines or so in C that I call from .xinitrc to randomly pick a fa…

[deleted]

Re: Show HN: High performance X11 animated wallpapers

#44
I have 3 screens. Amount of pixels that show my desktop: 0

I am honestly confused why, years ago, I spent hours searching for the perfect wallpaper on the internet. And why I spent even more hours making my own, 20 years ago.

Nowadays I usually set one I like when I install the machine and maybe change it 1-4 years later. Is this what growing up feels like? :(

Re: Show HN: High performance X11 animated wallpapers

#45
post #2

So the animated wallpaper scene on linux is pretty bizarre. There are some popular methods out there like calling `feh --fill-bg` continuously in a bash loop but it sends your CPU usage to an astronomical 40% which drains the laptop battery pretty quickly. I couldn't find a reasonable animated desktop wallpaper setter, so I wrote a little utility in 150 lines or so in C that I call from .xinitrc to randomly pick a fa…

>There are some popular methods out there like calling `feh --fill-bg` continuously in a bash loop but it sends your CPU usage to an astronomical 40% which drains the laptop battery pretty quickly

Is this true when you have a loop that sleeps for 5 minutes before calling it again? I've always set my wallpapers this way. It's also similar to what I do on Sway. The only alternative I've found is simple enough and still works is using an ad-hoc systemd timer task.

Edit: nevermind, I forgot this is about animated wallpapers. I use a while loop + feh for setting a static wallpaper that changes every 5 minutes.

Re: Show HN: High performance X11 animated wallpapers

#46
I never saw the point of this, or Active Desktop back in the day.

But the last three releases of Fedora and Gnome have had a sort of animated wallpaper. It's actually just an XML file that defines times and image files for each time. And it's used to darken the wallpaper when the sun sets.

I use the default one that ships with Fedora but the XML file is straightforward and it's simple to make your own.

One thing that will make me use more advanced desktop features is definitely alleviating eye strain.

In that vein, using a CLI tool to check up on Gitlab pipelines is another recent development. Switching back and forth between a dark solarized terminal and a bright Gitlab Firefox window was becoming annoying.

(I know there are lots of CSS tricks you can do in FF to force dark styles on websites but I try to keep my setup as vanilla as possible to ease its management.)

Re: Show HN: High performance X11 animated wallpapers

#47
post #14

Live wallpapers would be much more compelling if the background had context-awareness of what was in the foreground and could interact and animate in a way that augmented the foreground apps instead of just being pretty. Maybe with smart people, future OSes will make that possible.

Yes, maybe with a little sheep that walked around your windows and teetered over the edges... https://adrianotiger.github.io/desktopPet/

I miss stuff like this that doesn’t seem nearly as popular these days.

Re: Show HN: High performance X11 animated wallpapers

#48
post #44

I have 3 screens. Amount of pixels that show my desktop: 0 I am honestly confused why, years ago, I spent hours searching for the perfect wallpaper on the internet. And why I spent even more hours making my own, 20 years ago. Nowadays I usually set one I like when I install the machine and maybe change it 1-4 years later. Is this what growing up feels like? :(

If you have more than one monitor your can keep all windows fully maximized.

Re: Show HN: High performance X11 animated wallpapers

#49
post #33

The style of the wallpapers and animations reminds me of the Windows 95 Plus theme pack. There was something that animated once every few minutes, but I can't recall what exactly…

Windows Vista had animated backgrounds in the ultimate edition. Was very heavy on CPU though[0].

There used to be a way of displaying websites on the desktop in windows 2000. “Live desktop” I think it was called[1].

[0]: https://en.wikipedia.org/wiki/Windows_DreamScene

[1]: https://en.wikipedia.org/wiki/Active_Desktop?wprov=sfti1

Re: Show HN: High performance X11 animated wallpapers

#50
post #17

I used to care about my desktop background. But as I've gotten older I find the only time I see it is when I close every window, and sometimes I can go for weeks without closing every window. So now I just leave it as the default because I look at it <1% of the time anyway

I set a solid purple background because I feel unused screen space is a waste.
Post reply on HN