10

How can I define a global shortcuts for copy, cut and paste?

I'm used to Mac's +C for copy and +V for paste. They are global, so I can use them interchanging data between CLI and GUI apps.

How can one configure global shortcuts, e.g ⊞ Win+C (copy) and ⊞ Win+V (paste) in Ubuntu 12.04?

Adam Matan
  • 12,289
  • 24
  • 71
  • 90
  • Have you tried the same in Ubuntu? – Mitch Jun 08 '13 at 11:31
  • Yes. `⊞ Win+C` pops the "search photos" screen. – Adam Matan Jun 08 '13 at 11:35
  • Try `⌘+C` in Ubuntu – Mitch Jun 08 '13 at 11:37
  • I don't have a `⌘` key - it's a windows laptop keyboard with a `⊞` key. – Adam Matan Jun 08 '13 at 11:55
  • Take a look at my answer [Here](http://askubuntu.com/questions/254424/how-can-i-change-what-keys-on-my-keyboard-do-how-can-i-create-custom-keyboard/300203?noredirect=1#comment383753_300203), and see if it helps. – Mitch Jun 08 '13 at 12:15
  • @Mitch thanks, but I don't see how your answer allows me to create global copy and paste shortcut that would work for the terminal, too. – Adam Matan Jun 08 '13 at 12:24
  • Is the standard configuration really that bad? Ctrl-C generally and Ctrl-Shift-C in terminal? (same with V for paste). – Anake Jun 08 '13 at 14:11
  • @Anake Yes it's really bad when half of time you are using Mac Os :) Anyway, meta key on Linux pretty useless button so why not to remap for this actions and use it anywhere. Also want to remap change_input_language to Meta+Space, but it also looks impossible. – Sonique May 13 '15 at 19:05

1 Answers1

3

These are global shortcuts that work out of the box (tested with Debian 8.2) in terminals and GUI applications:

  • copy: Ctrl+Insert
  • paste: Shift+Insert
  • cut: Shift+Delete

I didn't test it but to change these shortcuts you could try: Use Shift+Insert to paste from clipboard in gnome-terminal?

Cani
  • 153
  • 6