0

On my Ubuntu machine, in order to copy/paste from the terminal I need to use Ctrl+Shift+C and Ctrl+Shift+P, which makes sense, because Ctrl+C would issue a SIGINT.

Is there a way on my Ubuntu machine to make it so Ctrl+C is always copy and never a SIGINT? and to issue a SIGINT it would be a different key combo, like "superkey + C"?

The goal would be achieved if all terminal applications on Ubuntu would recognize Ctrl+C as only a copy command, and superkey+C as they only way to issue a SIGINT.

Josh Correia
  • 236
  • 2
  • 8
Alexander Mills
  • 9,330
  • 19
  • 95
  • 180

1 Answers1

3

This should be part of your terminal. You can just map copy to Ctrl+C though in doing so you will likely lose the ability to insert ^C with a shortcut.

Since keybinding are associated with individual applications I doubt you will find a solution that will cover everything system wide. I believe you would need to change it in the setting of all programs.

Josh Correia
  • 236
  • 2
  • 8
user1794469
  • 3,909
  • 1
  • 23
  • 42