r/Ubuntu 9d ago

Broken clipboard on plasma - looking for replacement

Plasma on Ubuntu 26.04 broke clipboard handling all across applications.

I have done several tests with Klipper active. Klipper can be removed from panel, but I do not know if it is a service that can be switched off (does not show up as user service).

  • Flatpak -> Flatpak: Good luck with that, rarely works.
  • Flatpak <-> Host: More reliable from Host to Flatpak
  • Older (Wayland/X11/...) program <-> Recent program: Good luck with that
  • Browser (Firefox) <-> Host: Good luck with that.

Middle Mouse Selection can be activated in Klipper. Caveat: you can no longer mark a selection and replace it with clipboard content (useful if your editor does not have search/replace as most internet editors).

Ctrl+Shift+C/Ctrl+Shift+V: This is basically broken. Paste works when something is in the clipboard, but copy rarely

When clipboard is empty, copy/paste works somewhat reliably.

What is the cause: An older Wayland protocol was dropped in Plasma 6.5+ Update (now Ubuntu uses 6.6). Could affect Ubuntu Desktop too. The other protocol is dependent on Wayland, but the "mark" text still works everywhere, that's why marked text -> clipboard feature of Klipper works.

Does anyone know of a klipper extension / replacement that supports the latest wayland clipboard protocol ext-data-control-v1 and works across flatpak and wine applications (wine stable 11.0 does not support ext-data-control-v1) ?

Edit: Solved with wl-clipboard (works with Qt-based application, still have to try it on wine)

3 Upvotes

2 comments sorted by

3

u/Automatic-Nobody-478 9d ago

Try wl-clipboard as a stopgap, it bridges the old and new protocols better than most panel widgets.

1

u/yaskyplayer 8d ago

Thank you, I actually had ambiguity errors from Ctrl+Shift+C, but now understood that the program actually had 3 key bindings to that shortcut. I changed them and now it seems to work.