Ubuntu QA:
BlogBrainstormPackage status
Log in
Ubuntu QA
The Ubuntu community has contributed 16796 ideas, 103309 comments, 2167252 votes
Idea sandbox Idea sandbox
Popular ideas Popular ideas
Ideas in development Ideas in development
Implemented ideas Implemented ideas
Idea #1837: Terminal Copy and Paste

Written by Auslegung the 29 Feb 08 at 21:21. Category: Others. Related project: Nothing/Others. Status: New
Rationale
Allow the usage of the keyboard shortcut Ctrl + v to paste items into the Terminal. I know many of us copy commands from websites (mostly ubuntu forums for me) and paste them into the Terminal, and keyboard shortcuts are a preferred way to do it.
Tags: (none)

-24
votes
up equal down
Solution #1: Auto-generated solution of idea #1837
Written by Auslegung the 29 Feb 08 at 21:21.
Ubuntu Brainstorm was updated in January 2009. Since the idea #1837 was submitted before this update, its rationale and solution are not separated. Please vote accordingly, and if you have the necessary rights, please separate the rationale from the solution. Thanks!
2
votes
up equal down
Solution #2: warning on first use of Ctrl+C/V
Written by _sebastian_ the 17 Jan 09 at 01:56.
For people coming from a MS Windows environment using ubuntu/linux for the first time there could be a warning/message on first use of +C/V saying that this keybord shortcut is for a different purpose in Ubuntu.

I would assume that a novice user will have this situation most likely when following help instructions for IRC/forum/howto for the first time

Propose your solution

Attachments
No attachments.


Duplicates


Comments
logfish wrote on the 29 Feb 08 at 21:24
In gnome-terminal you can use SHIFT-CTRL-V
See Edit->Keyboard shortcuts to change this to your own liking.

aysiu (Brainstorm moderator) wrote on the 29 Feb 08 at 21:25
Shift-Insert also works.

exactopposite wrote on the 29 Feb 08 at 21:26
shift-insert is the shortcut to paste in the terminal

Arnaudus wrote on the 29 Feb 08 at 21:27
It would be great to have both systems? Ctrl-C Ctrl-V and "selecting""middle-click" should have the same effect.

bigdufstuff wrote on the 29 Feb 08 at 21:30
in a term, ctrl-c sends the TERM signal (kills the app). This is why it can not be bound to copy.

Alan Pope (Ubuntu developer) wrote on the 29 Feb 08 at 21:31
CTRL+C has (for many years) been used to kill foreground programs. If you change that to "copy" then you'll cause as much (if not more) issues than leaving it be.

Auslegung wrote on the 1 Mar 08 at 16:27
Well then, seems I've made a dumb suggestion, but have found a way to get what I want, so thank you all. Oh, and vote down the hell out of my suggestion.

antistress wrote on the 3 Mar 08 at 01:01
i didn't understand either why ctrl+shift+c but now it's clear

BadChoice wrote on the 6 Mar 08 at 16:33
mouse middle button also does it! its the fastest way

spyyder wrote on the 16 Mar 08 at 01:43
So because a bunch of old timers are unwilling to change thier ways we have to have an antiquated keyboard short-cut. Way to be on the cutting edge Ubuntu!! This is ridiculous.

_sebastian_ wrote on the 22 Mar 08 at 01:56
When you open the Edit menu both shortcuts are shown to you.

please keep +C killing foreground programs

davidmarsden wrote on the 12 Jul 08 at 15:37
If you want to use Ctrl-C and Ctrl-V for cut and paste you can use Alt-F2 > gconf-editor > apps > gnome-terminal > keybindings > look for copy and paste > right-click > edit key > delete

r0g wrote on the 20 Nov 08 at 00:07
@spyyder

Ubuntu is based on Linux, Linux is based on Unix and one of the reasons that is good is because that means Ubuntu can run a huge number of terminal based programs. It has been convention for MANY MANY years that these programs use CTRL+C to exit. It's not as much "a bunch of old timers are unwilling to change thier ways" as no-one wants to...
A) Rewrite tens/hundreds of thousands of old apps
B) Confuse the f*** out of everyone who's already knows Unix/Linux.

_sebastian_ wrote on the 17 Jan 09 at 02:01
My suggested solution is probably only for real novice users. I would not consider myself needing this solution but we should think about the real first time 'just'-users

DST wrote on the 20 Nov 09 at 14:43
Some points i'd like you all to consider:

1st: Closing windows from the keyboard is something i never do. Ever.

2nd: I copy/paste/select all from the keyboard exclusively.

3rd: Copy/Paste is something i use all the time, and so it should be easy to use. Adding another button to it does not make it easy to use. In fact, its unlikely at this stage that i can even unlearn it. Ctrl C Ctrl V Ctrl A it's how i've always done things.

4th: Linux is prospering in great part because of converted Windows users, and treating them like idiots is very unLinux.

5th: I'd be more than willing to override ctrl+c and get rid of the close app shortcut alltogether, which since this isn't Windows anymore, can certainly be done.

6th: I used windows for 10 years. I program games and audio software. I am familiar with 6 programming languages. I'm not a noob by any definition of the word. I never used ctrl+c to kill an app because i was a windows user.

I was told that Linux was a joint effort and it was all about working together to improve the software. Though i'm not surprised to see mindless posting, it does make me sad.

If i have to, i'll hack the input controls and make this happen, even if i have to have a custom keyboard mapping script running all the time.

Pierre Chef wrote on the 21 Nov 09 at 14:44
The best way i know to paste commands in the shell is with the highlight then middle-click (it's not the same clipboard as Ctrl+C/V). This shortcut is so magic, it's the best feature of linux.

Ctrl+C does not close the window, it only sends a signal to the program running in the terminal. In normal programs it copies text. The same thing appears under MS-DOS.
Under Windows : launch cmd, type "ping google.com", press Enter, press Ctrl+C. Congratulations, it's the first time you killed an app under windows with ctrl+c.

In gnome-terminal i don't know how to select text with the keyboard. I always select with the mouse.

You don't need to hack the input controls, create a custom keyboard or recompile your kernel while dancing around the computer, just read the second line of the first comment.


Post your comment