[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: How to remap ~ key?



Hi Gong Jie

Thanks very much for your mail.

On 09/11/05, GONG Jie (neo@mamiyami.com) wrote:
> On Tuesday 08 November 2005 03:44, Rory Campbell-Lange wrote:
> > I am using a 1.5GHz 15 inch PowerBook.
> >
> > The ~ key on my keyboard has moved down to where apple puts it! I'd like
> > to swap input on the +/- key under escape to ~/` and vice versa -- or
> > even to use both as ~/`. The keycodes for the target key is
> >     '0x56 0xd6'
> > and the code for the existing ~/` key is
> >     0x29 0xa9
> 
> Have a look at /etc/console/boottime.kmap.gz for console.

Great! How can I work out what the keycode is for this key? Sorry for
the newbie question.

> And for X, you may create your own keyboard layout and change "XkbLayout" 
> option in your XF86Config-4.

At the moment my XkbLayout is set to "us". How can I define a new one?

Many thanks
Rory

-- 
Rory Campbell-Lange 
<rory@campbell-lange.net>
<www.campbell-lange.net>



Reply to: