Menu

#171 middle button ignored

open
nobody
None
5
2005-12-18
2005-12-18
No

Basically, I drag-select a range of text in the XVNC window X-terminal
and then use the "middle button" to try and copy the selected text to the
current X-windows cursor location.

So, the set of action is:

move mouse pointer to start of text region
mouse-down and drag to end of text
mouse up
middle-click

On my linux box, those actions would replicate the selected text at the
current xterm input cursor location. With CotVNC interposed, nothing
happens -- I'd guess that was because the mouse center button isn't
being sent to VNC.

In the Connection Config, I've set the center and right buttons to no-
emulation -- since I have a multibutton mouse. But I'd guess that there
are no universal settings for the keycodes from mice; Do I need to set the
Kensington driver to xmit certain codes when the receiving application is
CotVNC?

I've also tried all variations on mouse clicks while holding down one of
SHIFT, CTRL, OPTION and CMD -- none of these have the desired end
result...

I'm running MacOSX 10.4.3,
CotVNC 2.0b3
connecting to RH Linux, XVnc 3.3.7

Discussion

  • Vincent Lefevre

    Vincent Lefevre - 2006-01-10

    Logged In: YES
    user_id=681811

    Middle-clicking behaves correctly here with CotVNC 2.0b3.
    Could you check with xev what you get? The only difference
    with left-click should be that the mouse button is button 2
    instead of button 1.

     
  • Isaac Salsberg

    Isaac Salsberg - 2006-02-09

    Logged In: YES
    user_id=663978

    I am having the same problem:

    If I run "VNC Config" utility in background (vncconfig) in the linux box I can
    copy text from linux and paste it into Mac OS X, but I can NOT copy text from
    Mac OS X and paste it into the linux machine thru the cotvnc viewer window.

    I tried the same thing running the VNC viewer from Win XP connected to the
    very same VNC Server in linux. Cut and Paste WORKS FINE in both ways with
    no sweat. I use mouse's middle button to paste text into Linux.

    I am running:

    VNC Server: Red Hat Linux 7.3 and VNC Server 4.1.1 (I installed the last
    version to see if that solved the problem without success).

    Client side: CotVNC 2.0b4 (I tried 2.0b3 before) under Mac OS X 10.4.4

     
  • Vincent Lefevre

    Vincent Lefevre - 2006-02-09

    Logged In: YES
    user_id=681811

    > but I can NOT copy text from Mac OS X and paste it into
    > the linux machine thru the cotvnc viewer window.

    This is a different problem. How do you copy text? From
    which application? How do you paste text? To which application?

    Here clipboard contents pass from Mac OS X (client) to Linux
    (server), but not primary selection. This is not surprising
    because Mac OS X does not have a concept of primary
    selection (and probably neither the VNC protocol). Now,
    depending on the application, there may be some mirroring
    between the clipboard system and the primary selection
    system (BTW, I like this very much!).

    Note: when you use the middle button under Linux, this
    pastes the primary selection[*] (but this can also be
    configurable), therefore explaining that this may not work
    with VNC.

    [*] http://www.jwz.org/doc/x-cut-and-paste.html

     

Log in to post a comment.