swiss german keyboard config needed
I am looking for an ALT- and CTRL- configuration on a Swiss German qwertz keyboard (PowerBook G3 Lombard).
I tried the sample .Xmodmap from
http://lists.debian.org/debian-powerpc/2003/debian-powerpc-200308/msg00182.html (see quoted below).
However I am looking for an .Xmodmap that behaves like on a standard Macintosh keyboard, i.e. @ = ALT + g, # = ALT + 3, | = ALT + 7, etc.
Any help would be highly appreciated.
Thanks a lot for your fast answer!!
On Fri, 2003-08-08 at 14:43, Markus Frauenfelder wrote:
> Andreas Wüst hat mal (am Fri, Aug 08, 2003 at 02:22:37PM +0200) gesagt:
> > I would be very thankful if someone could post his XF86Config-4
> > regarding swiss german keyboards, and hint about other modifications.
> I guess you are looking for this:
> Option "XkbRules" "xfree86"
> Option "XkbModel" "macintosh"
> Option "XkbLayout" "de_CH"
> Option "XkbVariant" "nodeadkeys"
Yep, except the nodeadkeys, that's what I've already got.
> and my .Xmodmap
> ! keycode and keysym remapping should generally be used only if the X
> ! server does not use the XKEYBOARD extension (i.e., there is a uncommented
> ! line "XkbDisable" in the keyboard section of /etc/X11/XF86Config)
> ! Note that keyboard keycodes are determined by the internal electronics of
> ! keyboard, not the host architecture. For instance, PC keyboards are
> ! commonly found on machines other than Intel 80x86-compatibles.
> keycode 10 = 1 plus bar onesuperior
> keycode 11 = 2 quotedbl at twosuperior
> keycode 12 = 3 asterisk numbersign threesuperior
> keycode 13 = 4 dollar EuroSign onequarter
> keycode 14 = 5 percent onehalf cent
> keycode 15 = 6 ampersand yen fiveeighths
> keycode 16 = 7 slash bar division
> keycode 17 = 8 parenleft braceleft guillemotleft
> keycode 18 = 9 parenright braceright guillemotright
> keycode 19 = 0 equal braceright degree
> keycode 94 = less greater backslash
> keycode 21 = dead_circumflex quoteleft dead_tilde
> keycode 34 = udiaeresis egrave bracketleft
> keycode 47 = odiaeresis eacute
> keycode 48 = adiaeresis agrave
> keycode 49 = section degree
> keycode 35 = dead_diaeresis exclam bracketright
> keycode 37 = Control_L
> keycode 64 = Meta_L
> !keycode 66 = Caps_Lock
> ! There is no Delete key on Apple keyboard, some X apps need it
> keycode 22 = BackSpace Terminate_Server Delete
> ! Soft-LineBreak key -> Compose
> keycode 108 = Multi_key
> ! Apple key -> AltGR
> keycode 115 = Mode_switch
The Mode_switch did the trick. Is there any special reason you are
mapping it to the apple key and not alt?
> good lock with these two.
Thanks a lot. But, uhhm, what was the debian way to call xmodmap? I
don't want to fsck around with the global Xsession file in /etc/X11..