TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Ask HN: Frustrated with Wayland – Misconceptions?

6 pointsby joebiden2about 2 years ago
Preamble: This post is <i>genuinely</i> not meant in bad faith. I have glanced over the Wayland source, it is very nice, clean code, and I have no doubt at all that the wayland developers are very competent and focused people, and I admire the work they done and the motivation they have.<p>I won&#x27;t rule out that I don&#x27;t understand all relevant concepts in wayland yet, if so I&#x27;d like to apologize already.<p>Now to the things which - as per the title - frustrate me. The year of &quot;Linux on Desktop&quot; is almost there, as we all know - jokes aside, Linux really gets more and more traction even outside of developers. And while developers are fine to tinker and modify the system, and do workarounds, regular users don&#x27;t like that and often even can&#x27;t help themselves.<p>So, here is a list of some applications one expects from a modern desktop OS:<p>- Screenshots<p>- Screen recorders<p>- Password managers<p>- Accessibility helpers:<p><pre><code> - Screen readers - Application-sensitive keyboard augmentations (i.e. key reconfiguration based on currently focused application) - Magnifier </code></pre> - Remote desktop software (both server and client)<p>Now, as far as I understand the wayland model, _all_ of the above must be handled by the compositor, not by wayland itself.<p>The compositor exists to keep the wayland core small and to not over-generalize concepts to make different window environments, like Gnome, KDE, Xfce etc. work. Instead, each window environment has to implement its own compositor.<p>This is per se obviously okay. But for all of the above points there is no protocol or standard defined, to the best of my knowledge. That means, and appears to be the reality, that all those functions are either missing or are implemented in a compositor-specific way¹.<p>This in turn means that all of the above tools need to be re-written and adapted to each possible compositor, or that each window environment provides the required tooling, or that some outside party defines a standard which all compositors implement which facilitates a common API for all of the above.<p>And this is the frustrating point: we had a really nice ecosystem of tools for all of the above points. Now we don&#x27;t anymore. And it doesn&#x27;t appear to me that fixing this is any priority for the wayland team.<p>Now, please help me: do I miss something important, if so please inform me. Otherwise, what would you propose on how to support the wayland team here? I have the impression that even if someone were to provide high quality, working merge requests for parts of the above, they would be rejected due to &quot;security considerations&quot; or that they don&#x27;t belong into wayland core.<p>Some examples of related bug reports or discussions:<p>* https:&#x2F;&#x2F;gitlab.freedesktop.org&#x2F;wayland&#x2F;wayland&#x2F;-&#x2F;issues&#x2F;326 (which links to a very interesting bug in xdg-desktop-portal, where several accessibility-related projects are involved in the comments)<p>* https:&#x2F;&#x2F;gitlab.freedesktop.org&#x2F;wayland&#x2F;wayland&#x2F;-&#x2F;issues&#x2F;233<p>* https:&#x2F;&#x2F;wiki.gnome.org&#x2F;Accessibility&#x2F;Wayland<p>* https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=25175894<p>¹ I think there are some exceptions, like wlroots, but I have a hard time understanding which compositor supports wlroots (is there a list somewhere?)

4 comments

wmfabout 2 years ago
There are defined protocol extensions for most&#x2F;all those features but in some cases they&#x27;re relatively &quot;new&quot; and haven&#x27;t been implemented everywhere yet. I think the real problem is just that the Linux desktop is understaffed by an order of magnitude relative to what it&#x27;s trying to accomplish (which is far too much but people refuse to compromise on scope) and thus development proceeds much more slowly than people would like. Also, defining standard protocols is a political process that cannot be rushed and unfortunately the Wayland community waited way too many years to start on many of the protocols. (e.g. color management just started recently—why didn&#x27;t they start debating it a decade ago?)<p>Another, smaller, problem is that the wlroots rebel alliance has deliberately rejected some major decisions like CSD, essentially forking the community into Mainstream Wayland (GNOME&#x2F;KDE&#x2F;Weston&#x2F;etc) and incompatible Rebel Wayland (Sway&#x2F;etc.). Since a tiny but vocal minority of hackers use Sway, their complaints seem much more significant than they are.
评论 #35517177 未加载
qweryabout 2 years ago
I don&#x27;t really see the problem you are seeing.<p>&gt; all of the above tools need to be re-written and adapted to each possible compositor<p>These sorts of tools have always been (re)implemented by each (moderately large) desktop environment anyway. This doesn&#x27;t seem like something stemming from Wayland or much of a change in general? Any one of these tools needs to be designed, tested, integrated with the rest of the desktop environment, etc. -- this is where the majority of the development effort would(should?) be going. I don&#x27;t think the effort required to interface with the window manager &#x2F; compositor is actually that significant, or significantly higher under Wayland.
评论 #35517241 未加载
WallyFunkabout 2 years ago
<a href="https:&#x2F;&#x2F;arewewaylandyet.com&#x2F;" rel="nofollow">https:&#x2F;&#x2F;arewewaylandyet.com&#x2F;</a>
PaulHouleabout 2 years ago
The Linux Desktop is a Joke. It&#x27;s a Potemkin village run by IBM, they&#x27;d like to be able to make custom user interfaces for this application or that application but they just don&#x27;t care about the requirements of the average user. Customer service makes Google look like white glove service.
评论 #35518663 未加载