为 KDE Plasma 最后一个支持 X11 的版本做准备
Preparing for KDE Plasma's Last X11-Supported Release

原始链接: https://blog.davidedmundson.co.uk/blog/596/

KDE 已正式宣布将淘汰 Plasma X11 会话。从预计于五个月后发布的 Plasma 6.8 开始,登录界面将不再提供 X11 会话选项,所有与 X11 相关的代码也将从 Plasma Shell 和设置中移除。 此次转型是一个重要的里程碑,它使开发人员无需再维护双重代码路径,能够全身心投入到 Wayland 的开发中,从而提供更好的性能和新功能。尽管如此,XWayland 支持仍将保留,以确保现有的 X11 应用程序能够继续顺畅运行。此外,KDE 应用程序在其他桌面环境中仍将保持对 X11 的兼容性,登录管理器也将继续为其他桌面环境提供 X11 会话支持。 内部数据显示,超过 95% 的 Plasma 6.6 用户已经迁移至 Wayland,这表明该平台已基本被开发者弃用。虽然团队承认部分工作流程可能需要调整,但他们仍致力于解决遗留痛点。鼓励遇到问题的用户在 Plasma 6.8 发布前反馈,以助力实现向全 Wayland 未来的平稳过渡。

Hacker News 新帖 | 往期 | 评论 | 提问 | 展示 | 招聘 | 提交 登录 为 KDE Plasma 最后一个支持 X11 的版本做准备 (davidedmundson.co.uk) 20 分,jandeboevrie 发布于 1 小时前 | 隐藏 | 往期 | 收藏 | 讨论 帮助 | 社区准则 | 常见问题 | 列表 | API | 安全 | 法律 | 加入 YC | 联系 搜索:
相关文章

原文

When we first announced the transition to Plasma Wayland, one of Martin's slides from stated, "It's done when it's done!"

That talk was 15 years ago!

Nothing in software is never truly "done", but as announced previously we are finally at a point where we're ready to retire the X11 and put all our focus on the future.

As of today, the Plasma X11 session you can log into has been officially removed, and we will start a mass cleanup of X11-specific code soon.

When does it take effect?

This change will be included in Plasma 6.8, which will be released in around five months.

What's Changed?

In Plasma 6.8, there will be no X11 session in the login screen. There will only be a Wayland session available to log into.

In 6.8, all X11-specific code paths in Plasma for Plasma Shell, System Settings, and device configuration will be gone.

What's stayed the same?

XWayland support remains present. You can keep using your X11 applications, and our XWayland application support is second-to-none.

If you use KDE applications on another desktop environment, this change will have no effect. KDE applications will continue to work in X11 for the foreseeable future.

Plasma Login Manager will continue to be able to log you into X11 sessions of other desktop environments.

What's Next?

The possibilities this opens up are very exciting. Until now, on the desktop side, we've had to target the lowest common denominator or be stuck trying to maintain two conflicting code paths. It was absolutely the right choice to do a gradual transition and approach things this way, but that approach has its limits.

Moving forward with a single code path going through Wayland is going to allow us to bring new performance improvements, memory optimisations, and brand new exciting features throughout Plasma.

How Ready Are We?

Our internal metrics within KDE show that over 95% of users of Plasma 6.6 are on Wayland, with a gradual increase every release. The metrics also show that basically no one is testing or developing Plasma on X11 anymore. The platform was already, for all intents and purposes, abandoned by KDE contributors.

We have every reason to trust this metric data, as it is exactly in-line with what Sentry (our automatic crash reporting tool) reports for newly-encountered crashes shows.

For transparency, the one caveat in all of the above is that I've deliberately always focused on people using the latest Plasma release. We do still have a sizable chunk of users on X11 still using Plasma 5.27. Including them, the total Wayland adoption rate is about 76%. But back then, Wayland wasn't the default session type, so it's hardly a surprise those users are still on X11. Things have come a massively long way in the three years since Plasma 5.27 was released.

Anyone still using Plasma 5.27 — or any release older than Plasma 6.8 — won't be affected by what we do in Plasma 6.8, and nothing will be applied retroactively.

Still Have Issues with Wayland on 6.7?

Whilst we have had full confidence since Plasma 6.0 that our Wayland session provides the better overall experience, we are aware that things don't behave exactly the same. Not everything works the same especially in specialised areas.

We are not expecting a completely seamless transition for everyone. Custom scripts, tools used and even workflows might have to change. But we are aiming to offer a transition where there is still a way to accomplish all your day-to-day tasks.

Plasma 6.7 is the last release that will include an X11 session, and it's coming out in just a few days. If you still have issues that force you back to X11 we would love to hear from you.

We can't promise to get everything fixed in time for 6.8, but we can promise to listen and be aware. People's remaining pain point are and will be on our radar, so please take this time to communicate them.

联系我们 contact @ memedata.com