You are not logged in.
I'm testing LxQt Wayland (lxqt-wayland-session labwc wl-clipboard) and starting the session with startlxqtwayland.
(BTW this seems to run very good, stable and almost ready for daily usage)
While copy+paste works for all Apps, and between them,
I struggle to find an replacement for X11 xclip:
putting data from a script into the clipboard and using it in an App.
Example
$ df -h | wl-copy
$ df -h | wl-copy -p
$ df -h | wl-copy -p -fnothing "arrives" in l3afpad, Thunderbird or Geany.
Only this works between two different Qterminals:
$ df -h | wl-copy$ wl-paste
Filesystem Size Used Avail Use% Mounted on
/dev/nvme0n1p2 3...Installing wl-clip-persist, and running it, seems not to change anything.
So wl-clipboard is not a 1:1 replacement for xclip ?
Did I something wrong ?
Is there another way ?
Last edited by ua4000 (2026-05-01 12:22:41)
Offline
Have you tried to enforce the mime type?
Check "wl-paste -l"
Offline
Aah, thanks very much!!!
date | wl-copy -t text/plaindoes the trick and now works perfect.
In my 1st usage I had
$ date | wl-copy
$ wl-paste -l
application/octet-streamLast edited by ua4000 (2026-05-01 12:33:12)
Offline