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,9 +29,15 @@
|
|||
// ┃Lock ⇬ ┃Meta ┃Alt ┃ ␣ Space ␣ ┃AltGr ⇮┃Menu ┃Ctrl ┃
|
||||
// ┗━━━━━━━┻━━━━━━━┻━━━━━━━┹───────────────────────────────────┺━━━━━━━┻━━━━━━━┻━━━━━━━┛
|
||||
|
||||
partial alphanumeric_keys
|
||||
xkb_symbols "basic" {
|
||||
xkb_keymap {
|
||||
|
||||
xkb_keycodes { include "evdev+aliases(qwerty)" };
|
||||
xkb_types { include "complete" };
|
||||
xkb_compat { include "complete" };
|
||||
|
||||
partial alphanumeric_keys xkb_symbols "usim" {
|
||||
|
||||
include "pc"
|
||||
name[Group1]= "English international with dead keys extended";
|
||||
|
||||
// Alphanumeric section
|
||||
|
@ -89,11 +92,13 @@ xkb_symbols "basic" {
|
|||
key <AB10> { [ slash, question, paragraph, questiondown ] };
|
||||
key <BKSL> { [ backslash, bar, notsign, brokenbar ] };
|
||||
|
||||
key <SPCE> { [ spce, space, space, nobreakspace ] };
|
||||
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