klatls
April 25, 2026, 5:13pm
1
Upgrading from 24.04 no more works highlight text and paste
You need to explain a bit more please.
Highlight what? What is the app?
Paste into what app? How are you pasting?
klatls
April 25, 2026, 5:37pm
3
Hi, in Linux desktop, in every distribution, DE WM I can highlight text in every application and paste it with the mouse central wheel/button in another application
This sounds like a x11 vs wayland difference.
labwc needs a helper such as
wl-paste --primary --watch wl-copy &
Then need a labwc context change
opened 10:07AM - 16 Feb 24 UTC
Pasting the clipboard contents to a client window only works when the pointer is… within the client window borders and the window is active at the time.
Text input via the keyboard goes to the active window, not depending on the mouse pointer's position.
I would expect a paste to behave like keyboard input. The X11 Window managers I used behave just like that by default.
I have not been able to find a configuration to allow this behaviour, e.g. unsetting any middle mouse action with action = "None" in the root window context does not help. I tried with labwc versions up to 0.7.0 and did not find any indication of addressing this in recent activity, but have not tried a build from git.
I am not familiar enough with the compositor to have a guess if that's a straightforward change/addition or weather that is an extension of mouse behaviour having to consider all the ifs and buts of being on the root window or ontop an inactive window and if so, weather MM click activates the window below the pointer (although if activation is handled first, that'd sort itself out). At this point, that's the only thing that makes me stumble rather regularly in labwc. Not a reason to switch, but having this supported would be awesome!
PS: Thank you all for working on this project, this has made my switch to wayland quite easy. \o/
You would need to experiment with variations of those above to enable your workflow.
Note… I use budgie-clipboard-applet as my helper for persistent clipboard management.
klatls
April 25, 2026, 6:06pm
5
You mean adding
<mouse>
<context name="Desktop">
<mousebind button="Middle" action="Press">
<action name="Execute" command="wl-paste --primary"/>
</mousebind>
</context>
</mouse>
to the ~/.config/budgie-desktop/labwc/rc.xml ?