Xkb: xkbcomp compatible file
parent
f1de6e29e1
commit
d450498ecc
|
@ -1,20 +1,17 @@
|
|||
//------------------------------------------------------------------------------
|
||||
// XKB Custom us keyboard
|
||||
// XKB us improved
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
// Description: This keyboard layout is based on Xorg's "us intl". We set Caps
|
||||
// Lock to act as Left Control.
|
||||
|
||||
// Installation: copy this file to '/usr/{local/,}share/X11/xkb/symbols'. You
|
||||
//
|
||||
// Description: This keyboard layout is based on Xorg's "us" and inspired by
|
||||
// "us(intl)". We switch Caps Lock and Left Control.
|
||||
//
|
||||
// User setup: run `xkbcomp $thisfile $DISPLAY`.
|
||||
//
|
||||
// System setup: copy this file to '/usr/{local/,}share/X11/xkb/symbols'. You
|
||||
// can use it by selecting the "usex" layout from Xorg configuration file, or by
|
||||
// using the following command:
|
||||
// $ setxkbmap usex
|
||||
//
|
||||
// It is also possible to generate an xmodmap-compatible keymap with
|
||||
// $ xmodmap -pke >> ~/.xmodmap_usex
|
||||
|
||||
|
||||
|
||||
// ┌─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┲━━━━━━━━━┓
|
||||
// │ ~ ~ │ ! ¡ │ @ ˝ │ # ¯ │ $ ¤ │ % ¢ │ ^ ^ │ & ¼ │ * ˛ │ ( ˘ │ ) ÷ │ _ × │ + ± ┃ ⌫ Back ┃
|
||||
// │ ` ` │ 1 ¹ │ 2 ² │ 3 ³ │ 4 £ │ 5 € │ 6 ¥ │ 7 ½ │ 8 ¾ │ 9 ‘ │ 0 ’ │ - ⋅ │ = ≠ ┃ space ┃
|
||||
|
@ -32,68 +29,76 @@
|
|||
// ┃Lock ⇬ ┃Meta ┃Alt ┃ ␣ Space ␣ ┃AltGr ⇮┃Menu ┃Ctrl ┃
|
||||
// ┗━━━━━━━┻━━━━━━━┻━━━━━━━┹───────────────────────────────────┺━━━━━━━┻━━━━━━━┻━━━━━━━┛
|
||||
|
||||
partial alphanumeric_keys
|
||||
xkb_symbols "basic" {
|
||||
xkb_keymap {
|
||||
|
||||
name[Group1]= "English international with dead keys extended";
|
||||
xkb_keycodes { include "evdev+aliases(qwerty)" };
|
||||
xkb_types { include "complete" };
|
||||
xkb_compat { include "complete" };
|
||||
|
||||
// Alphanumeric section
|
||||
key <TLDE> { [ grave, asciitilde, dead_grave, dead_tilde ] };
|
||||
key <AE01> { [ 1, exclam, onesuperior, exclamdown ] };
|
||||
key <AE02> { [ 2, at, twosuperior, dead_doubleacute ] };
|
||||
key <AE03> { [ 3, numbersign, threesuperior, dead_macron ] };
|
||||
key <AE04> { [ 4, dollar, sterling, currency ] };
|
||||
key <AE05> { [ 5, percent, EuroSign, cent ] };
|
||||
key <AE06> { [ 6, asciicircum, yen, dead_circumflex ] };
|
||||
key <AE07> { [ 7, ampersand, onehalf, onequarter ] };
|
||||
key <AE08> { [ 8, asterisk, threequarters, dead_ogonek ] };
|
||||
key <AE09> { [ 9, parenleft, leftsinglequotemark, dead_breve ] };
|
||||
key <AE10> { [ 0, parenright, rightsinglequotemark, division ] };
|
||||
key <AE11> { [ minus, underscore, 0x10022C5, multiply ] };
|
||||
key <AE12> { [ equal, plus, notequal, plusminus ] };
|
||||
partial alphanumeric_keys xkb_symbols "usim" {
|
||||
|
||||
key <AD01> { [ q, Q, agrave, Agrave ] };
|
||||
key <AD02> { [ w, W, egrave, Egrave ] };
|
||||
key <AD03> { [ e, E, eacute, Eacute ] };
|
||||
key <AD04> { [ r, R, registered, registered ] };
|
||||
key <AD05> { [ t, T, copyright, trademark ] };
|
||||
key <AD06> { [ y, Y, ugrave, Ugrave ] };
|
||||
key <AD07> { [ u, U, uacute, Uacute ] };
|
||||
key <AD08> { [ i, I, iacute, Iacute ] };
|
||||
key <AD09> { [ o, O, oacute, Oacute ] };
|
||||
key <AD10> { [ p, P, aring, Aring ] };
|
||||
key <AD11> { [ bracketleft, braceleft, guillemotleft, leftdoublequotemark ] };
|
||||
key <AD12> { [ bracketright, braceright, guillemotright, rightdoublequotemark ] };
|
||||
include "pc"
|
||||
name[Group1]= "English international with dead keys extended";
|
||||
|
||||
key <AC01> { [ a, A, aacute, Aacute ] };
|
||||
key <AC02> { [ s, S, ssharp, section ] };
|
||||
key <AC03> { [ d, D, acircumflex, Acircumflex ] };
|
||||
key <AC04> { [ f, F, ecircumflex, Ecircumflex ] };
|
||||
key <AC05> { [ g, G, icircumflex, Icircumflex ] };
|
||||
key <AC06> { [ h, H, ocircumflex, Ocircumflex ] };
|
||||
key <AC07> { [ j, J, ucircumflex, Ucircumflex ] };
|
||||
key <AC08> { [ k, K, oe, OE ] };
|
||||
key <AC09> { [ l, L, ae, AE ] };
|
||||
key <AC10> { [ semicolon, colon, degree, dead_abovering ] };
|
||||
key <AC11> { [ apostrophe, quotedbl, dead_acute, dead_diaeresis ] };
|
||||
// Alphanumeric section
|
||||
key <TLDE> { [ grave, asciitilde, dead_grave, dead_tilde ] };
|
||||
key <AE01> { [ 1, exclam, onesuperior, exclamdown ] };
|
||||
key <AE02> { [ 2, at, twosuperior, dead_doubleacute ] };
|
||||
key <AE03> { [ 3, numbersign, threesuperior, dead_macron ] };
|
||||
key <AE04> { [ 4, dollar, sterling, currency ] };
|
||||
key <AE05> { [ 5, percent, EuroSign, cent ] };
|
||||
key <AE06> { [ 6, asciicircum, yen, dead_circumflex ] };
|
||||
key <AE07> { [ 7, ampersand, onehalf, onequarter ] };
|
||||
key <AE08> { [ 8, asterisk, threequarters, dead_ogonek ] };
|
||||
key <AE09> { [ 9, parenleft, leftsinglequotemark, dead_breve ] };
|
||||
key <AE10> { [ 0, parenright, rightsinglequotemark, division ] };
|
||||
key <AE11> { [ minus, underscore, 0x10022C5, multiply ] };
|
||||
key <AE12> { [ equal, plus, notequal, plusminus ] };
|
||||
|
||||
key <AB01> { [ z, Z, adiaeresis, Adiaeresis ] };
|
||||
key <AB02> { [ x, X, ediaeresis, Ediaeresis ] };
|
||||
key <AB03> { [ c, C, idiaeresis, Idiaeresis ] };
|
||||
key <AB04> { [ v, V, odiaeresis, Odiaeresis ] };
|
||||
key <AB05> { [ b, B, udiaeresis, Udiaeresis ] };
|
||||
key <AB06> { [ n, N, ntilde, Ntilde ] };
|
||||
key <AB07> { [ m, M, mu, mu ] };
|
||||
key <AB08> { [ comma, less, ccedilla, Ccedilla ] };
|
||||
key <AB09> { [ period, greater, 0x1002026, 0x1002026 ] };
|
||||
key <AB10> { [ slash, question, paragraph, questiondown ] };
|
||||
key <BKSL> { [ backslash, bar, notsign, brokenbar ] };
|
||||
key <AD01> { [ q, Q, agrave, Agrave ] };
|
||||
key <AD02> { [ w, W, egrave, Egrave ] };
|
||||
key <AD03> { [ e, E, eacute, Eacute ] };
|
||||
key <AD04> { [ r, R, registered, registered ] };
|
||||
key <AD05> { [ t, T, copyright, trademark ] };
|
||||
key <AD06> { [ y, Y, ugrave, Ugrave ] };
|
||||
key <AD07> { [ u, U, uacute, Uacute ] };
|
||||
key <AD08> { [ i, I, iacute, Iacute ] };
|
||||
key <AD09> { [ o, O, oacute, Oacute ] };
|
||||
key <AD10> { [ p, P, aring, Aring ] };
|
||||
key <AD11> { [ bracketleft, braceleft, guillemotleft, leftdoublequotemark ] };
|
||||
key <AD12> { [ bracketright, braceright, guillemotright, rightdoublequotemark ] };
|
||||
|
||||
key <SPCE> { [ spce, space, space, nobreakspace ] };
|
||||
key <LSGT> { [ less, greater, lessthanequal, greaterthanequal ] };
|
||||
key <AC01> { [ a, A, aacute, Aacute ] };
|
||||
key <AC02> { [ s, S, ssharp, section ] };
|
||||
key <AC03> { [ d, D, acircumflex, Acircumflex ] };
|
||||
key <AC04> { [ f, F, ecircumflex, Ecircumflex ] };
|
||||
key <AC05> { [ g, G, icircumflex, Icircumflex ] };
|
||||
key <AC06> { [ h, H, ocircumflex, Ocircumflex ] };
|
||||
key <AC07> { [ j, J, ucircumflex, Ucircumflex ] };
|
||||
key <AC08> { [ k, K, oe, OE ] };
|
||||
key <AC09> { [ l, L, ae, AE ] };
|
||||
key <AC10> { [ semicolon, colon, degree, dead_abovering ] };
|
||||
key <AC11> { [ apostrophe, quotedbl, dead_acute, dead_diaeresis ] };
|
||||
|
||||
key <CAPS> { [ Control_L ] };
|
||||
key <LCTL> { [ Caps_Lock ] };
|
||||
key <AB01> { [ z, Z, adiaeresis, Adiaeresis ] };
|
||||
key <AB02> { [ x, X, ediaeresis, Ediaeresis ] };
|
||||
key <AB03> { [ c, C, idiaeresis, Idiaeresis ] };
|
||||
key <AB04> { [ v, V, odiaeresis, Odiaeresis ] };
|
||||
key <AB05> { [ b, B, udiaeresis, Udiaeresis ] };
|
||||
key <AB06> { [ n, N, ntilde, Ntilde ] };
|
||||
key <AB07> { [ m, M, mu, mu ] };
|
||||
key <AB08> { [ comma, less, ccedilla, Ccedilla ] };
|
||||
key <AB09> { [ period, greater, 0x1002026, 0x1002026 ] };
|
||||
key <AB10> { [ slash, question, paragraph, questiondown ] };
|
||||
key <BKSL> { [ backslash, bar, notsign, brokenbar ] };
|
||||
|
||||
include "level3(ralt_switch)"
|
||||
key <SPCE> { [ space, space, space, nobreakspace ] };
|
||||
key <LSGT> { [ less, greater, lessthanequal, greaterthanequal ] };
|
||||
|
||||
key <CAPS> { [ Control_L ] };
|
||||
key <LCTL> { [ Caps_Lock ] };
|
||||
|
||||
include "level3(ralt_switch)"
|
||||
include "inet(evdev)"
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue