Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[solved] tmux-1.5 and copy/paste with X mouse
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
mv
Advocate
Advocate


Joined: 20 Apr 2005
Posts: 4078

PostPosted: Sat Jul 30, 2011 3:38 pm    Post subject: [solved] tmux-1.5 and copy/paste with X mouse Reply with quote

Since tmux-1.5, it is no longer possible to copy to use the X mouse to copy/paste.

Yes, I know that there is now a new "feature" such that mouse dragging puts the selection into the tmux buffer - this is the case.
The problem is that even if I unselect this feature with
Code:
set-window-option -g mode-mouse off
I just have no mouse support, that is copy/paste still does not work.

I tried also keeping the feature on, setting
Code:
set-option -g set-clipboard on
(configuring xterm with "disallowedWindowOps: 20,21,SetXprop" as described in the tmux manpage) but neither is any selection put into the clipboard nor is the middle mouse button pasting something. I also tried various combinations with mouse-utf8 and the other mouse-* variables in tmux, so far without any success.

Is anybody able to use the "usual" X cut/paste with the mouse in tmux (+xterm or another terminal emulator under X)?


Last edited by mv on Tue Aug 09, 2011 6:05 pm; edited 1 time in total
Back to top
View user's profile Send private message
mv
Advocate
Advocate


Joined: 20 Apr 2005
Posts: 4078

PostPosted: Tue Aug 09, 2011 6:04 pm    Post subject: Reply with quote

Answering my own question: It seems to work with
/etc/tmux.conf wrote:
set-option -g mouse-select-pane off
set-option -g mouse-resize-pane off
set-option -g mouse-select-window off
set-window-option -g mode-mouse off

(I thought that I had tried this, but perhaps forgot one or perhaps forgot to restart the tmux server.)
Moreover, mouse-select-pane worked nicely with tmux-1.4 without preventing copy/paste... :?
Back to top
View user's profile Send private message
greboide
n00b
n00b


Joined: 06 Dec 2005
Posts: 37

PostPosted: Mon Oct 24, 2011 3:32 pm    Post subject: Reply with quote

thank you, it worked for me!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum