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.

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

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

@dos
May a Question. I was looking around for a way to have an easy way to give my child a way to play a game on my computer.
Could this tool be configured that way that I could switch between login screen and the lockscreen app on keypress?

Follow

@MicKet No, the screenlocker doesn't send any input events to its background (the wallpaper can, but that doesn't help you).

You could run a game in a separate barebones session though, keep your session locked and just switch between them with CTRL+ALT+F<n> keys.

ยท Web ยท 0 ยท 0 ยท 0
Sign in to participate in the conversation
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