Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

Can I configure it to allow:

  • select right-click to copy
  • right-click or ctrl-v to paste?
share|improve this question
1  
Do you mean right click to copy and right click to paste? Or right click to paste is preference #2 if right click to copy is not possible? –  Mikel Apr 6 '11 at 8:12
add comment

3 Answers

You can make Ctrl+V paste by changing the settings in the Edit->Keyboard Shortcuts menu.

But you might not want to do it, because Ctrl+V is normally used by your shell as a way of typing characters literally. For example, Tab normally makes the shell try to tab-complete a file name. If you need to actually type a tab, Ctrl+V Tab lets you do that.

You can tell bash to use something else. See bash Commands for Changing Text for some details. Ctrl+Q or \ might work too. Or it might just close your terminal. :-)

I don't think the other things are possible.

As an alternative, you might like to try Ctrl+Ins for copy and Shift+Ins for paste.

By default, Shift+Ins pastes whatever you select with your mouse, even if you don't copy it.

I change it to do normal clipboard copy via Edit->Keyboard Shortcuts.

Ctrl+Ins and Shift+Ins actually work in most appplications, but I don't think many people know about it.

share|improve this answer
    
I doubt I'll actually need to type a literal TAB, certainly not in the frequency in which I need to paste text. –  ripper234 Apr 6 '11 at 8:30
    
Shift+Del is cut, too, but that doesn't apply to Gnome Terminal. –  Mikel Apr 6 '11 at 12:46
1  
These shortcuts come from the IBM CUA standards. –  Mikel Apr 6 '11 at 12:47
add comment

The defaults in Gnome Terminal are Ctrl+Shift+c for copy and Ctrl+Shift+v for paste. I don't think you can do right click Copy and Paste because Gnome Terminal uses right click to open the context menu. And as Mikel said, Ctrl+v is interpreted differently by the shell.

share|improve this answer
add comment

mikel's got the best advice. Quite a few terminal emulators (of the *xvt variety, particularly) often don't have the luxury of the right-click menu for pasting, and some of them read from more than one configuration file (.Xdefaults, .xinitrc, etc) for the user's preferred "settings." As a result, folks have to use the keyboard a lot more often than they would in, say, GNOME Editor or jedit. So one gets used to using Shift-Insert for paste, and when they find out it doesn't work, and messes up the execution of a script in the process, it can be frustrating.

I'm happy to discover GNOME Terminal has configurable keyboard shortcuts now. I've been using one flavor or another of Ubuntu since 2009, but the last time I took any notice of it, this was something only Konsole had. You bet I made "Shift-Insert" my paste shortcut as soon as I read mikel's post to this thread.

BZT

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.