Closed modernNeo closed 1 month ago
I could not reproduce this on debian 12. Are you sure you pressed <prefix>I
(that's a capital I
) to make tpm install the plugins? Does <prefix>y
in normal mode(not in copy mode, that is, after you pressed <prefix>[
) show a message saying 'Line copied to clipboard!'?
I am having the exact same issue on Ubuntu 22.04 with xorg and tmux version 3.2a
I have done both <prefix>I
and <prefix>U
to install and update tmux-yank
. Also installed xsel version 1.2.0
.
I see Line copied to clipboard
output on tmux status bar when I do <prefix>y
but cant paste anything back from system clipboard (e.g. into the web browser)
See if adding set -g @override_copy_command 'xsel -b'
to the top of your tmux config file fixes it. Make sure you reboot.
If it does work, it might be because you have the wl-copy
command available on your system and you are not currently running wayland. This happens because currently this plugin is configured to pick the first available command from a list; it doesn't check whether you are running wayland or X. It's something that could be improved on, for sure.
Yeah, that solved it thanks.
@returnDanilo finally got around to trying your solution and yea, it works on my system too. thanks so much 🙏🏿
I think I have followed the instructions as they are set
I have
~/.tmux.conf
I installed
xsel
but when I am in tmux and I do
Ctrl
+B
,[
and then hit[Space]
, make my selection and then doy
, I don't think the selection was copied to the system clipboard, just thetmux-yank
clipboard.If I do
Ctrl
+V
, I see something else get pasted. I can only what I selected above get pasted if I doCtrl
+B
,]
in tmux.What am I doing wrong?
I am on
tmux 3.3a
on aPRETTY_NAME="Debian GNU/Linux 12 (bookworm)"