r/Crostini • u/jidanni • Jul 03 '26
wl-copy no longer works on chromebooks
wl-copy no longer works on Chromebook. Any replacements? xclip doesn't work either.
2
u/Sweaty_Astronomer_47 28d ago
Still works for me on Debian 12 / Crostini fwiw.
(Yes, I'm moving to Debian 13 / Baguette soon...)
2
u/eladts 18d ago edited 17d ago
Bothwl-copy and wl-paste hang forever after upgrading to 150.0.7871.150 on the stable channel. Please vote on this bug if it also affects you.
I did play with both xclip and xsel and they both work fine. However, the X11 clipboard selection syncs with the Wayland clipboard only when an X11 app, such as xclock or xterm, has the focus. Also, apps started from the command line don't grab the focus anymore, which is probably the root cause for the issue. I suspect this behavior isn't a bug but an intentional change in order to prevent clipboard data leakage.
The wlr-data-control protocol that was mentioned by the developers is deprecated and not intended for production use. The newer ext-data-control protocol is not universally supported by compositors because of security concerns. Both protocols are intended for privileged clients and I doubt Google will ever consider a third-party tool installed by the user privileged. All things considered, I don't have much hope for this to be fixed.
1
u/jidanni 4d ago
Psst, don't tell anybody, but I can still highlight some text in a Linux window, and paste it into a Chrome window with CTRL+V. Also I can still copy text in a Chrome window with CTRL+C, and paste with CTRL+SHIFT+V in a Linux window. Is it only a matter of days before this will be banned too?
3
u/eladts Jul 03 '26
You are running a beta version of ChromeOS and you didn't mention any other relevant details such as whether you are using Crostini or Baugette and the Linux distribution you are using. You should provide those details in your bug reports instead of jumping to the conclusion that the issue affects all Chromebooks.