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

Piping to wl-copy causes Xwayland to launch #203

Open
Kacper-Kondracki opened this issue Nov 10, 2023 · 3 comments
Open

Piping to wl-copy causes Xwayland to launch #203

Kacper-Kondracki opened this issue Nov 10, 2023 · 3 comments

Comments

@Kacper-Kondracki
Copy link

When invoking echo "hello" | wl-copy Xwayland instance is launched.
But when invoking wl-copy hello it doesn't launch Xwayland.

So programs that use wl-clipboard and communicate with wl-copy via stdin, will spawn xwayland because of this, which is not desirable.
zyedidia/micro#3017

@bugaevc
Copy link
Owner

bugaevc commented Jan 8, 2024

Hi, this is most likely caused by us invoking xdg-mime, and that in turn invoking something that references X11. This should go away one we switch away from using xdg-mime.

@weierophinney
Copy link

Could this be why I see transient wl-clipboard windows when doing an alt-tab within gnome-shell on Wayland? And why paste often does not occur until I alt-tab to the wl-clipboard window?

@bugaevc
Copy link
Owner

bugaevc commented Oct 2, 2024

No

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

No branches or pull requests

3 participants