Issue with copy/paste from VNC to Linux and Windows machine - Perl
This is a discussion on Issue with copy/paste from VNC to Linux and Windows machine - Perl ; Hi All,
I am working on VNC and copying text to the clipboard using the
following cmds.
$mainWindow->clipboardClear;
$mainWindow->clipboardAppend($text);
But when I am trying to paste on the linux or windows platform it
shows random behavior.
It sometime paste correct ...
-
Issue with copy/paste from VNC to Linux and Windows machine
Hi All,
I am working on VNC and copying text to the clipboard using the
following cmds.
$mainWindow->clipboardClear;
$mainWindow->clipboardAppend($text);
But when I am trying to paste on the linux or windows platform it
shows random behavior.
It sometime paste correct value.
Sometime doesn't paste anything.
Sometime it pastes incorrect value.
Please let me know what to do to make the behavior correct?
Thanks in advance,
/Robert
-
Re: Issue with copy/paste from VNC to Linux and Windows machine
Hi,
The issue might not be related to Tk, but more to the fact, that there
are two different schemes to copy/paste.
You could try to run autocutsel on your vnc server, which tries to
synchronize both potential copy/paste buffers.
ASee followign article:
http://www.nongnu.org/autocutsel/
bye
N
I think roberts.cse@gmail.com wrote:
> Hi All,
>
> I am working on VNC and copying text to the clipboard using the
> following cmds.
>
> $mainWindow->clipboardClear;
> $mainWindow->clipboardAppend($text);
>
> But when I am trying to paste on the linux or windows platform it
> shows random behavior.
> It sometime paste correct value.
> Sometime doesn't paste anything.
> Sometime it pastes incorrect value.
>
> Please let me know what to do to make the behavior correct?
>
> Thanks in advance,
> /Robert
>
>