1 default partial hidden modifier_keys
2 xkb_symbols "capslock" {
3 replace key <CAPS> { [ Caps_Lock ] };
4 modifier_map Lock { Caps_Lock };
7 partial hidden modifier_keys
8 xkb_symbols "shiftlock" {
9 replace key <CAPS> { [ Shift_Lock ] };
10 modifier_map Shift { Shift_Lock };
13 partial hidden modifier_keys
14 xkb_symbols "grouplock" {
15 replace key <CAPS> { [ ISO_Next_Group, Caps_Lock ] };
18 partial hidden modifier_keys
19 xkb_symbols "swapescape" {
20 key <CAPS> { [ Escape ] };
21 key <ESC> { [ Caps_Lock ] };
24 partial hidden modifier_keys
25 xkb_symbols "groupshift" {
27 type[Group1]="PC_ALT_LEVEL2",
28 [ Mode_switch, Caps_Lock ]
32 partial hidden modifier_keys
33 xkb_symbols "escape" {
34 key <CAPS> { [ Escape ] };
37 partial hidden modifier_keys
38 xkb_symbols "backspace" {
39 key <CAPS> { [ BackSpace ] };
42 partial hidden modifier_keys
44 key <CAPS> { [ Super_L ] };
45 modifier_map Mod4 { <CAPS> };
48 partial hidden modifier_keys
50 key <CAPS> { [ Hyper_L ] };
51 modifier_map Mod4 { <CAPS> };
54 partial hidden modifier_keys
56 key <CAPS> { [ VoidSymbol ] };
59 partial hidden modifier_keys
60 xkb_symbols "numlock" {
61 key <CAPS> { [ Num_Lock ] };
64 // This changes the modifier behavior of the <CAPS> key.
65 // The keysym will be reset to Caps_Lock
66 partial hidden modifier_keys
67 xkb_symbols "ctrl_modifier" {
69 type[Group1] = "ONE_LEVEL",
70 symbols[Group1] = [ Caps_Lock ],
71 actions[Group1] = [ SetMods(modifiers=Control) ]
73 modifier_map Control { <CAPS> };