[geeks] Linux keyboard remapping

Bill Bradford mrbill at mrbill.net
Mon Oct 25 14:59:49 CDT 2004


On Mon, Oct 25, 2004 at 01:16:59PM -0400, Phil Stracchino wrote:
> Since I virtually never use the console, I skip the loadkeys these days 
> and do this in .Xmodmap:
<snip>
> which makes the windows keys and the menu key all do useful things.
> (The above keycodes are for an MS Natural Keyboard Pro.  Find the
> correct scan codes for your keyboard with xev.)

That's exactly what I needed.  All I had to do was this:

keycode 115 = Alt_L Meta_L
keycode 116 = Alt_R Meta_R

Turns the "Apple" keys on a MacAlly iKey keyboard (Mac) hooked to a PC
into additional ALT keys.

Thanks.

Bill

-- 
bill bradford
austin texas



More information about the geeks mailing list