headless icon indicating copy to clipboard operation
headless copied to clipboard

weston (wayland) support

Open sudoudaisuke opened this issue 6 months ago • 3 comments

Hello.

Are there any plans to implement “weston (wayland)” virtual display capabilities in addition to “xvfb (X11)”?

sudoudaisuke avatar Jun 24 '25 09:06 sudoudaisuke

Hello! I'd say rather not, but I would accept PRs.

leonid-shevtsov avatar Jun 24 '25 11:06 leonid-shevtsov

Thank you for your reply.

Which method would you implement to create a pull request?

  1. implement only the interface in "lib/headless.rb" and move the concrete implementation to "lib/headless/xvfb.rb" and "lib/headless/weston.rb".
  2. modify "lib/headless.rb" so that you can use "Process.spawn" in "lib/headless.rb" to switch file names, etc.

sudoudaisuke avatar Jun 27 '25 00:06 sudoudaisuke

how much would need to change? i'm leaning towards option 1 unless it's actually only a matter of calling some new executable with new flags.

leonid-shevtsov avatar Jun 27 '25 12:06 leonid-shevtsov