2026-10-22 21:59 UTC
@zzt@mas.to @mxchara@cyberpunk.lol @techokami@woof.tech
It seems like the closest thing to getting XScreenSaver to "lock the screen" on Wayland is to not use XScreenSaver at all but instead use something called swaylock-plugin with a plugin called windowtolayer that can then itself run a nested Wayland compositor like cage to bring up XWayland and then that will allow you to launch whatever display hack you want to use with unlocking provided by the forked code from swaylock. This is, of course, utterly ridiculous but that's just the future because apparently the Linux developers decreed that screensavers and screen locking on Wayland are to somehow be infinitely dumber than the already nearly incomprehensibly insane way it's done on X11 where you just have to hope that whatever client side program you're using won't crash and if it's anything other than XScreenSaver those chances aren't exactly very high. Is this secure? Almost certainly not! Are any of the extant tools for screenlocking on Wayland as good as XScreenSaver is at not crashing? I dunno, most of them are still new and unproven. And of course trying to actually implement the screenlockers is an exercise in madness. And just for one final fuck you, I've been told that windowtolayer might just keel over and die if it sees how Nvidia names video outputs.
Replies (0)
No replies.