I didn't know wayland doesn't support that either, one more thing to add to the list of things it doesn't support like screenshots, xclip, mouse/keyboard automation, etc...
I didn't know wayland doesn't support that either, one more thing to add to the list of things it doesn't support like screenshots, xclip, mouse/keyboard automation, etc...
https://github.com/bugaevc/wl-clipboard
$ cat ~/bin/clip
#!/bin/sh
if [[ -z $WAYLAND_DISPLAY ]]; then
xclip -selection clipboard
else
wl-copy
fiCan't talk about the others as I don't use them.
It's fine to dislikes it; everyone dislikes some features (e.g. personally I really dislike autoscroll). The thing is that it's not "unexpected" because it's been like this for >30 years, since the 80s. Nor is there anything wrong with it: it's just something you can like or dislike.
Or to put it in another way: if I wanted my Unix system to behave like Windows or macOS then I'd be using Windows or macOS.
Grim for screenshots, slurp for selection (similar to maim). wl-clipboard works like xclip with its wl-copy and wl-paste commands, I use it extensively in scripts. There is ydotool (not to be confused with xdotool) for kb/m automation. Highlight + middle click paste also works as expected and I use that many times a day. Primary selection is also available to wl-clipboard with a -p arg for both copy and paste.
t. actual daily Sway user for several years now
It's insane to me how much misinformation is spread about Wayland by people who just don't even try it. I guess people want to hate it.
I suspect it didn't work at one point and then people ditched it and have that as their memory. I tried to switch to sway, a bunch of stuff didn't work like I expected and I just switched back to i3, this was probably 3-4 years ago at this point.
I assume it's probably gotten better, so I don't go around commenting. But I fully believe people did try it and it didn't work for them (at some point) and they just ditched it.