Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 04 Aug 2008 15:40:14 +0300
From:      Andriy Gapon <avg@icyb.net.ua>
To:        Jeremie Le Hen <jeremie@le-hen.org>
Cc:        freebsd-x11@FreeBSD.org
Subject:   Re: Mapping Control-Delete to BackSpace
Message-ID:  <4896F8AE.6020302@icyb.net.ua>
In-Reply-To: <20080719224711.GM39074@obiwan.tataz.chchile.org>
References:  <20080719224711.GM39074@obiwan.tataz.chchile.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <DELE>  { 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4896F8AE.6020302>