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

Bug#255011: xlibs: mapping for macintosh/ca



retitle 255011 xlibs: support for ca layout on macintosh model wanted
tag 255011 - sid # don't woody and sarge have this problem too?
tag 255011 + upstream
thanks

On Fri, Jun 18, 2004 at 10:28:03AM +0000, simon raven wrote:
> Package: xlibs
> Version: 4.3.0.dfsg.1-5
> Severity: wishlist
> Tags: sid
> 
> hi,
> 
> i've copied the symbols file from one dir up (/etc/X11/xkb/symbols) to
> the macintosh/ dir (/etc/X11/xkb/symbols/macintosh). this works fine for
> my keyboard, which is one of those old ADB "apple design" keyboards,
> with a CSA layout,

What's a CSA layout?  If you could take a clear digital photograph of this
keyboard, that would be really helpful.

> except that one of the command keys is mapped to Meta_L, when i have two
> on this keyboard, which could be mapped to Meta_L and Meta_R, but aren't. 

That's caused by a typo in /etc/X11/xkb/symbols/macintosh/us.

I've attached a patch for that particular problem; this fix will be in -6.

> i use xmodmap (*sigh*) to get the proper accent mappings (not perfect,
> but works), etc. all except that damned right command key acts as a left
> command key.
> 
> i believe this is a simple thing to fix, as it's one key, but xkb is
> strange to me, and have tried on several occasions to figure it out, but
> haven't been able to do so. 
> 
> i'm willing to provide the physical layout of the keys if need be
> (posted via text or image medium at a fetchable URL).

Yes, please do.

I'm pretty sure can help you come up with a good symbols/macintosh/ca file.

(In the future, please be careful about robotically applying the "sid" tag
to bugs you report.  I know reportbug often deceives people into doing
this.)

-- 
G. Branden Robinson                |        Beware of and eschew pompous
Debian GNU/Linux                   |        prolixity.
branden@debian.org                 |        -- Charles A. Beardsley
http://people.debian.org/~branden/ |
$Id: 093_xkb_fix_macintosh_problems.diff 1589 2004-06-28 06:08:54Z branden $

Fix miscellaneous Macintosh XKB data problems:
* The keypad equal key (<KPEQ>) should map to the "KP_Equal" keysym, not
  "equal".
* Fix typo that kept the right Alt key from working.

This patch by Branden Robinson.

Not submitted to XFree86.

--- xc/programs/xkbcomp/symbols/macintosh/us~	2004-06-28 00:55:39.000000000 -0500
+++ xc/programs/xkbcomp/symbols/macintosh/us	2004-06-28 00:55:53.000000000 -0500
@@ -101,7 +101,7 @@
 
     // Begin "Keypad" section
     key <NMLK> {	[  Num_Lock,	Pointer_EnableKeys	]	};
-    key <KPEQ> {	[  equal				]	};
+    key <KPEQ> {	[  KP_Equal				]	};
     key <KPDV> {	[  KP_Divide				]	};
     key <KPMU> {	[  KP_Multiply				]	};
 
@@ -132,7 +132,7 @@
     key <LALT> {	[  Alt_L	]	};
     key <RALT> {	[  Alt_R	]	};
     key <LWIN> {	[  Meta_L	]	};
-    key <WWIN> {	[  Meta_R	]	};
+    key <RWIN> {	[  Meta_R	]	};
     // End "Modifier" section
 
     // begin modifier mappings

Attachment: signature.asc
Description: Digital signature


Reply to: