Skip to content

Just not working with two nested Wayland instances #42

@lukeflo

Description

@lukeflo

I run niri as my main window manager but have to use a nestes labwc window for executing some specific programms which have problems with niri.

To keep my work effective a clipboard sync is essential. Thus, I tried this great project, but unfortunately, it doesn't work.

I tried two ways: .deb package as well as building from source. When directly run the binary with ./target/release/clipboard-sync --log-level=debug --log-clipboard-contents it produces the following output:

2025-03-28 10:19:05 -  INFO - started clipboard sync manager
2025-03-28 10:19:05 - DEBUG - child process 33896 successfully initialized.
2025-03-28 10:19:05 - DEBUG - waiting 600 seconds and then killing 33896.
2025-03-28 10:19:05 -  INFO - starting clipboard sync
2025-03-28 10:19:05 - DEBUG - identifying unique clipboards...
2025-03-28 10:19:05 - DEBUG - Found clipboard: WlrClipboard { display: "wayland-0" }
2025-03-28 10:19:05 - DEBUG - Found clipboard: WlrClipboard { display: "wayland-1" }

And thats it. If I copy something with e.g. echo hello | wl-copy, I can only paste it on the same display but not the second one. Also there are no more log messages produced, even I used the log-clipboard-contents flag. It always remain with the stuff above.

Any ideas whats going on here?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions