this post was submitted on 08 Oct 2023
192 points (96.2% liked)

Linux

48062 readers
730 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

Pretty sure most of you already know this but for those who don't: you have two clipboards in Linux. One is the traditional clipboard where you copy with control c and paste with control v. The other one is when you highlight text and use the mouse middle click to paste text.

More details here.

you are viewing a single comment's thread
view the rest of the comments
[–] Unmapped@lemmy.ml 5 points 1 year ago* (last edited 1 year ago) (1 children)

On my arch install with hyperland, clip boards have been by far the hardest thing to setup. I finally got a basic clipboard manger working using clipman and wofi. But tbh I don't really understand how that's working.

My main issues though have been trying to copy from one with vim open to other terminal with vim. Copying from vim elsewhere using y(yank) works fine. Copying elsewhere into vim works great. But vim to vim will not work for me.

Also trying to find a way to make copying text out of a terminal running tmux not so overly complex and tedious.

[–] stepanzak@iusearchlinux.fyi 3 points 1 year ago (1 children)

For copying from Tmux, I recommend tmux-yank. There are also multiple plugins allowing you to copy predefined set of text types (IP adresses, URLs, etc...). I'm currently using tmux-thumbs. Note that you have to set custom command in tmux-thums to actually copy the text to xclip or whatever you are using. example in my dotfiles

[–] Unmapped@lemmy.ml 2 points 1 year ago

I have tmux-thumbs, but only been able to use it a few times. Apparently most of what I need to copy is not ip's and URLs. But this tmux-yank looks like what I'm looking for. I'll give it a try. Thanks.