samoshkin / tmux-config

Tmux configuration, that supercharges your tmux to build cozy and cool terminal environment
2.16k stars 501 forks source link

clipboard issues with terminator #14

Open tfriedel opened 6 years ago

tfriedel commented 6 years ago

When I run this tmux config inside a terminator window and select some text with the mouse it is copied to the clipboard as I expect, but it also appears just right after the selected text again as some kind of base64 encoded version. This doesn't happen in another terminal (alacritty). Any idea why that is? Can I get rid of this behaviour by configuring either tmux or terminator differently?

james-gonzalez commented 6 years ago

I have the same issue.

tfriedel commented 6 years ago

I found the solution. add this line to tmux.conf: set-option -g set-clipboard off

if it's on tmux is trying to set the clipboard with escape sequences which conflicts with xsel I found this solution here: https://github.com/tmux/tmux/issues/1407

jusmistic commented 6 years ago

On Ubuntu, I solve this by install xsel sudo apt-get install xsel

Read more at Clipboard integration