Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 10-27-2011, 07:02 AM   #1
Registered: Jul 2006
Location: Belgrade, Yugoslavia
Distribution: Debian stable/testing, amd64
Posts: 940

Rep: Reputation: 45
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?

Old 10-27-2011, 08:18 AM   #2
LQ Newbie
Registered: Sep 2010
Posts: 20

Rep: Reputation: 0
highlighting text in putty copies it
right click pastes it.
Old 10-27-2011, 06:23 PM   #3
Registered: Jul 2006
Location: Belgrade, Yugoslavia
Distribution: Debian stable/testing, amd64
Posts: 940

Original Poster
Rep: Reputation: 45
I found out that for pasting, middle button is used.

but copying doesn't seem to work, it doesn't copy back to Debian.
Old 12-21-2011, 10:04 AM   #4
LQ Newbie
Registered: Dec 2011
Posts: 2

Rep: Reputation: Disabled
PuTTY copy and paste on Linux - 2 100%working methods


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"

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.




Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Copy and Paste in Putty camposomar Linux - Newbie 8 08-05-2012 06:05 PM
Mouse Copy/Paste no longer working? introuble Slackware 8 08-18-2006 08:55 PM
copy and paste not working (requested clipboard format not available) marie-p Linux - Software 1 01-23-2005 12:44 PM
Copy and Paste Not Working. rvijay Linux - Newbie 3 09-16-2003 10:49 AM
copy/paste not working online 9nine9 Linux - General 2 01-11-2003 05:51 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:44 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration