public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Markus Schönhaber" <gentoo-user@schoenhaber.de>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] OT -  Changing accellerator keys in gnome-terminal
Date: Sun, 5 Nov 2006 16:40:15 +0100	[thread overview]
Message-ID: <200611051640.15919.gentoo-user@schoenhaber.de> (raw)
In-Reply-To: <1162739639.13171.15.camel@camille.espersunited.com>

Michael Sullivan wrote:
> Is it possible to change the accellerator keys in gnome-terminal?  I
> would like to change
>
> Copy from Cntrl+Shift+C to Cntrl+C
> Paste from Cntrl+Shift+P to Cntrl+P
>
> (like it is in just about every other gnome app).  I was looking at the
> source code for gnome-terminal, at a file called terminal-accels.c and I
> see a function:
>
> static KeyEntry edit_entries[] =
> {
>   { N_("Copy"),
>     KEY_COPY, ACCEL_PATH_COPY, 0, 0, NULL, FALSE },
>   { N_("Paste"),
>     KEY_PASTE, ACCEL_PATH_PASTE, 0, 0, NULL, FALSE },
> };
[...]

Why don't you simply use "Keyboard Shortcuts..." from gnome-terminal's "Edit" 
menu?

BTW: I wouldn't call it a good idea to map Ctrl-C to something in a terminal 
emulator, since Ctrl-C is normally used to interrupt the running program in 
the shell. I wouldn't want to sacrifice this ability.

Regards
  mks
-- 
gentoo-user@gentoo.org mailing list



  reply	other threads:[~2006-11-05 15:44 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-11-05 15:13 [gentoo-user] OT - Changing accellerator keys in gnome-terminal Michael Sullivan
2006-11-05 15:40 ` Markus Schönhaber [this message]
2006-11-05 15:48   ` Michael Sullivan
2006-11-05 16:08     ` Markus Schönhaber

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200611051640.15919.gentoo-user@schoenhaber.de \
    --to=gentoo-user@schoenhaber.de \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox