I think I've got it now. 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. Please let me know if it does what *you* expect. I've attached two files. One is a new version of the file /etc/X11/xkb/symbols/macintosh/gb; the other is a diff between the stock version of that file in xlibs 4.3.0.dfsg.1-4 and my modified version. Please confirm that this (finally) works as you desire and as a U.K. Macintosh keyboard user would reasonably expect, and I will push Fabio to let me include this in -5. Thank you! -- G. Branden Robinson | Exercise your freedom of religion. Debian GNU/Linux | Set fire to a church of your branden@debian.org | choice. http://people.debian.org/~branden/ |
// $XConsortium: gb /main/3 1996/08/31 12:19:51 kaleb $
// $XFree86: xc/programs/xkbcomp/symbols/macintosh/gb,v 1.1 2000/09/19 12:46:25 eich Exp $
partial default alphanumeric_keys
xkb_symbols "basic" {
// Describe the differences between a U.S. Extended Macintosh keyboard
// and a U.K. Extended Macintosh keyboard.
name[Group1]="Great Britain";
key <TLDE> { [ section, plusminus ] };
key <AE02> { [],
[ EuroSign ] };
key <AE03> { [ 3, sterling ],
[ numbersign ] };
key <LSGT> { [ quoteleft, asciitilde ] };
include "group(switch)"
};
--- /etc/X11/xkb/symbols/macintosh/gb~ 2004-05-31 10:46:48.000000000 -0500
+++ /etc/X11/xkb/symbols/macintosh/gb 2004-05-31 11:06:13.000000000 -0500
@@ -1,19 +1,20 @@
// $XConsortium: gb /main/3 1996/08/31 12:19:51 kaleb $
// $XFree86: xc/programs/xkbcomp/symbols/macintosh/gb,v 1.1 2000/09/19 12:46:25 eich Exp $
-partial default alphanumeric_keys
-xkb_symbols "basic" {
- // Describes the differences between a very simple en_US
- // keyboard and a very simple U.K. keyboard layout
+partial default alphanumeric_keys
+xkb_symbols "basic" {
+ // Describe the differences between a U.S. Extended Macintosh keyboard
+ // and a U.K. Extended Macintosh keyboard.
- name[Group1]= "Great Britain";
+ name[Group1]="Great Britain";
- key <AE03> { [ 3, sterling ],
+ key <TLDE> { [ section, plusminus ] };
+ key <AE02> { [],
+ [ EuroSign ] };
+ key <AE03> { [ 3, sterling ],
[ numbersign ] };
+ key <LSGT> { [ quoteleft, asciitilde ] };
- // End alphanumeric section
-
+ include "group(switch)"
};
-
-
Attachment:
signature.asc
Description: Digital signature