From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1GgkAy-000720-Hx for garchives@archives.gentoo.org; Sun, 05 Nov 2006 15:44:49 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.8/8.13.8) with SMTP id kA5FgY7w007361; Sun, 5 Nov 2006 15:42:34 GMT Received: from mail.schoenhaber.de (mail.schoenhaber.de [217.140.77.184]) by robin.gentoo.org (8.13.8/8.13.8) with ESMTP id kA5FeNp5000081 for ; Sun, 5 Nov 2006 15:40:23 GMT Received: from localhost (unknown [127.0.0.1]) by mail.schoenhaber.de (Postfix) with ESMTP id 6F75F705DDE8 for ; Sun, 5 Nov 2006 15:40:23 +0000 (UTC) X-Virus-Scanned: amavisd-new at schoenhaber.de Received: from mail.schoenhaber.de ([127.0.0.1]) by localhost (mail.schoenhaber.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ozJagRZnoHOt for ; Sun, 5 Nov 2006 16:40:16 +0100 (CET) Received: from Gimli.schoenhaber.de (Gimli [192.168.42.6]) by mail.schoenhaber.de (Postfix) with ESMTP id C0F3E705AB7A for ; Sun, 5 Nov 2006 16:40:16 +0100 (CET) From: Markus =?iso-8859-15?q?Sch=F6nhaber?= 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 User-Agent: KMail/1.9.5 References: <1162739639.13171.15.camel@camille.espersunited.com> In-Reply-To: <1162739639.13171.15.camel@camille.espersunited.com> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200611051640.15919.gentoo-user@schoenhaber.de> X-Archives-Salt: 164dd76c-bfc6-42a8-b333-dc05246f7b17 X-Archives-Hash: 090e9256042da6dc75dd68637be876eb 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