How to change shortkey for terminal to kill process [duplicate]
I'm using Ubuntu 14.04 LTS with Unity right now. I've changed my copy and paste keys to Ctrl + C and Ctrl + V respectively.
The command I've used is this:
gconftool-2 -t str -s /apps/gnome-terminal/keybindings/copy "<Control>c"
Now I'm looking for a way to change the interrupt / kill process key from Ctrl + C to (for example) Ctrl + I. The problem is that I can't find the appropriate keybinding name for it.
Any help would be appreciated.
The key combo was changed to Ctrl + Alt + C by default.
Also Alt + F4 is will kill the foreground task (same as clicking the cross).
To change the interrupt key to ctrl + I
stty intr ^i
Just change the "i" to any other letter you want and to see all terminal shortcuts you can run
stty -a
There is a very good answer explaining this here, ignore the title and read the first answer.