Set any application as Plasma background

Missing your favorite xscreensaver hack? Have an old Windows screensaver that works under Wine? Want to have htop as your wallpaper? Or maybe you'd like to write your own screensaver in Godot? This addon lets you use any application as a Plasma wallpaper or screensaver.

invent.kde.org/dos/plasma-wall

store.kde.org/p/2318884/


@kde @kde @kde

And here it is! Welcome back as my screensaver, Asciiquarium 😊

I could have reimplemented it in Qt, as it was done back in the KDE 3/4 days... or I could just run the original thing in a Konsole window and call it a day 😁

Show thread

How it works? It's a Plasma wallpaper plugin which is an extremely simple QtWayland compositor that only handles a single fullscreen window and draws it - so any Wayland window can be drawn as a background. This window can of course also belong to Xwayland 😄

This means we can go beyond xscreensaver. How about... Wine? 😁

Show thread

I had a random thought - "what would it take to support arbitrary old screensavers in Plasma 6 again?" 🤔 So here's xscreensaver safely rendered as a background for Plasma screen locker, working on both Wayland and X11 sessions. Turned out so much simpler than I expected 😁 Just some 70 lines of pure QML and a tiny glue to launch the process.

FWIW, don't mind the stripes on the bottom or right edge on some of these photos. It was just me poorly rotating and noticing too late 😛

Show thread

And the great thing is that you can take your past photos and re-develop them again with whatever code you have available now. No need to be picky, it's fast enough to just go through them all.

Show thread

There are still some crucial things missing, such as profiled denoising or proper highlight recovery, but since the performance budget for a still photo is much higher than for a 30 FPS video, there's plenty of room to add more stuff - and most of these 2 seconds are spent reading DNG and saving JPG anyway.

Show thread

Unlike Glowup, which takes about 30 seconds and lots of RAM to process, this is still just as fast - the photo is developed within 2 seconds from shooting.

Show thread

To pass some time in a train yesterday, I've copy'n'pasted my recent GPU ISP into Millipixels' postprocessing code to see how it compares with what was already there. Before/after:

By the way, with just a one-line change (commenting out mp4mux/filesink, uncommenting flvmux/rtmpsink and adjusting the URL) you can stream online rather than to a local file 😎

(fwiw this screenshot is from before autofocus, white balance and most of image processing stuff was there)

Show thread

I have published the snippet of code that implements a GPU-based ISP with bunch of corrections and encodes video in real time on the Librem 5. Feel free to take parts of it and use in your apps and frameworks... or record your cats 😼

source.puri.sm/-/snippets/1223

Show more
Librem Social

Librem Social is an opt-in public network. Messages are shared under Creative Commons BY-SA 4.0 license terms. Policy.

Stay safe. Please abide by our code of conduct.

(Source code)

image/svg+xml Librem Chat image/svg+xml