I am aware how f middle-mouse paste, but I didn’t actually try that to paste the copied URL into the browser address bar — I just tried C-v. I’ll give middle-mouse a try in the address bar and report on whether that did anything different.
I had thought, however, that whether I used C-v (in the browser) or C-Shift-v in the shell or middle-mouse, shouldn’t matter — that they all pasted from the system clipboard. — Eric (KC6EJS) On Jun 6, 2023, at 19:58, Scott Rochford <annihilan...@gmail.com> wrote:
Dealing with 3 clipboards here... even ignoring the tmux clipboard, the X vs Gnome (terminology? - the one you refer to as the *real* system clipboard) clipboard confusion has been a bad Linux user experience problem for a long time now. Are you aware that you can usually use middle-mouse-click to paste from the X clipboard directly?
I forgot to send this before the last message I sent to the list:
Ah. There is some interference here. The use case I was *really*
trying to get working was copying text from an irssi client
running within a tmux session on a remote host accessed with ssh.
It would appear that the popup is coming from irssi. If I use
another tmux window (not running irssi), I can select text with a
mouse, and have it immediately "copied" (somewhere) when I
release. However, it still never makes it to my system clipboard
(local system).
Let me re-check everything in my tmux configuration on the remote
system. I'd really not like to be required to use xterm and X (as
well as X forwarding over SSH), but I will do that if necessary.
<I've done the above and sent the results in my previous
message to the list>
-- Eric
On 6/6/23 14:13, Nicholas Marriott
wrote:
tmux doesn't work like you describe. If you select text
with the mouse it should copy as soon as you release. The only
copy menu items are to copy a word or a line. Are you sure you
are actually copying using tmux and not the terminal's own
tools? Do you see the text you copied if you enter buffer mode
or use list-buffers?
You will not be able to get xsel or xclip
working from another host without X11 forwarding, you could
try that but OSC 52 is usually easier.
If you are sure you are copying using tmux,
then:
- Did you restart X or reload the .Xresources
with xrdb before starting xterm?
- Did you follow the steps in the clipboard page
quick start section to make sure everything is set up
properly?
I'm trying to simply highlight the text with the
mouse -- which does highlight, and then use the "Copy
..." contexts menu that comes up to copy to the system
clipboard. This works fine on my Mac -- just not on
Linux.
I've also tried entering copy mode, selecting the
start and end via keyboard -- and that also doesn't
work.
-- Eric
On 6/6/23 13:56, Nicholas Marriott wrote:
How are you copying from tmux?
I did. That was where I found all the
references to binding keys for xsel.
However, I looked at it again, and found
the section where it said that xterm
supported OSC 52. So I configured the
required:
XTerm*disallowedWindowOps: 20,21,SetXprop
in my ~/.Xresources, and fired up
xterm. It has the same problem. Nothing I
copy out of my tmux session makes it to
the system clipboard.
-- Eric
On 6/6/23 13:50, Nicholas Marriott
wrote:
Read the clipboard page on the tmux
wiki.
Thanks.
Google searches for "OSC 52" AND
terminal AND "Ubuntu 22.04 LTS"
don't turn up anything. Do you
know that such a terminal program
exists
for Ubuntu 22.04 LTS?
-- Eric
On 6/6/23 13:46, Nicholas Marriott
wrote:
> terminal which supports OSC
52
--
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/3720337d-f987-aae6-999e-a9419f34a2e1%40swenson.org.
--
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/80B7CB65-6B5B-4D12-9E1B-6CDA2DC5C039%40swenson.org.
|