Mac Keyboard mapping?
michel at tungstengraphics.com
Thu Mar 29 00:12:08 PDT 2007
On Wed, 2007-03-28 at 15:38 -0400, Michael Lorenz wrote:
> On Jan 21, 2007, at 15:42, Henrik Johansson wrote:
> > On Jan 19, 2007, at 9:02 AM, Michel Dänzer wrote:
> >> On Thu, 2007-01-18 at 23:18 +0100, Henrik Johansson wrote:
> >>> I have tried to get my MacAlly Icekey keyboard to work with Xorg but
> >>> without sucess. The keyboard works but the mapping is all wrong. I've
> >>> asked google several times but without any good answer. For example
> >>> the "§" and "<" keys have switched positions, regardless of if i use
> >>> pc105,pc104 or macintosh as XkbModel.
> >> With current xkeyboard-config, try XkbModel "macintosh" and XkbOption
> >> "apple:badmap".
> > Thanks for the tip, but that did not change the mapping :(
> It's a USB keyboard, isn't it?
Doesn't really matter, current Linux kernels generate compatible
keycodes for all types of keyboards.
> In that case I wouldn't bother with Apple keymaps, as far as I remember
> they're mostly historical and deal with ADB keyboards.
No, that would be "macintosh_old", for ADB keyboards with 2.2 kernels or
2.4 kernels without the 'new input layer'.
> I'd just find a PCish map that mostly matches the layout ( as
> in - claims to be the same language variant ) and correct the
> rest using xev/xmodmap.
The purpose of XkbModel "macintosh" is precisely to account for the
differences between Apple keyboards and standard PC keyboards.
Earthling Michel Dänzer | http://tungstengraphics.com
Libre software enthusiast | Debian, X and DRI developer
More information about the xorg