LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (http://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   PuTTY, copy/paste not working (http://www.linuxquestions.org/questions/linux-newbie-8/putty-copy-paste-not-working-910437/)

qrange 10-27-2011 06:02 AM

PuTTY, copy/paste not working
 
I'm using PuTTY client (v 0.61) in Debian Testing, and copy/paste is not working at all.
what could it be?

thanks.

digitaldude 10-27-2011 07:18 AM

highlighting text in putty copies it
right click pastes it.

qrange 10-27-2011 05:23 PM

I found out that for pasting, middle button is used.

but copying doesn't seem to work, it doesn't copy back to Debian.

jcramalho 12-21-2011 09:04 AM

PuTTY copy and paste on Linux - 2 100%working methods
 
Hi:

I solved this issue using 2 methods:

1. Using PuTTY linux version:
clicking in both touchpad buttons I simulated the middle button.
Since Linux Mint distro I'm using had not this middle button simulation activated (The latest version of evdev, version 2.5, changed the default for the middle mouse button emulation code. This change has disabled emulation of the middle mouse button by clicking the left and right mouse buttons) I needed to enable it manually:

Enabling the middle mouse button emulation adding this to xorg.conf snippet:

Section "InputClass"
Identifier "middle button emulation class"
MatchIsPointer "on"
Option "Emulate3Buttons" "on"
EndSection

2. Using PuTTY Windows version (I prefer this method since I do not need to change distro setting like Xorg, only Wine settings in order to connect to console serial ports):

Since wine handles com ports by having a link to the device (ie /dev/ttyUSB0), in the ~/.wine/dosdevices folder, this link would be created as follows, in order to update your wine profile configs:

ln -s /dev/ttyUSB0 ~/.wine/dosdevices/com1

I prefer this second method, since the copy paste works allways, do not need the middle button simulation and, the sherry in the top of the cake, it NEVER hangs (occasionally PuTTY for Windows hangs on some winXP installations, LOL).

Otherwise, in case you do not need/want to install wine, the first method is preferable.

Enjoy.

Joao


All times are GMT -5. The time now is 08:25 PM.