5 ms·
I love middle click paste, in combination with ctrl+c/ctrl+v paste it's a second clipboard, which allows to do one kind of refactoring in between doing some oth
by Aardwolf 3y ago
I love middle click paste, in combination with ctrl+c/ctrl+v paste it's a second clipboard, which allows to do one kind of refactoring in between doing some other refactoring in code (as just one example).
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...
- deleted 3y ago[deleted]
- mainpassathome 3y agoit doesn’t not support it, it doesn’t set this unexpected behaviour as default
- Aardwolf 3y agoWhether it's unexpected or not depends on the user, you could as well say ctrl+v pasting in windows is unexpected if you don't know this shortcut. Middle click paste in linux is a standard feature this OS has always had
- macNchz 3y agoThe problem being that middle click does other stuff, like opening links in new browser tabs.
- arp242 3y agoWell, we can have a long discussion about what is "better" or not, but in the end it's just a preference, and also a long-standing paradigm. 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.
- opan 3y agoIt also closes tabs, and can allow scrolling. These things are in different contexts and don't interfere. You'd need to be in a text box to middle-click-paste. It won't mess up opening a link in a new tab.
- midasuni 3y agoMiddle click paste is very much expected - it’s been standard for at least a quarter of a century
- pauby 3y agoWayland supports screenshots. I drive it daily and use that feature many times per day. Can't talk about the others as I don't use them.
- the_pwner224 3y ago> things it doesn't support like xclip https://github.com/bugaevc/wl-clipboard https://github.com/bugaevc/wl-clipboard $ cat ~/bin/clip #!/bin/sh if [[ -z $WAYLAND_DISPLAY ]]; then xclip -selection clipboard else wl-copy fi
- wavemode 3y agoSeems like the real solution is clipboard history, which I make extensive use of on KDE and Windows. Never felt the need for middle click paste.
- opan 3y agoThis doesn't cover the use-case of having unique info in both at the same time, allowing you to paste in your desired order. I have a script where I read from the primary selection, modify the text, and put it on the clipboard. I use this along with something more like a regular clipboard manager to complete a task. Combined I can highlight some text, put other info on my main clipboard to paste right away, then run my script that uses the primary selection afterward without going back to re-copy the first text.
- opan 3y agoEverything you listed works on Wayland. 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.
- doix 3y ago> 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.