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 · 1 comment
Open

Piping to wl-copy causes Xwayland to launch #203

Kacper-Kondracki opened this issue Nov 10, 2023 · 1 comment

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.

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

2 participants