// based on a keyboard map from an 'xkb/symbols/gb' file 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. include "latin" name[Group1]="English (UK)"; key { [ 2, quotedbl, twosuperior, oneeighth ] }; key { [ 3, sterling, threesuperior, sterling ] }; key { [ 4, dollar, EuroSign, onequarter ] }; key { [apostrophe, at, dead_circumflex, dead_caron] }; key { [ grave, notsign, bar, bar ] }; key { [numbersign, asciitilde, dead_grave, dead_breve ] }; key { [ backslash, bar, bar, brokenbar ] }; include "level3(ralt_switch_multikey)" }; partial alphanumeric_keys xkb_symbols "intl" { // Describes the differences between a very simple en_US // keyboard and a very simple U.K. keyboard layout with // dead keys. By Phil Jones (philjones1@blueyonder.co.uk) // Includes the following keys: // dead_grave // dead_acute // dead_circumflex // dead_tilde // dead_diaeresis include "latin" name[Group1]="English (UK, international with dead keys)"; key { [ 2, dead_diaeresis, twosuperior, onehalf ] }; key { [ 3, sterling, threesuperior, onethird ] }; key { [ 4, dollar, EuroSign, onequarter ] }; key { [ 6, dead_circumflex, NoSymbol, onesixth ] }; key { [ dead_acute, at, apostrophe, bar ] }; key { [ dead_grave, notsign, bar, bar ] }; key { [ numbersign, dead_tilde, bar, bar ] }; key { [ backslash, bar, bar, bar ] }; include "level3(ralt_switch)" }; partial alphanumeric_keys xkb_symbols "extd" { // Clone of the Microsoft "English (UK, Extended" layout, which // includes dead keys for: grave; diaeresis; circumflex; tilde; and // accute. It also enables direct access to accute characters using // the Multi_key (Alt Gr). // // Taken from... // "Windows Keyboard Layouts" // http://msdn.microsoft.com/en-us/goglobal/bb964651.aspx // // -- Jonathan Miles include "latin" name[Group1]="English (UK, extended WinKeys)"; // Alphanumeric section key { [ dead_grave, notsign, brokenbar, NoSymbol ] }; key { [ 2, quotedbl, dead_diaeresis, onehalf ] }; key { [ 3, sterling, threesuperior, onethird ] }; key { [ 4, dollar, EuroSign, onequarter ] }; key { [ 6, asciicircum, dead_circumflex, NoSymbol ] }; key { [ w, W, wacute, Wacute ] }; key { [ e, E, eacute, Eacute ] }; key { [ y, Y, yacute, Yacute ] }; key { [ u, U, uacute, Uacute ] }; key { [ i, I, iacute, Iacute ] }; key { [ o, O, oacute, Oacute ] }; key { [ a, A, aacute, Aacute ] }; key { [ apostrophe, at, dead_acute, NoSymbol ] }; key { [ c, C, ccedilla, Ccedilla ] }; key { [ numbersign, asciitilde, dead_tilde, NoSymbol ] }; key { [ backslash, bar, NoSymbol, NoSymbol ] }; // End alphanumeric section include "level3(ralt_switch)" }; // Describe the differences between the US Colemak layout // and a UK variant. By Andy Buckley (andy@insectnation.org) partial alphanumeric_keys xkb_symbols "colemak" { include "us(colemak)" name[Group1]="English (UK, Colemak)"; key { [ 2, quotedbl, twosuperior, oneeighth ] }; key { [ 3, sterling, threesuperior, sterling ] }; key { [ 4, dollar, EuroSign, onequarter ] }; key { [apostrophe, at, dead_circumflex, dead_caron] }; key { [ grave, notsign, bar, bar ] }; key { [numbersign, asciitilde, dead_grave, dead_breve ] }; key { [ backslash, bar, bar, brokenbar ] }; include "level3(ralt_switch_multikey)" }; // Dvorak (UK) keymap (by odaen) allowing the usage of // the £ and ? key and swapping the @ and " keys. partial alphanumeric_keys xkb_symbols "dvorak" { include "us(dvorak-alt-intl)" name[Group1]="English (UK, Dvorak)"; key { [ apostrophe, at ] }; key { [ 2, quotedbl, twosuperior, NoSymbol ] }; key { [ 3, sterling, threesuperior, NoSymbol ] }; key { [ numbersign, asciitilde ] }; key { [ backslash, bar ] }; key { [ grave, notsign, bar, bar ] }; }; // Dvorak letter positions, but punctuation all in the normal UK positions. partial alphanumeric_keys xkb_symbols "dvorakukp" { include "gb(dvorak)" name[Group1]="English (UK, Dvorak with UK punctuation)"; key { [ minus, underscore ] }; key { [ equal, plus ] }; key { [ bracketleft, braceleft ] }; key { [ bracketright, braceright ] }; key { [ slash, question ] }; key { [apostrophe, at, dead_circumflex, dead_caron] }; }; // Copied from macintosh_vndr/gb partial alphanumeric_keys xkb_symbols "mac" { // Describes the differences between a very simple en_US // keyboard and a very simple U.K. keyboard layout include "latin" name[Group1]= "English (UK, Macintosh)"; key { [ 2, at, EuroSign ] }; key { [ 3, sterling, numbersign ] }; key { [ grave, asciitilde ] }; // End alphanumeric section include "level3(ralt_switch)" include "level3(enter_switch)" }; partial alphanumeric_keys xkb_symbols "mac_intl" { include "latin" name[Group1]="English (UK, Macintosh international)"; key { [ 2, at, EuroSign, onehalf ] }; key { [ 3, sterling, twosuperior, onethird ] }; key { [ 4, dollar, threesuperior, onequarter ] }; key { [ 6, dead_circumflex, NoSymbol, onesixth ] }; key { [ o, O, oe, OE ] }; key { [ dead_acute, dead_diaeresis, dead_diaeresis, bar ] }; //dead_doubleacute key { [ section, plusminus, notsign, notsign ] }; //dead_grave key { [ backslash, bar, numbersign, bar ] }; key { [ dead_grave, dead_tilde, brokenbar, bar ] }; include "level3(ralt_switch)" };