OsrsNeedsf2P19 days ago
Heavy customization is important to me on the Linux desktop. This project has given me a lot more faith in Wayland than 5 years of hearing debates about it.
yjftsjthsd-h19 days ago
FWIW, as a ... Wayland skeptic&#x2F;pessimist¹, screen locking does seem to be one place where things actually work and seem more sensible than under X.<p>¹ It always seems to be just around the next corner. Sixteen years on, it would be nice if we could have feature parity.
jasonjayr19 days ago
From my understanding, the security decisions around things like screen locking are the source of many of the pain points holding back X11 users from wayland.. Things like xtest(send input events from random sources), screen grabbing&#x2F;video recording(allowing another app to see the contents of another window from a potentially different security domain), focus grabbing, input sniffing, are all difficult on wayland, specifically because they are serious security issues on X11, especially in light of a modern understanding of the risk profile.
yjftsjthsd-h19 days ago
Yes, many of Wayland&#x27;s problems come down to particular ideas about security at the expense of functionality. But IMHO screen locking is a rare exception because the overly restrictive approach is actually fairly reasonable here, and the set of features to (not) implement is smaller.
skerit19 days ago
Incredible that we&#x27;re getting something like this before a plain good old screensaver
anajimi19 days ago
Thanks for your idea! I think it is totally possible to implement a screensaver with the ext-session-lock protocol. I will try to explore this idea when I have time in the next few months :)
Svip18 days ago
I wish you a lot of luck; I am basically just waiting on XScreenSaver to be ported to Wayland before I move on from X11.<p>But jwz (XScreenSaver&#x27;s creator and maintainer) doesn&#x27;t give me much hope: <a href="https:&#x2F;&#x2F;www.jwz.org&#x2F;blog&#x2F;2025&#x2F;07&#x2F;xscreensaver-wayland-and-locking&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.jwz.org&#x2F;blog&#x2F;2025&#x2F;07&#x2F;xscreensaver-wayland-and-lo...</a>
theblazehen18 days ago
I always love the surprise when visiting jwz&#x27;s site from HN
Nursie18 days ago
Why ... why did I click it? LOL.
DrewRWx19 days ago
Do you have a Ko-fi? &#x27;cause I would really enjoy that screensaver.<p>I adore this project on its own merits too because using the memory values in an emulated game is something that has fascinated me since Twitch Plays Pokémon integrated their Twitch display!
anajimi18 days ago
Thank you for your kind comment! I don&#x27;t have a ko-fi but I will think about creating one :)
derefr19 days ago
For use with vintage computers that use CRTs? If not, what kind of oddball display &#x2F; use-case do you have, where it would be better to play a screensaver than to follow the usual modern flow of display dim -&gt; display black -&gt; display sleep -&gt; computer lock -&gt; [maybe] computer sleep?
KetoManx6419 days ago
One of the great strengths of Linux, and one of the things that draws new people in, is the custizability and making the system your own to whatever degree you want. That a &quot;modern&quot; display manager doesn&#x27;t let you have a screensaver and people try to cover up for it with &quot;you&#x27;re just trying to use your system wrong. Be normal and use your system like we say is normal&quot; is embarassing.
unclad596819 days ago
I think that&#x27;s a little dramatic. Screen savers originally served a purpose, and it&#x27;s not unreasonable to be unaware that some people see them are customization.<p>If you think it&#x27;s embarrassing, you&#x27;re welcome to contribute a working implementation or pay someone else to do it. Otherwise, I don&#x27;t see how it&#x27;s embarrassing.
KetoManx6418 days ago
I&#x27;ll just keep using X&#x2F;XLibre. Wayland developers are way to user hostile for it to be worth the effort.
mappu19 days ago
What modern display manager doesn&#x27;t let you? In KDE the screensaver is merged into the screen locker settings, you can pick any &quot;wallpaper plugin&quot; which includes slideshows, video, or animation if you plug in e.g. <a href="https:&#x2F;&#x2F;store.kde.org&#x2F;p&#x2F;2143912" rel="nofollow">https:&#x2F;&#x2F;store.kde.org&#x2F;p&#x2F;2143912</a> or <a href="https:&#x2F;&#x2F;store.kde.org&#x2F;p&#x2F;2194089" rel="nofollow">https:&#x2F;&#x2F;store.kde.org&#x2F;p&#x2F;2194089</a>
KetoManx6418 days ago
Wayland doesn&#x27;t support screen savers: <a href="https:&#x2F;&#x2F;www.jwz.org&#x2F;blog&#x2F;2023&#x2F;09&#x2F;wayland-and-screen-savers&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.jwz.org&#x2F;blog&#x2F;2023&#x2F;09&#x2F;wayland-and-screen-savers&#x2F;</a>
mappu18 days ago
He said (2023) it needs an extension protocol or per-compositor work - so screensaver support is available in KDE using the Screen Locker integration, just no port was done AFAICS.<p>A general &quot;wayland&quot; protocol for it didn&#x27;t exist back then, but in this thread we see ext-session-lock exists now, and jwz was recently trying to use it where available: <a href="https:&#x2F;&#x2F;www.jwz.org&#x2F;blog&#x2F;2025&#x2F;07&#x2F;xscreensaver-wayland-and-locking&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.jwz.org&#x2F;blog&#x2F;2025&#x2F;07&#x2F;xscreensaver-wayland-and-lo...</a> so you might see an xscreensaver port soon.
derefr19 days ago
Some hardcore Greenpeace types might argue that this is a special case where such a person is <i>literally</i> using their system &quot;wrong&quot; — as in <i>unethically</i>. In the sense that they are deliberately <i>wasting</i> [i.e. &quot;turning into waste heat&quot;] a nontrivial amount of power, by keeping however-many monitors they use always powered on, never allowing any of them to enter sleep.<p>It&#x27;s a sort of attitude that isn&#x27;t really that problematic when one person does it; but <i>becomes</i> problematic if it becomes a <i>popular</i> thing to do.<p>Anyone here who lived through the 1990s might remember that the ENERGY STAR certification initiative — that today measures all sorts of things — began specifically to grade computer monitors on their ability to be put into a low-power sleep state by software control.<p><i>Everyone</i> back then loved the computer personalization aspect of screensavers — I had After Dark installed myself! — and what resulted was an energy-waste tragedy-of-the-commons of a large-enough scale that the EPA had to get involved.
throitallaway19 days ago
If there&#x27;s one thing I never tire of, it&#x27;s someone telling me that I don&#x27;t need something or how I&#x27;m doing it wrong. I would love a screensaver that scrubs my OLED pixels.
free_bip19 days ago
OLEDs still have burn-in issues even with all the fancy mitigation systems they have.
zamadatix19 days ago
Turning dim and black as soon as possible is actually the best for an OLED. A traditional screensaver is a net negative. The built-in fancy-mitigation systems are also probably better than any intermittent fancy screensaver (without the ability to analyze the panel wear to be corrected directly), but at least that&#x27;s angling towards something better than a loss.<p>Of course, screensavers are still plain fun. That&#x27;s justification enough to set one if you want.
whatevaa18 days ago
OLED. KDE has kinda a workaround with lock delay.<p>I use steam deck with TV as a media PC and it&#x27;s OLED, I don&#x27;t want to lock a media PC nor want to display a static picture on it.
yjftsjthsd-h19 days ago
&gt; what kind of oddball display &#x2F; use-case do you have,<p>It&#x27;s fun.
d3Xt3r20 days ago
Ah, goody. Looks like I found the only other Wayland user on HN. ;)<p>You should also post here: <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=44837981">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=44837981</a>
jchw19 days ago
On the KDE side, Wayland has been going pretty well. Wayland sessions make up 82% of all sessions with telemetry enabled.<p><a href="https:&#x2F;&#x2F;blogs.kde.org&#x2F;2025&#x2F;03&#x2F;15&#x2F;this-week-in-plasma-file-transfer-progress-graphs&#x2F;#plasma-640-3" rel="nofollow">https:&#x2F;&#x2F;blogs.kde.org&#x2F;2025&#x2F;03&#x2F;15&#x2F;this-week-in-plasma-file-tr...</a><p>For me the real conundrum was SwayWM vs KDE Wayland rather than any X.org session; I really felt like SwayWM was a good upgrade from i3wm and gave me a better desktop session with much less hacks. Hope to see wlroots push forward and support some of the newer Wayland protocols, it has started to fall behind a little bit, but I think it&#x27;s good for alternative desktops.
OsrsNeedsf2P19 days ago
I run Wayland but I&#x27;m not happy about it. Most autoclickers still don&#x27;t work, and autotypers need sudo and group magic to get working.
jchw19 days ago
Root is definitely required to inject inputs at the kernel level using uinput, which I think is what you would hope, ignoring the fact that the typical Linux desktop still has a lot of other low hanging fruit to fix in terms of security.<p>Anyway though, the &quot;standard&quot; way to do automatic clicking and typing on Wayland is via the RemoteDesktop portal, named such because it is used with ScreenCast to support use cases like VNC and RDP servers. Despite the poor choice of name, it gives a general API for sending inputs programmatically.<p><a href="https:&#x2F;&#x2F;docs.flatpak.org&#x2F;en&#x2F;latest&#x2F;portal-api-reference.html#gdbus-method-org-freedesktop-portal-RemoteDesktop.CreateSession" rel="nofollow">https:&#x2F;&#x2F;docs.flatpak.org&#x2F;en&#x2F;latest&#x2F;portal-api-reference.html...</a><p>This does require at least a one-time permission grant for an application to use, but at least on KDE it is possible for the permission to persist across runs.<p>I&#x27;m sure everyone is unenthused about having to deal with another way to do things, but it&#x27;s at least decently straightforward... You could certainly invoke this from a quick Python script I reckon.<p>(There&#x27;s also libei but it&#x27;s kind of a mess imo and I don&#x27;t know if it is well-supported yet.)
hpdigidrifter19 days ago
I get it&#x27;s something you need but for the average user autotypers and clickers not working easily without permissions is a definite positive.<p>It&#x27;s entirely the point of moving to Wayland for many.
yjftsjthsd-h19 days ago
<a href="https:&#x2F;&#x2F;github.com&#x2F;atx&#x2F;wtype" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;atx&#x2F;wtype</a> seems to work for me with no special permissions. (On Sway; I won&#x27;t comment on other compositors.)
yjftsjthsd-h19 days ago
&gt; Wayland sessions make up 82% of all sessions <i>with telemetry enabled</i>.<p>That is a significant caveat.
hollerith19 days ago
Do you have any reason to believe that Wayland users are more likely than X users to enable telemetry?
alex-moon18 days ago
The reason Wayland users might be more likely to opt into telemetry is because they see Wayland as &quot;developing&quot; and therefore needing that user data for development purposes. I have no idea what the incidence would actually be, but there is certainly a potential selection bias in there.
yjftsjthsd-h19 days ago
Nothing solid. It would be entertaining if it were the opposite. But unless we have a really good reason to think we know which way it leans, the unknown unknown means I wouldn&#x27;t want to trust the numbers.
jasonjayr19 days ago
On a distro with wayland as the default, users are probably defaulting to allowing telemetry as well. (maybe? Just a guess ...)
jchw19 days ago
KDE telemetry is strictly opt-in, it is something that you are prompted for during the first setup wizard.
Y_Y19 days ago
Cool kids don&#x27;t allow telemetry. I think that any software whose userbase isn&#x27;t totally oblivious will have severe selection effects if you use data obtained by spying.
jchw19 days ago
If the cool kids are so cool, they should learn to distinguish transparent opt-in telemetry from invasive opt-out telemetry. Unfortunately, being &quot;cool&quot; doesn&#x27;t get your needs represented, so it&#x27;s really not always in your best interests to never opt in.
alex-moon18 days ago
I use Wayland! I like it a lot and I think that it&#x27;s a sensible way to take window management in the 21st century. However, it&#x27;s clearly not _mature_ yet (which is understandable - it&#x27;s very new!). My use case specifically is a bit unusual:<p>1. I&#x27;m on an NVIDIA graphics card - this struggles a lot, I won&#x27;t lie, and it&#x27;s really odd issues which are difficult to track down. 2. I&#x27;m running Deskflow for virtual KVM - this is using literally someone&#x27;s hand-rolled attempt to hack Wayland to make it work - it manages the most important element: my keyboard and mouse are shared between my Linux desktop and my MacBook - but much of the incidental functionality, most notably copy-pasting and repeating held keys, doesn&#x27;t work at all. Mod keys seem a bit fucky as well.<p>That said, I&#x27;m committed - am excited to see the tech honed in the coming years.
ACS_Solver18 days ago
&gt; However, it&#x27;s clearly not _mature_ yet (which is understandable - it&#x27;s very new!)<p>I&#x27;m admittedly biased against Wayland because in my view it&#x27;s been a disaster both in organization and technically, and I&#x27;ve had some very frustrating interactions, but even so there&#x27;s no way it&#x27;s accurate to describe Wayland as very new.<p>Wayland started development in 2008. Version 0.85 of the protocol and of Weston, which the devs called &quot;the first real release&quot;, was in early 2012. KDE (KWin) started adding Wayland support in 2011.<p>Wayland development began almost exactly 17 years after Linus released the first 0.01 kernel. Next month Wayland turns 17. So Wayland has been in development now for half of Linux&#x27;s entire existence, and it&#x27;s still not mature. It started when iPhone 3G was a new top notch phone, the MacBook Air was just launched, 4G mobile networks were not yet commercially available, netbooks were highly popular, solid-state drives were just breaking into the market, and the term blockchain hadn&#x27;t yet been invented.<p>You may like Wayland, but what you&#x27;re saying is you&#x27;re using the most common GPU vendor (yes everyone loves AMD&#x27;s open approach to drivers, but there&#x27;s a reason Nvidia dominates completely, and that&#x27;s because AMD GPUs are not competitive) and basic functionality like copy-pasting and key repeats doesn&#x27;t work for you. Yes Deskflow isn&#x27;t the most standard setup but this is completely like my experience with Wayland. A 17 year old project and it only works for a certain set of typical setups with typical use cases the committee blessed.
throwaway1333718 days ago
I am also on Wayland (via CachyOS) and recently started using Deskflow for my MacBook KVM-type setup. Linux on one screen, Mac on the other.<p>Works great except for the copy-and-paste issues and the mod key resets - just as you describe. I&#x27;ve been fiddling with it the last couple of days.<p>Funny to see someone with such a similar setup and issue.<p>Esoteric issues aside, the general use of CachyOS has been very smooth.<p>There seems to be a lot of momentum for desktop Linux, with Microsoft and Apple dropping the ball lately. LLMs also make deep configuration of Linux more manageable. The stars seem to be aligning for it.
righthand19 days ago
There are dozens of us…dozens!
juujian19 days ago
The trick was to switch to AMD (screw NVIDIA on Linux).
techjamie19 days ago
I&#x27;m on Wayland with NVIDIA, it took longer to get there but it does work perfectly fine.
heresie-dabord18 days ago
I count for at least two!<p>Wayland in Raspberry Pi OS (labwc)<p>Wayland in Debian: Bookworm (Sway), Trixie (labwc)
anajimi20 days ago
Thank you for the link! Hope to see more people using Wayland then :D
DiabloD318 days ago
Ironic you say that, because I also use Wayland.
rtsang119 days ago
For a moment, I thought the punchline was that users needed to play through the game and clear the elite four to unlock their session.
anajimi18 days ago
Very cool idea, I may implement a hardcore mode in the future just for fun lol.
Babkock19 days ago
Also thought this. Never made it that far on the original
skyzouwdev16 days ago
That’s a really creative take on session locking. I can see it being both fun and surprisingly secure — anyone trying to unlock your machine would need to know the game and the exact sequence. Do you see this as more of a novelty project, or could it be adapted for practical use in real security setups?
anajimi14 days ago
Thank you for your kind comment! To be honest I saw this as a novelty project, however I think it could be more secure than a password locker, at least in some cases where the password is weak.