From owner-freebsd-x11@FreeBSD.ORG Mon Aug 4 13:11:55 2008 Return-Path: Delivered-To: freebsd-x11@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 83E4A1065679 for ; Mon, 4 Aug 2008 13:11:55 +0000 (UTC) (envelope-from avg@icyb.net.ua) Received: from falcon.cybervisiontech.com (falcon.cybervisiontech.com [217.20.163.9]) by mx1.freebsd.org (Postfix) with ESMTP id 3CE578FC08 for ; Mon, 4 Aug 2008 13:11:55 +0000 (UTC) (envelope-from avg@icyb.net.ua) Received: from localhost (localhost [127.0.0.1]) by falcon.cybervisiontech.com (Postfix) with ESMTP id E56F374416D; Mon, 4 Aug 2008 15:40:22 +0300 (EEST) X-Virus-Scanned: Debian amavisd-new at falcon.cybervisiontech.com Received: from falcon.cybervisiontech.com ([127.0.0.1]) by localhost (falcon.cybervisiontech.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id MQWir-bVF-NN; Mon, 4 Aug 2008 15:40:22 +0300 (EEST) Received: from [10.2.1.87] (unknown [91.198.50.114]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by falcon.cybervisiontech.com (Postfix) with ESMTP id 8229E744159; Mon, 4 Aug 2008 15:40:22 +0300 (EEST) Message-ID: <4896F8AE.6020302@icyb.net.ua> Date: Mon, 04 Aug 2008 15:40:14 +0300 From: Andriy Gapon User-Agent: Thunderbird 2.0.0.14 (X11/20080611) MIME-Version: 1.0 To: Jeremie Le Hen References: <20080719224711.GM39074@obiwan.tataz.chchile.org> In-Reply-To: <20080719224711.GM39074@obiwan.tataz.chchile.org> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-x11@FreeBSD.org Subject: Re: Mapping Control-Delete to BackSpace X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Aug 2008 13:11:55 -0000 on 20/07/2008 01:47 Jeremie Le Hen said the following: > Hi there! > > Please Cc: me when replying. > > The backspace key on my laptop is dead. I'd like to map Control-Delete > to BackSpace using xmodmap(1). It's straightforward to do for > Shift-Delete, but I can't figure out how to do so for Control-Delete. > > Any help would be welcome. Not sure about xmodmap but you can modify your /usr/local/share/X11/xkb/symbols/pc to have the following definition for Delete key: key { type="PC_CONTROL_LEVEL2", [ Delete, BackSpace ] }; You can do more research on XKB configuration and how to do the above in non-intrusive way. The key thing here is you need to change type of Delete key to control-modifiable. -- Andriy Gapon