Hacker News 中文摘要

RSS订阅

Xfwl4 – Xfce Wayland合成器路线图 -- Xfwl4 – The Roadmap for a Xfce Wayland Compositor

文章摘要

Xfce团队宣布将利用社区捐款资助开发全新Wayland合成器xfwl4,由核心开发者Brian Tarricone主导。该项目将完全重写而非基于现有xfwm4代码,使用Rust语言和Smithay库开发,旨在提供与X11版本相近的用户体验,并复用现有配置界面实现平滑过渡。

文章总结

Xfce团队宣布启动全新Wayland合成器xfwl4开发计划

2026年1月27日,Xfce团队在其官方博客宣布,将投入社区捐赠资金启动全新Wayland合成器xfwl4的开发工作。该项目将由核心开发者Brian Tarricone主导,采用Rust语言基于Smithay库从零开始构建。

项目背景

• 开发资金来源于社区捐赠 • 旨在为Xfce桌面环境创建原生Wayland支持 • 目标保持与现有X11窗口管理器xfwm4相同的用户体验

技术选型

团队放弃改造现有xfwm4代码的方案,主要基于以下考虑: 1. 原有X11架构难以适配Wayland协议 2. 并行开发可避免影响现有X11稳定性 3. Wayland协议暂不支持部分X11窗口管理特性 4. 避免受限于C语言和wlroots框架

选择Smithay库的原因包括: - 支持全面的Wayland协议扩展 - 提供底层定制能力 - 完善的文档体系 - Rust语言的内存安全优势 - 开发者对Rust的偏好

项目范围

除核心功能开发外,还需完成: - 重构会话启动系统 - 实现xdg-session-management协议 - 支持XWayland兼容层 - 升级CI构建系统以支持Rust

开发进展

Brian已启动项目开发,预计年中发布首个开发版本。技术细节可通过GitLab仓库查看,讨论请加入Matrix开发者频道。

团队特别感谢Open Collective平台捐赠者的支持,该项目资金将主要用于支付开发者报酬。

(注:原文中部分技术细节和开发者个人偏好内容已适当精简,保留了核心技术决策和项目规划信息)

评论总结

以下是评论内容的总结:

1. 对Xfce的支持与赞赏

  • 多位用户长期使用Xfce,赞赏其轻量简洁的特性
    "daily drive xfce4, best DE ever, simple and complete"
    "I've been using Xfce as a daily driver in one machine for about a decade now"

2. 对Wayland支持的态度

  • 支持派:认为Wayland是未来,期待Xfce适配
    "If wayland support was there already I would be using xfce"
    "I'm a big proponent of Wayland"
  • 怀疑派:认为X11仍能满足需求,Wayland转换困难
    "Am I the only one who's not buying into the Wayland hype?"
    "Isn't the switch from X11 to Wayland the most painful switch that happened in the linux world?"

3. 对使用Rust重写的看法

  • 支持观点:Rust能提高安全性,吸引更多贡献者
    "writing it in Rust should help bring more contributors"
    "Rust is a good way to help avoid many compositor crashes"
  • 保守观点:担忧传统用户接受度及性能影响
    "I wonder how many long-time XFCE fans...will feel about it"
    "Until I can still compile xfce with an small and simple C compiler"

4. 技术实现讨论

  • 关注Wayland架构差异带来的挑战
    "In wayland, the compositor is the sole arbiter of focus"
    "Can the compositor replicate the input-to-pixel latency of uncomposited x11"
  • 现有解决方案的分享
    "you can currently use most wlroots-based compositors with XFCE"

5. 幽默与命名调侃

  • "So will it be renamed to Wfce in the end?"
    "Rust is not GNU"