clipboard-sync icon indicating copy to clipboard operation
clipboard-sync copied to clipboard

Clipboard synchronization does not work on hyprland

Open xulongwu4 opened this issue 11 months ago • 2 comments

I am using hyprland on Solus linux, and launching clipboard-sync results in the following output:

2025-01-14 23:12:17 -  INFO - started clipboard sync manager
2025-01-14 23:12:17 -  INFO - starting clipboard sync
Received an event primary_selection requiring version >= 2 while proxy zwlr_data_control_device_v1@5 is version 1.
2025-01-14 23:12:17 - ERROR - unexpected error while attempting to setup clipboard 1: failed to get wlr clipboard: Wayland compositor communication error
2025-01-14 23:12:17 -  WARN - Issue connecting to some x11 clipboards. This is expected when hooking up to gnome wayland, and not a problem in that context. Details: 'clipboard error: X11 clipboard error : XCB connection error: Connection' for x11 displays: [1..254]
2025-01-14 23:12:17 -  INFO - Using clipboards: [X11Clipboard { display: ":0" }]
2025-01-14 23:13:39 -  INFO - clipboard updated from display :0
2025-01-14 23:13:57 -  INFO - clipboard updated from display :0

And if I copy something from a wayland window and try to paste it in an xwayland window, it does not work. xclip also does not show the copied content.

xulongwu4 avatar Jan 15 '25 04:01 xulongwu4

Oh, I can add to that: installed the -git and normal variant from aur.

░░ Subject: A start job for unit UNIT has failed
░░ Defined-By: systemd
░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
░░ 
░░ A start job for unit UNIT has finished with a failure.
░░ 
░░ The job identifier is 575 and the job result is dependency.

xXPerditorXx avatar Jan 28 '25 18:01 xXPerditorXx

Same issue in Plasma 6.

Edit: it does work if I start clipboard-sync manually, but not with the systemd service.

OS: CachyOS (based on Arch)

Vistaus avatar Apr 20 '25 20:04 Vistaus