I run multiple services on a VPS under tmux. When I SSH to my VPS and attach to a tmux window, I'm able to copy/paste successfully to other windows/applications under macOS, but not under Ubuntu. I've followed various guides that purport to allow copy/paste under Ubuntu (22.04 LTS), but none has worked for me. How can I enable this? For example, in a tmux window, I might encounter a URL. Using the mouse, I get a popup offering to allow me to "copy the url", and selecting this option, and going to another GNOME Terminal window, or to some application like a browser, I'm unable to paste the URL. The same occurs for arbitrary text.
I can even factor SSH out of the picture. If I simply start up a Terminal session, using bash as my shell, and then start tmux, anything I attempt to copy using the mouse will not end up on the system clipboard, and thus an attempt to paste will either result in nothing being pasted, or perhaps the last non-tmux clipboard copied text being pasted. I've tried installing xsel, and binding MouseDragEnd1Pane to use it (as described in this article: https://github.com/tmux/tmux/wiki/Clipboard. This didn't change anything. Help? -- Eric -- You received this message because you are subscribed to the Google Groups "tmux-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to tmux-users+unsubscr...@googlegroups.com. To view this discussion on the web, visit https://groups.google.com/d/msgid/tmux-users/acf636b2-324a-48da-aa43-2a561f1f4dc8n%40googlegroups.com.