After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 542228 - copy and paste in terminal window
copy and paste in terminal window
Status: RESOLVED WONTFIX
Product: gnome-terminal
Classification: Core
Component: general
unspecified
Other All
: Normal enhancement
: ---
Assigned To: GNOME Terminal Maintainers
GNOME Terminal Maintainers
[decision][chpe:wontfix]
Depends on:
Blocks:
 
 
Reported: 2008-07-09 16:04 UTC by y
Modified: 2008-07-11 10:41 UTC
See Also:
GNOME target: ---
GNOME version: Unversioned Enhancement



Description y 2008-07-09 16:04:22 UTC
it would be nice if text selected in the terminal window was automatically copied to the clipboard (save a lot of Shift+Ctrl+C. I know no other reason to highlight text inside the terminal reason but to copy it.

Similarly, it would be nice if a right mouse click inside the terminal window would paste the clipboard at the current cursor location.

This is tried and tested behavior from PuTTY <http://www.chiark.greenend.org.uk/~sgtatham/putty/> and a big time saver.

Thank you!
Yuv

Other information:
Comment 1 y 2008-07-09 16:40:30 UTC
sorry, I should have specified: tried and tested behavior from PuTTY *for Windows*.
Comment 2 Behdad Esfahbod 2008-07-10 11:28:33 UTC
What you want is already provided by middle-click.  It's called PRIMARY selection.
Comment 3 y 2008-07-10 17:46:54 UTC
(In reply to comment #2)
> What you want is already provided by middle-click.  It's called PRIMARY
> selection.

is there a reason why the PRIMARY selection is not available in the clipboard for pasting (i.e. Ctrl-P when in gedit or firefox)? using the middle-click to paste is OK in the terminal window, but in gedit or firefox it forces the user to additional mouse movement because clicking the middle-click also moves the cursor. My preference would be to highlight the text in the terminal window, then Alt-Tab to the target application and Ctrl-P.

Comment 4 Behdad Esfahbod 2008-07-11 10:41:39 UTC
That's by design.  Selection should not override what you have copied into clipboard.  Please do not REOPEN.