2 xkb_symbols "meta_alt" {
3 key <LALT> { [ Alt_L, Meta_L ] };
4 key <RALT> { type[Group1] = "TWO_LEVEL",
5 symbols[Group1] = [ Alt_R, Meta_R ] };
6 modifier_map Mod1 { Alt_L, Alt_R, Meta_L, Meta_R };
7 // modifier_map Mod4 {};
10 // Control is mapped to the Win-keys (and the usual Ctrl keys).
12 xkb_symbols "ctrl_win" {
13 key <LWIN> { [ Control_L ] };
14 key <RWIN> { [ Control_R ] };
15 modifier_map Control { <LWIN>, <RWIN> };
18 // Ctrl is mapped to the Alt-keys, Alt is mapped to the Win-keys, Win is mapped to the Ctrl-keys.
20 xkb_symbols "ctrl_alt_win" {
21 key <LALT> { [ Control_L, Control_L ] };
22 key <RALT> { type[Group1] = "TWO_LEVEL",
23 symbols[Group1] = [ Control_R, Control_R ] };
24 key <LWIN> { [ Alt_L, Meta_L ] };
25 key <RWIN> { [ Alt_R, Meta_R ] };
26 modifier_map Control { <RALT>, <LALT> };
27 modifier_map Mod1 { <LWIN>, <RWIN> };
32 xkb_symbols "meta_win" {
33 key <LALT> { [ Alt_L, Alt_L ] };
34 key <RALT> { type[Group1] = "TWO_LEVEL",
35 symbols[Group1] = [ Alt_R, Alt_R ] };
36 key <LWIN> { [ Meta_L ] };
37 key <RWIN> { [ Meta_R ] };
38 modifier_map Mod1 { Alt_L, Alt_R };
39 modifier_map Mod4 { <META>, Meta_L, Meta_R };
43 xkb_symbols "left_meta_win" {
44 key <LALT> { [ Alt_L, Alt_L ] };
45 key <LWIN> { [ Meta_L ] };
46 modifier_map Mod1 { Alt_L };
47 modifier_map Mod4 { <META>, Meta_L };
51 xkb_symbols "hyper_win" {
52 key <LWIN> { [ Hyper_L ] };
53 key <RWIN> { [ Hyper_R ] };
54 modifier_map Mod4 { Hyper_L, Hyper_R };
57 // Use Menu for the menu key
60 key <MENU> { [ Menu ] };
63 // Layout for Tux key caps with additional right Alt key
65 xkb_symbols "alt_super_win" {
66 key <LALT> { [ Alt_L, Meta_L ] };
67 key <RWIN> { [ Alt_R, Meta_R ] };
68 key <LWIN> { [ Super_L ] };
69 key <MENU> { [ Super_R ] };
70 modifier_map Mod1 { Alt_L, Alt_R, Meta_L, Meta_R };
71 modifier_map Mod4 { Super_L, Super_R };
75 xkb_symbols "swap_lalt_lwin" {
76 key <LALT> { type[Group1] = "ONE_LEVEL",
77 symbols[Group1] = [ Super_L ] };
78 key <LWIN> { [ Alt_L, Meta_L ] };