Gentoo Archives: gentoo-user

From: "Markus Schönhaber" <gentoo-user@×××××××××××.de>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] OT - Changing accellerator keys in gnome-terminal
Date: Sun, 05 Nov 2006 15:44:49
Message-Id: 200611051640.15919.gentoo-user@schoenhaber.de
In Reply to: [gentoo-user] OT - Changing accellerator keys in gnome-terminal by Michael Sullivan
1 Michael Sullivan wrote:
2 > Is it possible to change the accellerator keys in gnome-terminal? I
3 > would like to change
4 >
5 > Copy from Cntrl+Shift+C to Cntrl+C
6 > Paste from Cntrl+Shift+P to Cntrl+P
7 >
8 > (like it is in just about every other gnome app). I was looking at the
9 > source code for gnome-terminal, at a file called terminal-accels.c and I
10 > see a function:
11 >
12 > static KeyEntry edit_entries[] =
13 > {
14 > { N_("Copy"),
15 > KEY_COPY, ACCEL_PATH_COPY, 0, 0, NULL, FALSE },
16 > { N_("Paste"),
17 > KEY_PASTE, ACCEL_PATH_PASTE, 0, 0, NULL, FALSE },
18 > };
19 [...]
20
21 Why don't you simply use "Keyboard Shortcuts..." from gnome-terminal's "Edit"
22 menu?
23
24 BTW: I wouldn't call it a good idea to map Ctrl-C to something in a terminal
25 emulator, since Ctrl-C is normally used to interrupt the running program in
26 the shell. I wouldn't want to sacrifice this ability.
27
28 Regards
29 mks
30 --
31 gentoo-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-user] OT - Changing accellerator keys in gnome-terminal Michael Sullivan <michael@××××××××××××.com>