Score:1

Natural copy pasting in gnome terminal

cn flag

I was using an Elementary Terminal for a long time and there was a possibility to copy and paste by ctrl+c/ctrl+v and also terminate a process. Is there some way to configure the Gnome Terminal like this?

cn flag
I havenlt used the elementary terminal, but how is the terminal supposed to know when you intend to paste and when you intend to interrupt? The non-configuration answer is to train yourself to use `shift+ctrl+c` and `shift+ctrl+v`
cn flag
I see this caveat in the [elementary terminal source code](https://github.com/elementary/terminal/blob/master/src/MainWindow.vala#L433): "Shortcuts don’t require Shift; may interfere with CLI apps"
us flag
How does one terminate a process in Elementary’s terminal ?
Sevy avatar
cn flag
@PJSingh the same way as copying - ctrl+c
us flag
@vanadium's answer is correct: if you assign ctrl+c for copying, then you wont be able to use ctrl-c for terminating processes in the terminal.
Rabbit avatar
my flag
I hope this is helpful for you or for posterity, the answers to this question give people a full range of options for copying and pasting in the terminal: https://askubuntu.com/questions/546669/copy-and-paste-doesnt-work-in-terminal
Elio Campitelli avatar
ma flag
This is an old thread but I'd like to add that pantheon terminal uses ctrl+c to copy only if there's text selected. Otherwise it's used for interrupt.
Score:1
cn flag

There is no way to use the same keybinding for both copying and terminating a process. The system would have no way to know what you want to achieve with the keypress.

You can assign "Edit - Copy" to Ctrl+c, but then you will need to change the corresponding terminal shortcut to something else.

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.