jnv icon indicating copy to clipboard operation
jnv copied to clipboard

Wayland support ?

Open remche opened this issue 1 year ago • 2 comments

First, thanks a lot for this great tool !

I recently switch to wayland and it seems that the clipboard feature is not available. Fast lookup on source indicates it's not implemented. Is it on the roadmap ?

Failed to setup clipboard: Unknown error while interacting with the clipboard: X11 server connection timed out because
 it was unreachable

remche avatar Nov 10 '24 14:11 remche

@remche It is likely that the error of https://github.com/1Password/arboard/issues/153 is occurring. This issue seems difficult to resolve on our side unless the upstream team addresses it.

ynqa avatar Nov 29 '24 12:11 ynqa

Thanks for your answer.

The weird thing is that aboard try to use the X11 way in a pure Wayland environment (no Xwayland). Should work natively in a terminal app as stated 1Password/arboard#52

remche avatar Nov 29 '24 13:11 remche

Hi everyone, maintainer of arboard here 👋.

During issue triage I saw this issue mentioned downstream. Arboard has functional Wayland support (and has for some time) but you need to enable the wayland-data-control feature flag here when you declare your dependency on arboard. The mentioned arboard issue (#153) should be entirely unrelated to this.

Please note though that pure Wayland GNOME environments aren't supported due to GNOME not implementing the Wayland protocols that wl-clipboard-rs needs (which are unavailable to apps that don't manage their own Wayland surfaces, such as CLI tools).

complexspaces avatar Jun 15 '25 21:06 complexspaces

@remche Thanks for your contributions :) I released it as v0.6.1

ynqa avatar Jul 21 '25 11:07 ynqa

It's ain't much, happy to contribute. Thanks for your work on jnv !

remche avatar Jul 21 '25 20:07 remche