support for CLIPBOARD selection

Bug #116165 reported by izirajder on 2007-05-22
This bug affects 1 person
Affects Status Importance Assigned to Milestone
putty (Ubuntu)

Bug Description

Binary package hint: putty

In putty, you only have to select the text to copy it to the clipboard. However, pasting (with the middle button) only works in the same putty window or between putty windows, but I cannot paste for example into a web browser or text editor (using Ctrl-V). When trying to paste, it pastes the content of the clipboard which putty didn't in fact modify at all. So it seems that putty uses its own clipboard for copying.
Pasting into putty from the "main" clipboard works, however. So, for example, I can paste a text into putty that I have selected and copied using Ctrl-C from a web browser.
I have gone through all of the settings of putty and couldn't find a relevant setting option.
This bug is quite annoying because I cannot copy an error message from putty and paste it into Google to search for a solution.

Colin Watson (cjwatson) wrote :

This is probably just the usual difference between the PRIMARY and CLIPBOARD selections in X, which occasionally causes confusion; basically, after selecting text in PuTTY, you always need to paste it into other applications using middle-click, never with Edit->Paste. See for more discussion on this.

It would be nice if PuTTY had some way to copy text to the CLIPBOARD selection, all the same. This is sort of what's noted in the upstream paste-semantics wishlist entry (; note that the mouse-handling option mentioned at the end of that entry is only available on Windows.

Changed in putty:
importance: Undecided → Wishlist
status: Unconfirmed → Confirmed
Colin Watson (cjwatson) on 2009-07-17
Changed in putty (Ubuntu):
status: Confirmed → Triaged
John Miezitis (jomn) wrote :

xterm addressed this issue with an option to copy between the PRIMARY selectino and CLIPBOARD.
The option can be set via command line xterm -ls -xrm ‘XTerm*selectToClipboard: true’
or via Xdefaults: XTerm*selectToClipboard: true


Would be great to have this feature in putty.

I run a VNC server on a Linux server and connect to it from Windows. Copy and pasting from putty running on the server in VNC to a windows application is a four or five step process where as it should be just select and paste.

Thank you.

Jacob Nevins (0jacobnk-ulp) wrote :

PuTTY upstream release 0.71 (not yet packaged for Ubuntu) adds options for using the CLIPBOARD selection (off by default).

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers