On Thu, Jul 17, 2003 at 04:19:41PM +0200, Mark Brown wrote: > The British variant of the Macintosh keyboard layout on my Powerbook has > one fairly annoying problem: the keyboard has no # on it. The way Apple > solves this is to make meta-3 generate #. > > (I'm at debcamp if you want to examine this directly.)
I don't recall that we did, but... 1) Do you have an AltGr key? Does it work? 2) If so, please replace your /etc/X11/xkb/symbols/gb with the attached file and let me know if that works. 3) According to the 4.2.1 gb symbols file, you get a "numbersign" keysym by pressing the key that is located where the backslash key is on a U.S. keyboard (it's not an ISO-standardized key location, apparently, so XFree86 just calls it "<BKSL>".). Again according to the file, this key should also be engraved with a tilde, so SHIFT-# should get you ~. Is this correct? I haven't sorted my pictures from DebCamp/DebConf yet, so I don't know if I took a picture of a UK keyboard yet. -- G. Branden Robinson | Fair use is irrelevant and Debian GNU/Linux | improper. [EMAIL PROTECTED] | -- Asst. U.S. Attorney Scott http://people.debian.org/~branden/ | Frewing, explaining the DMCA
// $Xorg: gb,v 1.3 2000/08/17 19:54:43 cpqbld Exp $ // $XFree86: xc/programs/xkbcomp/symbols/gb,v 3.4 2001/01/17 23:45:58 dawes 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 defined by // the SVR4 European Language Supplement and sometimes also // known as the IBM 166 layout. name[Group1]= "Great Britain"; key <TLDE> { [ grave, notsign ], [ bar, bar ] }; key <LSGT> { [ backslash, bar ], [ bar, brokenbar ] }; key <AE02> { [ 2, quotedbl ] }; key <AE03> { [ 3, sterling ], [ numbersign, NoSymbol ] }; key <AE04> { [ 4, dollar ], [ EuroSign, NoSymbol ] }; key <AC11> { [ apostrophe, at ] }; key <BKSL> { [ numbersign, asciitilde ] }; // End alphanumeric section // begin modifier mappings modifier_map Shift { Shift_L }; modifier_map Lock { Caps_Lock }; modifier_map Control{ Control_L }; modifier_map Mod3 { Mode_switch }; }; partial alphanumeric_keys xkb_symbols "ibm168" { // Describes the differences between a very simple en_US // keyboard and a very simple U.K. keyboard // Based on the IBM 168 name[Group1]= "Great Britain"; key <TLDE> { [ backslash, bar ] }; key <LSGT> { [ brokenbar, horizconnector ] }; key <AE02> { [ 2, quotedbl ], [ twosuperior, twosuperior ] }; key <AE03> { [ 3, sterling ], [ threesuperior, threesuperior ] }; key <AE05> { [ 5, percent ], [ onehalf, onehalf ] }; key <AE07> { [ 7 ] }; key <AE08> { [ 8, parenleft ] }; key <AE09> { [ 9, parenright ], [ plusminus, plusminus ] }; key <AE10> { [ 0, numbersign ], [ degree, degree ] }; key <AE11> { [ minus, equal ] }; key <AE12> { [ notsign, underscore ] }; key <AD11> { [ at, grave ] }; key <AD12> { [ bracketleft, braceleft ], [ asciitilde, asciitilde ] }; key <AC10> { [ semicolon, plus ] }; key <AC11> { [ colon, periodcentered ], [ caret, caret ] }; key <AB07> { [ m, M ], [ mu, mu ] }; key <BKSL> { [ bracketright, braceright ] }; // End alphanumeric section // begin modifier mappings modifier_map Shift { Shift_L }; modifier_map Lock { Caps_Lock }; modifier_map Control{ Control_L }; modifier_map Mod3 { Mode_switch }; }; partial alphanumeric_keys xkb_symbols "Sundeadkeys" { include "gb(basic)" // for naming consistency }; partial alphanumeric_keys xkb_symbols "sundeadkeys" { include "gb(Sundeadkeys)" // for naming consistency }; partial alphanumeric_keys xkb_symbols "nodeadkeys" { include "gb(basic)" // for naming consistency };
pgppyUCXip8bP.pgp
Description: PGP signature