set-clipboard is by default on.
And I had added this to my ~/.Xdefaults

! Enable copying from tmux
xterm*disallowedWindowOps: 20,21,SetXprop

While I was debugging this today, I commented that line out and rebuilt the
xrdb.

I also tried reloading tmux conf by setting set-clipboard to off.

But I saw no difference.

Also the contents of the Clipboard selection are fine. It is the Primary
selection that always gets overwritten by the top of the tmux paste-buffer.

Here is more debug experiment if that gives you some hint:

I first save "abc" to the primary selection.

> echo abc | xsel -ip # save something to primary
> xsel -op # read primary
abc

Now I copy something random in emacs. That should be copied to both primary
and clipboard.

> xsel -op # read primary
> \tmux -V
tmux 2.2

The primary selection is automatically reset to the top most value of the
tmux paste-buffers!





On Fri, Aug 26, 2016 at 3:52 PM Nicholas Marriott <
[email protected]> wrote:

> Oh maybe you have set-clipboard on and the terminal is setting it.
>
-- 

Kaushal Modi

-- 
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 [email protected].
To post to this group, send an email to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to