dustinblackman / oatmeal

Terminal UI to chat with large language models (LLM) using different model backends, and integrations with your favourite editors!
https://dustinblackman.com/posts/oatmeal/
MIT License
477 stars 23 forks source link

Clipboard error on Wayland #28

Closed ThatOneCalculator closed 8 months ago

ThatOneCalculator commented 8 months ago

Upon running oatmeal from the CLI, I get Whoops, it looks like the editor clipboard isn't setup properly.... My system clipboard provider is wl-copy (the default on most Wayland environments).

dustinblackman commented 8 months ago

Thanks for reporting! Looks related to https://github.com/1Password/arboard/issues/114, which is what I'm using for clipboard management.

The clipboard service isn't mandatory since 0.9.0, so Oatmeal should still be usable without it. Does the app not load at the moment? The clipboard editor is the default, you could switch to none by running oatmeal --editor none, or permanently set it with the environment variable OATMEAL_EDITOR=none

ThatOneCalculator commented 8 months ago

The app loads, but just shows the error without the flag passed. Klipper isn't related to wl-copy.

dustinblackman commented 8 months ago

Understood! I believe I see the solution, I'll push it out in the next version.

dustinblackman commented 8 months ago

Fixed in v0.10.0. Thanks!