Ubuntu terminal: How to change ctrl + c (interrupt) to something else?

Tags:

Answer: 1

34 hours ago

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.

Added by: Dr. Jarret Hackett

Answer: 2

12 hours ago

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.

Added by: Riley Schuppe

Answer: 3

14 hours ago

sudo vi /usr/share/X11/xkb/symbols/ctrl

Change the section // Map Ctrl to the left Alt key, Alt to the left Win key, // and Super to the left Ctrl key.

whey it says "replace key " with

replace key <LCTL> { [ ISO_Level3_Shift ] };

On your shell configuration script write

stty intr 0xA2

Open Tweaks On Aditional Layout Options -> Ctrl , mark "Map Ctrl to the left Alt key, Alt to the left Win key, and Super to the left Ctrl key."

Then on gnome-terminal remap the copy and paste to ctrl c and ctrl v that shoyuld be "Ctrl C" "Ctrl V"

Then move physically your keys to make sense

Popular Search

A B C D E F G H I J K L M N O P Q R S T U V W X Y Z 1 2 3 4 5 6 7 8 9