Hello, I realized that cut&paste doesn't work with urxvt in a tigervnc-server. The rxvt-unicode-list refers me to the tigervnc-list :-)
Can you imagine what could be the problem? And even maybe how to solve it? Attached is the answer of Marc Lehmann. And at the very end my original question to the rxvt-unicode list. I assume that the selection is correctly transferred via tigervnc, as I can see it with "xsel -op" (means print primary selection). So, for me it looks really like a bug in urxvt.... Thanks a lot, Michael ---------- Forwarded message ---------- Date: Mon, 4 Nov 2013 13:41:45 +0100 From: Marc Lehmann <schm...@schmorp.de> To: Michael Traxler <m.trax...@gsi.de> Cc: rxvt-unic...@lists.schmorp.de Subject: Re: urxvt and selection/clipboard issue with vncconect On Mon, Nov 04, 2013 at 01:28:56AM +0100, Michael Traxler <m.trax...@gsi.de> wrote: > Also the cut and paste does work well in xterm and programs like firefox etc. Cut and paste in these programs do not generally use the selection, they use the clipboard mechanism. > But the paste via the middle mouse on the server doesn't work for urxvt. My guess is that either tigervnc doesn't support the selection mechanism at all and/or uses cut buffers. You'd have to ask the tigervnc developers - they have to provide the standard selection mechanism like other implementations to make it work. > The selection is always empty, so the old contents is deleted! I am not sure what that means (the old contents of something that's empty are deleted?). > It works on the client (vncviewer side of the connection) in urxvt. vncviewer probably implements the selection correctly then. > $ xsel -op | xsel -ip > on the server will fix it for one transfer of the selection. That sounds stringly like a bug in tigervnc. -- The choice of a Deliantra, the free code+content MORPG -----==- _GNU_ http://www.deliantra.net ----==-- _ generation ---==---(_)__ __ ____ __ Marc Lehmann --==---/ / _ \/ // /\ \/ / schm...@schmorp.de -=====/_/_//_/\_,_/ /_/\_\ Date: Mon, 4 Nov 2013 01:28:56 +0100 From: Michael Traxler <m.trax...@gsi.de> To: rxvt-unic...@lists.schmorp.de Subject: urxvt and selection/clipboard issue with vncconect Hi, I'm using urxvt (great software!) and tigervnc 1.3.0 (also great!). When starting vncconfig the selection is transferred between the VNC-server and the vncviewer. This works well in both directions which can be verified by for example: $ watch -n 0.1 xsel -op Also the cut and paste does work well in xterm and programs like firefox etc. But the paste via the middle mouse on the server doesn't work for urxvt. The selection is always empty, so the old contents [previous selections] is deleted! It works on the client (vncviewer side of the connection) in urxvt. The clipboard is also working, so with the urxvt-perl-extension "clipboard" I can paste the contents of the transferred clipboard. It seems that urxvt doesn't recognize the change of the selection. The only workaround I found is the following: $ xsel -op | xsel -ip on the server will fix it for one transfer of the selection. Any idea what is going wrong here? Thanks for your help, Michael ------------------------------------------------------------------------------ Android is increasing in popularity, but the open development platform that developers love is also attractive to malware creators. Download this white paper to learn more about secure code signing practices that can help keep Android apps secure. http://pubads.g.doubleclick.net/gampad/clk?id=65839951&iu=/4140/ostg.clktrk _______________________________________________ Tigervnc-users mailing list Tigervnc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/tigervnc-users