utopia icon indicating copy to clipboard operation
utopia copied to clipboard

[Question] Does it rely on X or Wayland?

Open danimesq opened this issue 1 year ago • 4 comments

CC @HrX03

danimesq avatar Dec 30 '23 20:12 danimesq

Currently utopia is backend agnostic, it needs to be manually plumbed to either X or Wayland afterwards. We have some experiments plumbing utopia and pangolin to Wayland but they are not ready to share yet. If there's any interest I could share some more specific examples of sorts. Hopefully that answers your question and other doubts you could have had 🙂

HrX03 avatar Dec 30 '23 20:12 HrX03

We have some experiments plumbing utopia and pangolin to Wayland but they are not ready to share yet. If there's any interest I could share some more specific examples of sorts

Yes, I'm interested as hell! (sorry for the wording) I would even like to use this custom Wayland implementation: https://github.com/Smithay/wayland-rs Thank you in advance

danimesq avatar Dec 30 '23 20:12 danimesq

This is one thing we're looking at: https://github.com/roscale/wayvern

larsb24 avatar Dec 30 '23 22:12 larsb24

Yea as Lars mentioned, that is one project we're watching out for embedder implementation. At a conceptual level we need a flutter Linux embedder that runs both the shell app and the Wayland instance, it's the only sane way to have the flutter app be the main view without weird hacks like we were exploring before. Once we have this hybrid embedder running platform methods are used to communicate from flutter to Wayland and viceversa. This is the exact plumbing that needs to be done, utopia exposes some event based apis that can detect some actions on utopia and report natively to Wayland.

HrX03 avatar Dec 30 '23 22:12 HrX03