Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clipboard not working when using --xwayland #512

Open
CoolnsX opened this issue Sep 11, 2023 · 4 comments
Open

Clipboard not working when using --xwayland #512

CoolnsX opened this issue Sep 11, 2023 · 4 comments
Labels

Comments

@CoolnsX
Copy link

CoolnsX commented Sep 11, 2023

Hey, thanks for this script to make my life easier.

I am having issues with clipboard not working whenever I run x11docker with --xwayland, I need it because the electron app does not play nicely without gpu even with --gpu args passed, but this break the clipboard sharing (bi-directional) functionality, so currently I am using the shared "file" workaround in which I saved clipboard contents in a file which is accessible from both container and host.

@mviereck
Copy link
Owner

mviereck commented Apr 6, 2024

Does clipboard sharing work e.g. with Xephyr? Is xclip installed?

@mviereck mviereck added the needinfo Bug descriptions needs more info label Apr 6, 2024
@CoolnsX
Copy link
Author

CoolnsX commented Apr 6, 2024

Yeah, clipboard works with xephyr, but I wanted to use xwayland, since the GPU acceleration is better there.

@mviereck
Copy link
Owner

mviereck commented Apr 6, 2024

Odd that it works in Xephyr, but not in Xwayland.
Just tried to reproduce and found that since my recent update to Debian bookworm the weston window with Xwayland does not show Xwayland at all, however, no error appears. So I cannot check the clipboard immediately.
I'll have to check and fix that first before I can check the clipboard issue.

@mviereck mviereck added bug and removed needinfo Bug descriptions needs more info labels Apr 6, 2024
@CoolnsX
Copy link
Author

CoolnsX commented Apr 6, 2024

I use hyprland (Wayland compositor) and it has support for xwayland, that's what I use for running my custom docker image based on debian with xfce.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants