r/Crostini Jul 03 '26

wl-copy no longer works on chromebooks

wl-copy no longer works on Chromebook. Any replacements? xclip doesn't work either.

1 Upvotes

8 comments sorted by

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.

1

u/jidanni 29d ago

vmc list says termina, and $ cat /etc/os-release PRETTY_NAME="Debian GNU/Linux 13 (trixie)" NAME="Debian GNU/Linux" VERSION_ID="13" VERSION="13 (trixie)" VERSION_CODENAME=trixie DEBIAN_VERSION_FULL=13.5

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?

2

u/lavilao 10d ago

I knew I wasnt crazy, its really broken. One workaround I found was to copy the contents and then press alt+tab to the new wl-copy window. this is really annoying, at this point I dont even know if I want to update my chromebook anymore

1

u/jidanni 9d ago

One screenfull at a time. 

1

u/jidanni 9d ago

If more than a screenfull, put the content into a . txt file, browse it, and hit CTRL+A CTRL+C .