[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#363525: xserver-xorg-input-kbd: macintosh XkbModel is broken



Denis Barbier <barbier@linuxfr.org> writes:

>> 	Option		"XkbModel"	"macintosh"
>> 
>> results in a non-functional setup.  The alphabet keys do not work, and
>> some of the symbol keys do not work.  However, all the numeric, and most
>> of the symbol keys do work.  This did not happen with the older version
>> of Xorg.
>
> You are right, your bug report has been forwarded upstream.
> Can you please tell whether the attached patch fixes it?
>
> --- /usr/share/X11/xkb/rules/xorg.orig	2006-04-19 23:45:27.000000000 +0200
> +++ /usr/share/X11/xkb/rules/xorg	2006-04-19 23:47:04.000000000 +0200
> @@ -349,7 +349,7 @@
>    old_macintosh	$nonlatin		=	macintosh_vndr/us(extended)+%l%(v):2
>    old_macintosh	*			=	macintosh_vndr/us(extended)+%l%(v)
>   $mac		en_US			=	pc(pc105)+macintosh_vndr/us(extended)
> - $mac		$macvendorlayouts	=	pc(pc105)+macintosh_vndr/%l%(v)
> + $mac		$macvendorlayouts	=	pc(pc105)+macintosh/us(extended)+macintosh_vndr/%l%(v)
>   $pcmodels      intl   			=       us(%mcompose)
>    *		intl			=	us(pc104compose)
>    *		jp			=	pc(pc102)+jp(latin)+jp:2

Yes.  This makes the alphanumeric keys work OK.

However, some of the symbol keys are still incorrect.

On the top-left, below ESC, just to the left of the ‘1’ key, the key
is engraved with ‘§’ and ‘±’, but produces ‘`’ and ‘~’.  Just
left of ‘Z’, the key is engraved with ‘`’ and ‘~’, but produces 
‘<’ and ‘>’.

Also, the keyboard does not produce a ‘#’when pressing Right-Alt+3,
but AFAICT this isn't a new regression.  This would match the
behaviour under OS X (but I'm not sure this is necessarily best fixed
in the same way).


I also tested the "power_g5" option.  This also restores the alphabet
keys, but several of the symbol keys are incorrect.  The system I'm
using is a G4 Apple Mac Mini system with an Apple USB keyboard (UK
layout).


Regards,
Roger

- 
Roger Leigh
                Printing on GNU/Linux?  http://gutenprint.sourceforge.net/
                Debian GNU/Linux        http://www.debian.org/
                GPG Public Key: 0x25BFB848.  Please sign and encrypt your mail.

Attachment: pgpg9mkzTpRYo.pgp
Description: PGP signature


Reply to: