hello... * Branden Robinson <[EMAIL PROTECTED]> [2004-06-02 09:02 +0200]: > On Tue, Jun 01, 2004 at 06:01:54PM +0200, Sebastian Henschel wrote: > > * Branden Robinson <[EMAIL PROTECTED]> [2004-05-31 19:13 +0200]: > > > All you'll need is this for configuration. > > > > > > XkbRules xfree86 > > > XkbModel macintosh > > > XkbLayout gb > > > > > > I realized that U.K. Macintosh people are already going to need a way to > > > type the EuroSign as engraved, so people are going to have to learn > > > about a "Mode Switch" or "AltGr" key no matter what. > > > > > > So I went ahead and treated the number sign as a simple unengraved > > > alternate group keycap, which is probably what everybody wanted in the > > > first place. > > > > > > I've tested this on my own keyboard and it seems to do what I expect. > > > > the question is, which should be the key to "mode switch" / "altgr" in > > your configuration? the apple (lwin) key? > > Well, that's the downside to this solution. You have to know by > convention or by reading XKB configuration, as Macintosh keyboards are > not engraved with any such keycap.
so you do not know either? playing around, i found out that fn+alt seems
to be RALT. note that it is important to hit fn first.
though i personally do not like it that much this way. this might not be
part of your responsibilities, but the default configuration of the
keyboard is to use alt+fn to use the F-keys, where it is important to hit
alt first. this is a tad irritating.
anyway, your british keymap works when you know which RALT is. thank you
very much. :)
> $ cat /etc/X11/xkb/symbols/group
>
> // $Xorg: group,v 1.3 2000/08/17 19:54:43 cpqbld Exp $
> // using the group(switch) map, the right alt key temporarily chooses
> // the second keyboard group (until it is released).
> //
> // $XFree86: xc/programs/xkbcomp/symbols/group,v 3.8 2003/01/20 03:48:39
> dawes Exp $
> partial modifier_keys
> xkb_symbols "switch" {
> key <RALT> {
> symbols[Group1]= [ Mode_switch, Multi_key ],
> virtualMods= AltGr
> };
> };
> [...]
>
> So it's the right Alt key by default.
>
> > actually, i cannot find the file "switch" in my current installation.
> > well, i do not know if such a file _should_ exist, anyway. :) so i
> > have to map LWIN to do Mode_switch (and Multi_key when shifted)) in
> > the file "gb" directly to make it work. which package should "switch"
> > be in? i am currently with many xfree packages from testing (dfsg.1-1)
> > and the following from unstable (dfsg.1-4): x-window-system,
> > x-window-system-core, xbase-clients, xfree86-common, xlibs,
> > xlibs-data, xterm, xutils.
>
> You're looking for a file called "group", with a section "switch", as
> pasted above.
okay, found it.
bye,
sebastian
--
::: .O.
::: ..O
::: OOO
::: lynx -source http://www.kodeaffe.de/shensche.pub | gpg --import
signature.asc
Description: Digital signature

