On 15 Jan 2002, Michel Dänzer wrote: > On Tue, 2002-01-15 at 20:30, Lukas Geyer wrote: > > The debian keymaps for X are broken for german ibooks. However, there is a > > quick and dirty fix which I attach. I do not know if US keymaps break with > > this fix, > > You don't know??? Have you looked at your patch? ;) You remove Meta_L...
O.K., i did not really pay attention to that because i never use Meta anyway :) But I guess some people really need it, so it should be made configurable somehow. > How about this one: > > --- /etc/X11/xkb/symbols/macintosh/us.orig Tue Jan 15 20:38:04 2002 > +++ /etc/X11/xkb/symbols/macintosh/us Tue Jan 15 20:38:49 2002 > @@ -129,9 +129,9 @@ > key <RTSH> { [ Shift_R ] }; > key <LCTL> { [ Control_L ] }; > key <RCTL> { [ Control_R ] }; > - key <LALT> { [ Alt_L ] }; > + key <LALT> { [ Alt_L, Mode_switch ] }; > key <RALT> { [ Alt_R ] }; > - key <LWIN> { [ Meta_L ] }; > + key <LWIN> { [ Meta_L, Multi_key ] }; > key <WWIN> { [ Meta_R ] }; > // End "Modifier" section > > > This should put 'AltGr' on shift-alt/option and 'Compose' on > shift-command/apple (or vice versa, depending on your alt/meta > settings). O.K., at least all characters should be producable with this. However, I prefer having AltGr (or the equivalent) really on only one key because it is needed to produce {}[]|\~@ on german keyboards. So I would prefer something like key <LALT> { [ Alt_L, Meta_L ] }; key <LWIN> { [ Mode_switch, Multi_key ] }; I do not know how to turn this choice (Meta or AltGr on one or two keys resp.) into a configurable option via xkb, but in my opinion this would be the right solution. Lukas